Share via


InventSupply::newFromForm Method [AX 2012]

Initializes a new instance of the InventSupply class.

Syntax

server public static InventSupply newFromForm(
    InventTable _inventTable, 
    InventQty _qty, 
    LogisticsPostalAddressMap _custAddressMap, 
    InventDim _inventDimReq, 
    InventSupplyDlvModeSelectSupply _dlvModeSelectSupp, 
    InventSupplyDlvModeSelectCust _dlvModeSelectCust, 
    boolean _onlyTransportRel, 
    DlvModeId _dlvModeReq, 
    CalendarId _custCalendarId)

Run On

Server

Parameters

  • _inventTable
    Type: InventTable Table
    The InventTable record that is used for the parmInventTable method.
  • _inventDimReq
    Type: InventDim Table
    The requirements for item dimensions (to be used for filtering) and the warehouse.
  • _dlvModeSelectSupp
    Type: InventSupplyDlvModeSelectSupply Enumeration
    An InventSupplyDlvModeSelectSupply enumeration value for selecting how the mode of delivery from supply to requirement warehouse should be displayed.
  • _dlvModeSelectCust
    Type: InventSupplyDlvModeSelectCust Enumeration
    An InventSupplyDlvModeSelectCust enumeration value for selecting how Mode of delivery from requirement warehouse to customer should be displayed.
  • _onlyTransportRel
    Type: boolean
    A Boolean value that specifies whether lines should only be shown in the form if they have a transport relation from the supply warehouse to the requirement warehouse.

Return Value

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

See Also

Reference

InventSupply Class