IBM Support

Creating a combination pricing rule with percentage discount where inclusion condition has a combination of multiple items with different quantity

Question & Answer


Question

How do you create a combination pricing rule where inclusion condition has a combination of multiple items with different quantity in IBM Sterling Order Management.

Cause

Pricing Rules are configured at Sterling Business Center, but out of the box UI does not allow to pass all possible attributes for managePricingRule API.

Answer

Example Scenario:
The requirement is, order should have following order lines:
ItemA - 1 Qty
ItemB - 2 Qty

Then, apply 10% discount on 1 quantity of ItemA and 2 quantity of ItemB.


To resolve, create/Modify pricing rule definition by calling managePricingRule API with input similar to -

<PricingRule Currency="USD" Description="Rule for PMR 23403,000,834" DistributeAdjustment="N" EndDateActive="2022-05-31T04:18:50-04:00" IgnoreRuleOnPriceLock="Y" IsCouponRule="N" IsCustomRule="N" IsItemAttributeValueRule="N" IsItemRule="Y" ItemOperatorCode="ALL_ITEMS" OrganizationCode="DEFAULT" DiscountAllCombinationItems="Y" DistributeAdjustmentAcrossCombo="N" PricingRuleKey="20170531135001167246" PricingRuleName="Essilor_Rule3" PricingStatus="ACTIVE" RuleCategory="PRICING" RuleType="COMBINATION" StartDateActive="2017-05-01T04:18:48-04:00">


<PricingRuleTargetAttributeValueList/>
<PricingRuleTargetItemList>
<PricingRuleTargetItem PricingRuleTargetItemKey="20170531135001167255" TargetItemID="Item_A" TargetUnitOfMeasure="EACH" Quantity="1.00"/>
<PricingRuleTargetItem PricingRuleTargetItemKey="20170531135001167257" TargetItemID="Item_B" TargetUnitOfMeasure="EACH" Quantity="2.00"/>
</PricingRuleTargetItemList>
<PricingRuleItemList>
<PricingRuleItem ItemID="Item_A" PricingRuleItemKey="20170531135001167249" Quantity="1.00" UnitOfMeasure="EACH"/>
<PricingRuleItem ItemID="Item_B" PricingRuleItemKey="20170531135001167251" Quantity="2.00" UnitOfMeasure="EACH"/>
</PricingRuleItemList>
<PricingRuleActionList>
<PricingRuleAction Adjustment="-10.00" AdjustmentType="PERCENT" ChargeCategory="Discount" PricingRuleActionKey="20170531135001167253" WhenToApply="EACH_COMBINATION" TargetItemDeterminationRule="LOW_PRICED_ITEM"/>
</PricingRuleActionList>
</PricingRule>

[{"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":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.3;9.4;9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22011755