Worker method to calculate the total freight charge for this order.
Namespace: Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
protected void CalcFreightTotal( bool createCError ) |
| Visual Basic |
|---|
Protected Sub CalcFreightTotal ( _ createCError As Boolean _ ) |
| Visual C++ |
|---|
protected: void CalcFreightTotal( bool createCError ) |
Parameters
- createCError
- Type: System..::..Boolean
True to cause a CError object to be created if there is a processing error (which may cause an exception to be thrown), otherwise false, in which errors in processing result in AutoFreightAmount being set to 0 and the error is ignored.
Remarks
If AutoCalculateFreightFlag is true,
then AutoFreightAmount is re-calculated with the existing properties,
otherwise it is set to 0.