PmfInventLookupItemIdByDefaultOrder::newLookupCtrl Method [AX 2012]

Initializes a new instance of the PmfInventLookupItemIdByDefaultOrder class.

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.
_activeTab
Type: InventItemLookupDefaultTab Enumeration
The default tab that will be used on the item lookup form.

Return Value

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