RetailShippingDeliveryMode::getValidDlvModeQuery Method [AX 2012]

Creates and returns a query object that contains a list of the valid delivery methods for an order based on the parameters passed.

client server public static Query getValidDlvModeQuery(
    RetailOriginId _originId, 
    ItemId _itemId, 
    InventDimId _inventDimId, 
    LogisticsAddressCountryRegionId _countryRegionId, 
    LogisticsAddressStateId _state)

Run On

Called

Parameters

_originId
Type: RetailOriginId Extended Data Type
Retail Channel RecId of the channel of origin for this sale.
_itemId
Type: ItemId Extended Data Type
Item Id of the sale line product.
_inventDimId
Type: InventDimId Extended Data Type
InventDim Id of the sale line product.
_countryRegionId
Type: LogisticsAddressCountryRegionId Extended Data Type
Country Region Id of the sale line delivery address.
_state
Type: LogisticsAddressStateId Extended Data Type
State of the sale line delivery address.

Return Value

Type: Query Class
The newly created valid delivery mode query.

Returns a Query object that can be used to retrieve valid Delivery Methods for the given sales line details.

Show: