| MasterDataMgmtCopyDataToMasterDataObject Method |
Note: This API is now obsolete.
IMPORTANT: DEPRECATED IN 6.0. USE
CopyDataToMasterDataObject_TRANSPORT.
Method is used to copy data to a (master) data object from the action data object.
The master data object is referred through a reference property on the action data object.
Codemethod usage | |
---|
Designed to be used in a process only (Yes/No) | No |
Action Object (data object type) | Any data object type on which MDM is defined |
Namespace:
Omada.OE.UtilityCodeAssembly
Assembly:
Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax[ObsoleteAttribute("IMPORTANT: DEPRECATED IN 6.0. USE CopyDataToMasterDataObject_TRANSPORT version!")]
public bool CopyDataToMasterDataObject(
CodeMethodInvokeContext context,
int masterRefPropertyId,
int copyRuleId
)
Parameters
- context
- Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
- masterRefPropertyId
- Type: SystemInt32
Id of a reference property (present on the action object) that holds a reference to the master data object.
- copyRuleId
- Type: SystemInt32
Id of a copy rule that copies to the master data object type from the action data object type.
Return Value
Type:
Booleantrue if OK
See Also