Troubleshooting
Problem
When YFSOrderRepriceUE is ivoked as part of createOrder, UE input does not have the correct TotalAmount and TotalCredits values
Symptom
Details:
Currently in the YFSOrderRepricingUE, the TotalAmount is not
available since this field is calculated after the UE is invoked.
The
sequence of execution is as shown below:
createOrder –
Begin
YFSOrderRepricingUE – Begin
YFSOrderRepricingUE – End
Update OrderHeader table with Total_Amount
createOrder – End.
Due to this sequence of execution, the Total
Amount attribute will be 0 in the YFSOrderRepricingUE.
This is a
technical limitation.
There is no error message thrown, but the TotalAmount and TotalCredits values available in the YFSOrderRepriceUE are not updated values.
Resolving The Problem
Solution
Solution:
YFSOrderRepriceUE will always show the earlier OrderTotal and not the updated order total since the Order total calculation happens after the UE is invoked.
ON_Success event of createOrder can be used instead
to get the correct details on OrdetTotal and TotalCredits attribute.
YFSOrderRepriceUE can be used to pass back modified TotalAmount and prices.
Historical Number
TRB2964
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21560764