on 01-12-2016 9:45 AM
Hello All,
I want to create an Query to generate PO Items in which we have cancelled the qty or changed the qty.
DocNo., Item, Qty , CancelledQty or Changed Qty.
Please help to create this query.
Thanks & regards,
Hitul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
to be honest, this is not a simple query, basically you will have to look up all history table and find those POs and self join them with each loginstance (history copy) and find out if the quantity are changed.
Considering some POs might be changed many times, such as 10 times, in order to find out if the quantity has been changed in one of them, it will be painful.
Anyway, you might use store procedure to implement, the logic there might be too hard to use a query, but no matter what, it will be a very complicated one.
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Hitul,
Did you create any UDF for cancel or change QTY ?? Because SBO dont have such facility or you can check if it record in history table.
- Rafaee M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.