Share via


PmfInventLookupItemIdByDefaultOrder::newLookupCtrl Method [AX 2012]

Initializes a new instance of the PmfInventLookupItemIdByDefaultOrder class.

Syntax

client server public static PmfInventLookupItemIdByDefaultOrder newLookupCtrl(
    Object _lookupCtrl, 
    boolean _selectOnlyItems, 
    PmfProductType _pmfProductType, 
   [InventItemLookupDefaultTab _activeTab])

Run On

Called

Parameters

  • _lookupCtrl
    Type: Object Class
    The currently selected form control.
  • _selectOnlyItems
    Type: boolean
    A Boolean value that indicates whether the lookup will only select items from the InventTable table.
  • _pmfProductType
    Type: PmfProductType Enumeration
    A filter on the item production type that will not be shown on the lookup form.

Return Value

Type: PmfInventLookupItemIdByDefaultOrder Class
A new instance of the InventLookupItemIdCanBeProduced class.

See Also

Reference

PmfInventLookupItemIdByDefaultOrder Class