Copying and Deleting Child and Grandchild Records
The Deep Copy and Deep Delete user properties copy or delete a record. For example, a deep copy user property can copy the detail records that a child business component contains from the original record to a new record that the parent business component contains. If Siebel CRM uses one of these user properties, then it examines sources according to the following order to determine the parent and child link that it must use:
The parent and child reside in the same business component. The Recursive Link user property that resides in the business component must define the relationship. Siebel CRM uses this link to identify child records. For more information, see Specifying Recursive Links Between Parent and Child Business Components.
The Deep Copy/Delete Link user property is set on the parent business component. Siebel CRM uses the link that the Deep Copy/Delete Link user property specifies. For more information, see Specifying the Link for Deep Copy and Delete.
The parent and child business components are of the same Siebel object, and the parent is the primary business component in the business object. Siebel CRM determines whether a link from the parent to the child exists. If it exists, then Siebel Tools displays it in the Link property in the Business Object Component list.
These steps do not provide a link between the parent component and the child business component. Siebel CRM determines whether a link named parent business component/child business component exists. For example, Opportunity/Revenue. If this link exists, then Siebel CRM uses it.
Each business component that Siebel CRM modifies during a deep copy uses the configuration that resides on each of these business components. The parent business component includes deep copy properties for each child, and each child business component includes deep copy properties for each grandchild. This configuration is the same for deep delete.
Siebel CRM supports deep copy only for a business component that references the CSSBCBase class and that gets data from this class. The CSSBusComp class resides in the parent of the CSSBCBase class. Siebel CRM does not support deep copy for the CSSBusComp class. You can write a script or a workflow process that uses deep copy with the CSSBusComp class.
You must not use Deep Copy or Deep Copy/Delete Link with the Quote business components or the Order Entry – Orders business component. The copy functionality for these business components uses the Data Transfer Utilities business service. For more information, see Siebel Order Management Infrastructure Guide.