I'm trying to tie together receiving data from the Receipt Line History table, and the GL account where the expense posts from Purchasing Distribution History table. essentially giving PO number, PO line/item desc, amount ordered, amount received, cost, and the GL account where what has been received posted. I tried to link tables POP30310(POP Receipt Number/receipt line number as key fields) and POP30390 (POP Receipt Number/Sequence Number as key fields). A lot of times, this works just fine, but it seems the sequence number doesn't necessarily match the receipt line number, so i guess it's coincidence when it does work. in one example i found, receipt line to sequence number relationships followed this pattern: 1:1 2:2 3:4 4:5 offset:3, so i was getting the correct data for lines 1 & 2, but bad data for everything after that.
Does anyone know the proper table to which i should be linking? or am i simply using the wrong field key fields?
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.