Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Linking POP30310 (Receipt Line History) and the GL Account number (POP30390?)

MBresnan (TechnicalUser) (OP)
13 Nov 12 15:53
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?
VictoriaYudin (IS/IT--Management)
14 Nov 12 9:24
If you found situations where you were able to link on the SEQNUMBR, I believe those are purely coincidental - there is no link possible like this because GP does not store the GL distributions individually for each receipt line. For example, if you have the following 5 lines on a receipt:

ITEM A - GL account 123 - $100
ITEM B - GL account 123 - $200
ITEM C - GL account 234 - $150
ITEM D - GL account 234 - $250
ITEM E - GL account 234 - $350

You will have the following distributions for the receipt:

Account 123 - debit $300
Account 234 - debit $750
Account 345 - credit $1050 (this would be something like accrued purchases, or payables, depending on the receipt type)

You would need to test this, but you might be able to simply use the INVINDX in the POP30310 table - that will give you the account that will be debited for each line. Now sometimes, when those are wrong, users will manually need to add additional lines to the distributions to correct this, not sure if that happens in your environment.

Victoria Yudin
Dynamics GP MVP 2005 - 2012
Use Crystal Reports and SSRS with GP:
http://www.GPReportsViewer.com/gpreports.html
blog: http://victoriayudin.com

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close