Troubleshooting
Problem
How to get around the issue of IsPriceLocked=Y for COM exchange orders ?
Symptom
During return creation from COM the following may be user activity:
They may provide return reason as synchronously which will create a return order & exchange order.
Now the command which gets called on such a action is
!Thread: Worker-8 : 2010-10-07 12:50:11.192 : The Input xml for the command: createOrderForExchange, API:createOrder is :
<Order ApplyDefaultTemplate="Y" AuthorizedClient="Call Center"
BillToID="100000000" BillToKey="2010080514505395821"
BuyerOrganizationCode="" CustomerContactID="1"
DisplayLocalizedFieldInLocale="en_US_EST" DocumentType="0001"
DraftOrderFlag="Y" EnterpriseCode="XYZ-CORP" EntryType="Call Center"
ExchangeType="REGULAR" IgnoreOrdering="Y" OrderPurpose="EXCHANGE"
ReturnOrderHeaderKeyForExchange="20101007125010185719"
SellerOrganizationCode="XYZ-CORP" ShipToKey="2010080514505395821">
<PriceInfo Currency="USD"/>
<OrderLines>
<OrderLine DeliveryMethod="PICK" OrderedQty="1.0"
ShipToKey="2010080514505395821" ValidateItem="N">
<Item ItemID="xyz" ItemShortDesc="xyz" ProductClass="Good" UnitOfMeasure="EACH"/>
<LinePriceInfo IsPriceLocked="Y" UnitPrice="300.00"/>
</OrderLine>
</OrderLines>
</Order>
None
Resolving The Problem
Here with the above user action the same item is copied from return order to exchange order alone with it pricing details there fore not making a call to price list. Hence price is locked
Customziation:User can change the command input and check if the item’s price has increased or make a subsequent changeOrder call to make the flag as N.
Or
Instead user can also check this flag Exchange Order Required which will take you to exchange entry screen and user can select the item to be exchanged.
The system behavior is usual and IsPriceLocked=N is set by system
Historical Number
NFX10128
Product Synonym
[<p><b>]Severity[</b><p>];Critical
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21558523