InventLookupItemIdByDefaultOrder::newLookupCtrl Method [AX 2012]

Initializes a new instance of the InventLookupItemIdByDefaultOrder class.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static InventLookupItemIdByDefaultOrder newLookupCtrl(
            Object _lookupCtrl, 
            boolean _selectOnlyItems, 
           [InventItemLookupDefaultTab _activeTab, 
            Set _allowedPmfProductTypes])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static InventLookupItemIdByDefaultOrder newLookupCtrl(
            Object _lookupCtrl, 
            boolean _selectOnlyItems, 
           [InventItemLookupDefaultTab _activeTab, 
            Set _allowedPmfProductTypes])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static InventLookupItemIdByDefaultOrder newLookupCtrl(
            Object _lookupCtrl, 
            boolean _selectOnlyItems, 
           [InventItemLookupDefaultTab _activeTab])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static InventLookupItemIdByDefaultOrder newLookupCtrl(
            Object _lookupCtrl, 
            boolean _selectOnlyItems, 
           [InventItemLookupDefaultTab _activeTab])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static InventLookupItemIdByDefaultOrder newLookupCtrl(
            Object _lookupCtrl, 
            boolean _selectOnlyItems, 
           [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 of type item from the InventTable table.

Return Value

Type: InventLookupItemIdByDefaultOrder Class
A new instance of the InventLookupItemIdByDefaultOrder class.

See Also

Reference

InventLookupItemIdByDefaultOrder Class