PurchReqAuthorizationOperatingUnit::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 to resolve.
- _type
Type: OMOperatingUnitType Enumeration
An OMOperatingUnitType value that indicates what type discriminator to use to filter the OMOperatingUnit table.
Return Value
Type: OMOperatingUnit Table
An OMOperatingUnit record that the user selected.
Remarks
This resolve helper method also assists in resolving duplicate names when surrogate key replacement cannot do so automatically.