Click or drag to resize

MainDerriveConcatenatedCategory Method

Calculates and assigns a new value for a set property. The new value is calculated on the basis of the chosen values in 2 other set properties. The action object must contain all 3 set properties.

For example,

setPropertyValue1Id specifies the value "02. Medium"

setPropertyValue2Id specifies the value "04. Critical"

keyLength is 2

The method tries to find a value for the derrivedSetPropertyId property that begins with "0204".

Codemethod usageDescription
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 DerriveConcatenatedCategory(
	CodeMethodInvokeContext context,
	string setPropertyValue1UIdStr,
	string setPropertyValue2UIdStr,
	string derrivedSetPropertySysName,
	int keyLength
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
setPropertyValue1UIdStr
Type: SystemString
setPropertyValue2UIdStr
Type: SystemString
derrivedSetPropertySysName
Type: SystemString
keyLength
Type: SystemInt32

Return Value

Type: Boolean
See Also