Click or drag to resize

MasterDataMgmtCopyDataFromMasterDataObject Method

Note: This API is now obsolete.

IMPORTANT: DEPRECATED IN 6.0. USE CopyDataFromMasterDataObject_TRANSPORT. Method is used to copy data from a (master) data object to 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
C#
[ObsoleteAttribute("IMPORTANT: DEPRECATED IN 6.0. USE CopyDataFromMasterDataObject_TRANSPORT version!")]
public bool CopyDataFromMasterDataObject(
	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 from the master data object type to the action data object type.

Return Value

Type: Boolean
true if OK
See Also