Click or drag to resize

orderscalculateOrderTotals Method

recalculate totals of all items. This will return an order object with all calculations done without having to create a sales order.

Namespace:  ctDynamicsSL
Assembly:  ctDynamicsSL (in ctDynamicsSL.dll) Version: 2021.9.16.1 (2021.09.16.01)
Syntax
C#
[SoapHeaderAttribute("mySLHeader", Direction = SoapHeaderDirection.In)]
[WebMethodAttribute(MessageName = "calculateOrderTotals", Description = "recalculate totals of all items. This will return an order object with all calculations done without having to create a sales order.")]
[ScriptMethodAttribute(UseHttpGet = false, ResponseFormat = ResponseFormat.Json)]
public order calculateOrderTotals(
	order inOrder,
	bool updateBasket = false
)

Parameters

inOrder
Type: ctDynamicsSLorder
updateBasket (Optional)
Type: SystemBoolean

Return Value

Type: order
See Also