SalesTable::updateDlvModeFromCarrierService Method
Updates delivery mode on sales order and optionally on related sales lines.
Syntax
server public static void updateDlvModeFromCarrierService(
SalesId _salesId,
TMSCarrierCode _carrierCode,
TMSCarrierServiceCode _carrierServiceCode,
[boolean _updateLines])
Run On
Server
Parameters
- _salesId
Type: SalesId Extended Data Type
The sales order ID.
- _carrierCode
Type: TMSCarrierCode Extended Data Type
The carrier code.
- _carrierServiceCode
Type: TMSCarrierServiceCode Extended Data Type
The carrier service code.
- _updateLines
Type: boolean
true if sales lines should be updated; otherwise false; optional.
Remarks
The delivery mode is assigned based on carrier code and carrier service.