TMSFreightBillDetail::createInvoiceFromRouteFreightBill Method
Create an invoice from a routes freight bill details
Syntax
server public static TMSInternalInvNumber createInvoiceFromRouteFreightBill(TMSRouteCode _routeCode)
Run On
Server
Parameters
- _routeCode
Type: TMSRouteCode Extended Data Type
The associated route code.
Return Value
Type: TMSInternalInvNumber Extended Data Type
The unique invoice id for the created invoice.
Exceptions
Exception | Condition |
---|---|
Error | Throw error if an invoice has already been created for this route. |