Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

resetCalculationRule

Synopsis

void resetCalculationRule(SessionId sessionId,
    BItemId[] itemIds,
    string ppName,
    string condType,
    int counter,
    CondGroupSelectionOptions? options)
throws BasketServiceFault;

See also: SessionId, BItemId, CondGroupSelectionOptions, BasketServiceFault

Resets an explicitly specified calculation rule of item or header conditions. Calculation and condition selection work as for resetConditionAmount and setCalculationRule.

Conditions without an explicitly specified calculation rule are ignored. For other conditions, the explicit rule, condition amount and, where applicable, quantity relation are reset together. The condition then uses the values supplied by a condition record. If there is no condition record, the condition becomes inactive because its data is missing.