Compartilhar via


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.

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.

See Also

Reference

OMOperatingUnit Table