Creates a clone of the business object.
Syntax
IBusinessObject Iduplicate();
Parameters
None.
Return Values
An an IBusinessObject object that contains the duplicate business object.
Exceptions
Notes
The Iduplicate() method makes a clone of the business object and returns it. You must explicitly assign the return value of this method call to a declared variable of IBusinessObject type.
Example
The following example duplicates sourceCustomer to create destCustomer.
IBusinessObject destCustomer = sourceCustomer.Iduplicate();