MainCreateDataObjectFromTemplateEx Method |
Method creates a new data object of the specified type.
The properties of the specified template object will be copied from the data object with id templateObjectId,
based on the settings of the specified copy rule. If the templateDataObjectId = 0, the template data object will
be the target object.
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) | DataObjectType |
Namespace: Omada.OE.UtilityCodeAssembly
public bool CreateDataObjectFromTemplateEx( CodeMethodInvokeContext context, string newDataObjectTypeUIdStr, string templateDataObjectUIdStr, string copyRuleUIdStr, out int createdDataObjectId )