RetailShippingDeliveryMode::validateDeliveryOptions Method [AX 2012]
Validate that the current Sales Line delivery mode belongs to the set of valid delivery mode options.
Syntax
client server public static boolean validateDeliveryOptions(SalesLine _salesLine, [boolean _showWarning])
Run On
Called
Parameters
- _salesLine
Type: SalesLine Table
Sales line instance to validate
- _showWarning
Type: boolean
Whether or not to show infolog warning when delivery options are not valid.
Return Value
Type: boolean
true if the Sales Line delivery mode is valid, false otherwise.