MainCreateDataObjectFromTemplate Method |
Method creates a new data object of the specified type.
The properties of the specified template object will be copied from the action object to the new data object,
based on the settings of the specified copy rule.
The method is used in master data management scenarios: when a "new object" process is completed,
a new master object needs to be created based on the values of the "change request" object that
was used in the process.
The update events triggered on the new data object type are executed on the created data object.
Codemethod usage | |
---|---|
Designed to be used in a process only (Yes/No) | No |
Action Object (data object type) |
Namespace: Omada.OE.UtilityCodeAssembly
public bool CreateDataObjectFromTemplate( CodeMethodInvokeContext context, string newDataObjectTypeUIdStr, string copyRuleUIdStr )