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

addManualCondition

Synopsis

int addManualCondition(SessionId sessionId,
    BItemId[]            itemIds,
    string ppName,
    string condType,
    ItemSelectionOptions options)
throws BasketServiceFault;

See also: SessionId, BItemId, ItemSelectionOptions, BasketServiceFault

Add a manual condition to the calculation for the items identified by itemIds and the pricing procedure identified by ppName. If itemIds is the Null-ID, add a header condition. Returns the counter of the newly added condition, or -1 if condition was already added to the calculation.

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.