DUPLICATE Action

UDP ›› Actions ››
Parent Previous Next

DUPLICATE Action

The DUPLICATE Action duplicates an instance of the specified business object. For example,

   

DUPLICATE Account  

The action will create a copy of the instance of the object with attribute values equal to those of the original object. The action will not copy multiple references, document or picture attributes. You have to copy them separately.

   

It is possible to exclude some attributes from the copied attributes, for example:

   

DUPLICATE Account EXCEPT Attribute1,Attribute2  

   

The above action will copy all attributes except Attribute1 and Attribute2.  

   

Multiple references can be duplicated using the following syntax:

   

DUPLICATE ThisPerson.Accounts TO ThatPerson.Accounts  

   

The above action will duplicate each instance of the Account object stored in the ThisPerson.Accounts attribute and insert the duplicated instances into ThatPerson.Accounts.