IBM Support

How to get around the issue of IsPriceLocked=Y for COM exchange orders ?

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> 



Error Message

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

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX10128

Product Synonym

[<p><b>]Severity[</b><p>];Critical

Document Information

Modified date:
16 June 2018

UID

swg21558523