Troubleshooting
Problem
When an order is created with an external promotion, the promotion ID is not seen on the Manage Charges screen on IBM Web Call Center(WCC).
Symptom
The input for createOrder contains the following details for the Awards and Promotion-
<Order EnterpriseCode="DEFAULT" CustomerFirstName="FirstName" CustomerLastName="LastName" OrderDate="2016-11-02T20:24:13.651Z" ReqDeliveryDate="2016-11-07 00:00:00.0"DraftOrderFlag="N" ValidatePromotionAward="N">
<PersonInfoBillTo MiddleName="" Title="" State="SA" AddressLine3="" ZipCode="12345" Country="US" OtherPhone="" AddressLine2="" FirstName="TEST " DayFaxNo="" Company="" AddressLine1="Address" LastName="LastName" City="City" DayPhone="2211231234" AlternateEmailID="" EMailID="" EveningFaxNo=""/>
<OrderLines>
<OrderLine ReqShipDate="2016-11-07 00:00:00.0" OrderedQty="3.0" PrimeLineNo="1" SubLineNo="1">
<Item CostCurrency="USD" ItemID="Item1" />
<LinePriceInfo ListPrice="5" UnitPrice="5" TaxableFlag="Y" IsPriceLocked="Y"/>
<LineCharges>
<LineCharge ChargePerLine="6.00" ChargeAmount="6.00" ChargeCategory="Discount" ChargeName="Discount"/>
</LineCharges>
<Promotions Reset="N">
<Promotion Action="" IsExternal="Y" PromotionApplied="" PromotionCategory="Y" PromotionId="Get 2$ off" PromotionType=""/></Promotions>
<Awards>
<Award AwardId="Get 2$ off" AwardAmount="-6.00000" ChargeCategory="Discount" ChargeName="Discount" AwardApplied="Y" AwardType="PRICING" PromotionId="Get 2$ off" >
</Award>
</Awards>
</OrderLine>
</OrderLines>
</Order>
Here is what the Manage Charges tab on WCC shows -
Cause
The promotion details is picked from the Description tab of the awards.
Resolving The Problem
Pass the Details of the promotion applied in the attribute Description for the Award passed in the order.
<Awards>
<Award AwardId="Get 2$ off" AwardAmount="-6.00000" ChargeCategory="Discount" ChargeName="Discount" AwardApplied="Y" AwardType="PRICING" PromotionId="Get 2$ off" Description="Get 2$ off">
</Award></Awards>
This will ensure that the promotion details are populated in the Manage Charges screen on WCC
Was this topic helpful?
Document Information
Modified date:
10 May 2022
UID
swg21995245