Click or drag to resize

MainCopyPropertyValueFromReferredObject Method

Example: An incident object has a reference to a CI object. A CI category is specified for the CI object. The method can copy this CI category to the incident object.
Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type):Action Object

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool CopyPropertyValueFromReferredObject(
	CodeMethodInvokeContext context,
	string referencePropertySysName,
	string propertySysName
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
referencePropertySysName
Type: SystemString
ID for the reference property on the action object.
propertySysName
Type: SystemString
ID for the property found on the data object specified in the reference property. The same property must be on the action object. The value for the property is copied to the action object. All three property types are supported.

Return Value

Type: Boolean
See Also