Gets the total freight charges for this order.
Namespace: Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public decimal TotalFreightAmount { get; } |
| Visual Basic |
|---|
Public ReadOnly Property TotalFreightAmount As Decimal Get |
| Visual C++ |
|---|
public: property Decimal TotalFreightAmount { Decimal get (); } |
Field Value
A monetary value indicating how much was charged for freight on this order.
Remarks
TotalFreight may be automatically calculated or set manually. The default, and how it is done are
based on two system settings:AutoCalculateFreightFlag indicates whether or not freight should automatically be calculated on the order.AutoFreightType tells how the calculation is made.
The order also has a flag for AutoCalculateFreightFlag. This can only be set to true if the system
setting is set to true. But it can be manually set to false in either case.
In order to manually set TotalFreight you must first set AutoCalculateFreightFlag to false, otherwise
your value will be wiped out by the automatic calculation at some point.