on 07-16-2016 5:08 AM
Hi,
On cancelling order through CS cockpit for a customer. I observed that we get 2 orders with same order number in backoffice or in hmc. One has order quantity as 0 and one has original order quantity that customer has placed.
What is the purpose of this? Or what can I do so that I get only one order records in hmc/hybris. We are using hybris OOB CS cockpit with OMS for order cancellation
Thanks, Abhinav
whenever an order is cancelled, a snapshot of order is created to maintain the order history. You can filter the order with the original order quantity by using search restriction something like this: INSERT_UPDATE SearchRestriction;code[unique=true];principal(uid)[unique=true];query;restrictedType(code)[unique=true];active;generate ;backendOrderVisibility;YOUR_BACKOFFICE_USER_GROUP;{versionID} IS NULL;Order;true;true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhinav,
When you are querying you need to add {versionid} is null. only those records are valid. Please find the below link. It will tell you why hybris is creating non versioned orders.
Thank you.
Samudrala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.