OMOperatingUnit::operatingUnitLookup Method
Provides a custom lookup of the OMOperatingUnit records that are of the specified OMOperatingUnitType type.
Syntax
client server public static OMOperatingUnit operatingUnitLookup(
FormReferenceControl _formReferenceControl,
OMOperatingUnitType _type,
[DirPartyName _name])
Run On
Called
Parameters
- _formReferenceControl
Type: FormReferenceControl Class
The FormReferenceControl value for which the lookup being created by this method is servicing.
- _type
Type: OMOperatingUnitType Enumeration
An OMOperatingUnitType value that indicates what type discriminator to use by which the OMOperatingUnit table is filtered.
- _name
Type: DirPartyName Extended Data Type
A string that specifies a user-entered name that is ambiguous and must be resolved by the lookup; optional.
Return Value
Type: OMOperatingUnit Table
An OMOperatingUnit record that was selected by the user.
Remarks
This lookup helper method also assists in resolving duplicate names when surrogate key replacement cannot do so automatically.