SalesDeliveryDateControlMap.checkDeliveryDateControlType Method [AX 2012]

Checks the delivery date control type for the SalesDeliveryDateControlMap map.

public boolean checkDeliveryDateControlType(ItemId _itemId, boolean _stockedProduct)

Run On

Called

Parameters

_itemId
Type: ItemId Extended Data Type
The item ID to check. This can be empty for non-item based lines.
_stockedProduct
Type: boolean
A Boolean value that determines whether the line to check is stocked.

Return Value

Type: boolean
true if the delivery date control value is valid; otherwise, false.

Service items and not stocked lines cannot have a delivery date control value of ATP and CTP.

Community Additions

ADD
Show: