IBM Support

Usage of Reset flag in managePricingRule

Question & Answer


Question

How does the Reset flag affect the behavior of managePricingRule API in IBM Sterling Order Management?

Cause

Inconsistent behavior of Reset flag while creating/modifying pricing rules

Answer

The behavior of Reset flag is consistent and it actually works in below fashion –

If Reset is passed as Y in <PricingRuleTargetItemList> in managePricingRule API to modify the pricing rule, the existing item ids (quantity tiers) will be removed and replaced with the new ones, But, only as long as the item Id in the input does not already exist in the table YPM_PRICING_RULE_ITEM.
If any such item Id (passed within input) already exists in the table, only its timestamp gets updated.

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Documentation","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.4;9.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Sterling Order Management;Sterling OMS;SSFS;Sterling Selling and Fulfillment Suite

Document Information

Modified date:
16 June 2018

UID

swg22001095