问题
How to modify X++ AX so it will correctly pick the right packing (if I know the PackingslipId)?
For example, I'm doing 3 times packing for an item with different quantity like this: 1. Qty=50 2. Qty=20 3. Qty=30
Then I want to reverse Packing #2 (Qty 20), currently AX will deduct Packing #1 and that is wrong and not what I wanted, because I what I did is reversing packing #2 and I do not want to deduct from any other packing slip at all.
Currently there is two solution I know to reverse packingslip: 1. Use (-) Deliver Now field on SO then repacking using Deliver Now, problem is with this approach, AX will deduct the first packing which is 50-20=30, well there is no way AX will know what packingslip actually I want to deduct from (nowhere to put packingslipid to deduct from) 2. Invoice and credit note the packingslip which I want to reverse, this way AX will correctly deduct from the correct packingslip, problem is the steps is too much and need to be invoiced and credit noted??
So is there a way which user may only select a packingslipid which want to be reversed then AX will reverse that packingslip? as simple as this will help alot for user.
Thank you
回答1:
There is no standard way of doing this.
来源:https://stackoverflow.com/questions/8121140/axapta-2009-x-reverse-only-selected-packingslip