Share via


WHSLoadTable::evaluateLoadPaysFreight Method

Evaluates the freights for order in regards with delivery terms.

Syntax

server public static container evaluateLoadPaysFreight(WHSLoadId _loadId)

Run On

Server

Parameters

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.

See Also

Reference

WHSLoadTable Table