resetConditionAmount
Synopsis
void resetConditionAmount(SessionId sessionId,
BItemId[] itemIds,
string ppName,
string condType,
int counter,
CondGroupSelectionOptions options)
throws BasketServiceFault;
See also: SessionId, BItemId, CondGroupSelectionOptions, BasketServiceFault
Resets the condition amount to the initial value (before edited by setConditionAmount).
To reset the condition amount of a header condition, itemIds must be the Null-ID. The set of selected items is determined based on the specified set of item IDs and the item selection options. If the resulting set contains exactly one article item, the operations operate on the corresponding item calculation. Otherwise they operate on a (temporary) group calculation that aggregates the individual item calculations.
The ppName argument may be an empty string if only one pricing procedure has been added to the basket. counter may be -1 if the calculation contains only one condition of the given type.
The operation fails if called for a folder.