Troubleshooting
Problem
Attempts to update style functionality does not call getFulfillmentOptionsForLines API for non draft order in IBM Call Center for Commerce.
Symptom
Steps to reproduce:
For Draft Order:
- In Sterling Business Center, create a model item (e.g. Modelitem1) with 2 variations (e.g. Varitem1, Varitem2)
- Login to RCP COM
- Create a new order. Add an item (e.g. Varitem2).
- Choose Fulfillment Method 'Pick' and choose a store.
- Click on Change Style hyper link and select another item (e.g. Varitem1).
- In Change Style pop up, click on Add to Order button.
- Enable COM logs (e.g. CTRL+F2).
- Click on Update Order button. Check logs.
Actual Result: The getFulfillmentOptionsForLines API is called.
For Non-draft Order:
- Open an order in created status.
e.g. One can complete the create order flow in scenario (A) above & use the same.
- Click on Add Lines to Order or Change Item Style task.
- Add an item (e.g. Varitem1).
- Choose Fulfillment Method 'Pick' and choose a store.
- Click on Change Style hyper link and select another item (e.g. Varitem2).
- In Change Style pop up, click on Add to Order button.
- Enable COM logs (e.g. CTRL+F2).
- Click on Update Order button. Check logs.
Actual Result: The getFulfillmentOptionsForLines API is not called.
Cause
This is working as designed.
Diagnosing The Problem
In Draft Order flow even after Update Order call, you are allowed to modify the Fulfillment Method and hence product calls getFulfillmentOptionsForLines API. But in case of Non-draft order Order after Update Order call, you are not allowed to change the Fulfillment Method and hence the getFulfillmentOptionsForLines API will not be called.
For example:
After clicking on Update Order button, for:
- Draft Order: After selecting the draft order line, the Fulfillment Method options e.g. Pick Up, Shipping are enabled.
- Non-Draft Order: After selecting the newly added order line, the Fulfillment Method options e.g. Pick Up, Shipping are disabled.
Resolving The Problem
As per product design, Call Center for Commerce call APIs only when it is required considering the performance of the application.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22006035