OMOperatingUnit::operatingUnitResolve Method
Provides custom resolve reference logic for foreign keys to the OMOperatingUnit table by filtering to a specified OMOperatingUnitType type.
Syntax
client server public static OMOperatingUnit operatingUnitResolve(FormReferenceControl _formReferenceControl, OMOperatingUnitType _type)
Run On
Called
Parameters
- _formReferenceControl
Type: FormReferenceControl Class
The FormReferenceControl value for which the user typed in a value to resolve.
- _type
Type: OMOperatingUnitType Enumeration
An OMOperatingUnitType value that indicates what type discriminator to use by which the OMOperatingUnit table is filtered.
Return Value
Type: OMOperatingUnit Table
An OMOperatingUnit record that was selected by the user.
Remarks
This resolve helper method also assists in resolving duplicate names when surrogate key replacement cannot do so automatically.