Edit Courier Service Definition

Shown below is the Edit Courier Service Definition screen:


This screen is used to enter the 'program logic' that will be used to compute the cost associated with a particular service type.

Important: This contents of this function MUST set the value of 'ShippingCost' to the computed amount (as shown in the screen image above).

Service cost can be calculated using any of the following available variable values which relate to an order:

TotalOrderAmount = Total Order Amount - amount of underlying order
NumLineItems = Number of line items on order
ItemStockNum{xx} = Line Item Array - Stock number for each item on order
ItemQuantity{xx} = Line Item Array - Item Quantity Ordered for each item on order
NumItems = Number of Items - Total combined number of items on order

The function to compute ShippingCost can contain any of the following programming constructs:

Dim

If (Expression) Then
ElseIf (Expression) Then
Else
End If

For LoopVar = 1 to X
Next

While (Expression)
WEnd

Var = Expression


You may contact Conquest support if you would like some assistance with this feature.



   Index     Home