SalesDeliveryDateControlMap.checkDeliveryDateControlType Method
Checks the delivery date control type for the SalesDeliveryDateControlMap map.
Syntax
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.
Remarks
Service items and not stocked lines cannot have a delivery date control value of ATP and CTP.