Both tables 120 and 122 have a field "Order No." which contains the orriginal Purchase Order No.
This will not work if you combine receipts on an invoice. Then you need to add a field to the 39 and 123 table and fill this with the value of the puchase receipt when getting this (Code 20).
If you give the same number in both tables the posting fuction is updated automaticaly.
Comments
This will not work if you combine receipts on an invoice. Then you need to add a field to the 39 and 123 table and fill this with the value of the puchase receipt when getting this (Code 20).
If you give the same number in both tables the posting fuction is updated automaticaly.