Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Evaluates the freights for order in regards with delivery terms.
Syntax
server public static container evaluateLoadPaysFreight(WHSLoadId _loadId)
Run On
Server
Parameters
- _loadId
Type: WHSLoadId Extended Data Type
Load Id for the load to be evaluated.
Return Value
Type: container
Container that consists of two values: 1. hasOrderInvoicedLines: true, if the load qualifies to have at least one line from a sales order which is invoiced; otherwise, false.
2. paysFreightError: true, if Pays Freight of delivery terms of the associated loads does not match.
Exceptions
Exception | Condition |
---|---|
Error | The Pays Freight field on the delivery terms on the associated orders does not match. |