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

setQuantityRelation

Synopsis

void setQuantityRelation(SessionId sessionId,
    BItemId[]          itemIds,
    string ppName,
    string condType,
    int counter,
    decimal quantity,
    string unit,
    ItemSelectionOptions options)
throws BasketServiceFault;

See also: SessionId, BItemId, ItemSelectionOptions, BasketServiceFault

Sets the quantity relation for a calculation line (e.g. by piece).

It fails if the new value is either negative or zero or if called for a folder.

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.