Siebel Developer's Reference > User Properties >

Deep Copy n


Parent Object Type
Business Component
Description
Allows child business components and respective child business components to be copied automatically when selecting the Copy option. Normally, Copy option only copies one level. This feature allows multiple levels to be copied like a cascade copy.
To use Deep Copy, do the following:
  1. In the parent business component, create a user property for each child business component to be included in the deep copy. The child business component user properties are:

    Name: Deep Copy 1
    Value: [Child BusComp Name]

    Name: Deep Copy 2
    Value: [Child BusComp Name]
  2. Add a multivalue link in the parent business component for each child business component.
  3. Create a multivalue field in the parent business component from each child business component.
  4. Set the Field No Copy attribute in the multivalue link to TRUE or an SQL error occurrence: "A Duplicate Record Exists."
Each business component in the Deep Copy chain takes care of its own children. So the parent business component will have Deep Copy properties for each of its direct children, and each child business component will have Deep Copy properties for each of the relevant grandchildren.
There is an analogous Deep Delete user property to do a deep cascade delete. Typically, use Deep Copy and Deep Delete together.
Functional Area
CSSBCBase

 Siebel Developer's Reference 
 Published: 23 October 2003