Share via


PurchReqAuthorizationOperatingUnit::operatingUnitLookup Method

Provides a custom lookup for 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 for which the lookup that is being created by this method is servicing.
  • _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 lookup helper method also assists in resolving duplicate names when surrogate key replacement cannot do so automatically.

See Also

Reference

PurchReqAuthorizationOperatingUnit Table