web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Inventory item distribution accounts

(0) ShareShare
ReportReport
Posted on by

What sql table stores the gl distribution accounts for an item.     Cards>Inventory>Item>Item Accounts ...   The window name is "Item Account Maintenance"

Thanks

*This post is locked for comments

I have the same question (0)
  • Dan Liebl Profile Picture
    7,320 on at

    The Item master or IV00101.   That stores the account index which is from the GL00105 table.   The account number is stored in the GL00100.

    Dan Liebl, CMA CPIM | Senior Consultant | OTT,Inc | DLiebl@OTT-inc.com

  • cheerutah Profile Picture
    5 on at

    this should help

    
    select  
    
    [Item Number] = ITEMNMBR,
    [Inventory On Hand] =             (select ACTNUMST from GL00105 where IVIVINDX = ACTINDX),
    [Inventory On Hand] =             (select ACTDESCR from GL00100 where IVIVINDX = ACTINDX),
    [Inventory Offset] =              (select ACTNUMST from GL00105 where IVIVOFIX = ACTINDX),
    [Inventory Offset] =              (select ACTDESCR from GL00100 where IVIVOFIX = ACTINDX),
    [Cost of Goods Sold] =            (select ACTNUMST from GL00105 where IVCOGSIX = ACTINDX),
    [Cost of Goods Sold] =            (select ACTDESCR from GL00100 where IVCOGSIX = ACTINDX),
    [Sales] =                         (select ACTNUMST from GL00105 where IVSLSIDX = ACTINDX),
    [Sales] =                         (select ACTDESCR from GL00100 where IVSLSIDX = ACTINDX),
    [Markdowns] =                     (select ACTNUMST from GL00105 where IVSLDSIX = ACTINDX),
    [Markdowns] =                     (select ACTDESCR from GL00100 where IVSLDSIX = ACTINDX),
    [Sales Returns] =                 (select ACTNUMST from GL00105 where IVSLRNIX = ACTINDX),
    [Sales Returns] =                 (select ACTDESCR from GL00100 where IVSLRNIX = ACTINDX),
    [In Use] =                        (select ACTNUMST from GL00105 where IVINUSIX = ACTINDX),
    [In Use] =                        (select ACTDESCR from GL00100 where IVINUSIX = ACTINDX),
    [In Service] =                    (select ACTNUMST from GL00105 where IVINSVIX = ACTINDX),
    [In Service] =                    (select ACTDESCR from GL00100 where IVINSVIX = ACTINDX),
    [Damaged] =                       (select ACTNUMST from GL00105 where IVDMGIDX = ACTINDX),
    [Damaged] =                       (select ACTDESCR from GL00100 where IVDMGIDX = ACTINDX),
    [Variance] =                      (select ACTNUMST from GL00105 where IVVARIDX = ACTINDX),
    [Variance] =                      (select ACTDESCR from GL00100 where IVVARIDX = ACTINDX),
    [Drop Ship Items] =               (select ACTNUMST from GL00105 where DPSHPIDX = ACTINDX),
    [Drop Ship Items] =               (select ACTDESCR from GL00100 where DPSHPIDX = ACTINDX),
    [Purchase Price Variance] =       (select ACTNUMST from GL00105 where PURPVIDX = ACTINDX),
    [Purchase Price Variance] =       (select ACTDESCR from GL00100 where PURPVIDX = ACTINDX),
    [Unrealized Purchase Price Var] = (select ACTNUMST from GL00105 where UPPVIDX  = ACTINDX),
    [Unrealized Purchase Price Var] = (select ACTDESCR from GL00100 where UPPVIDX  = ACTINDX),
    [Inventory Returns] =             (select ACTNUMST from GL00105 where IVRETIDX = ACTINDX),
    [Inventory Returns] =             (select ACTDESCR from GL00100 where IVRETIDX = ACTINDX),
    [Assembly Variance] =             (select ACTNUMST from GL00105 where ASMVRIDX = ACTINDX),
    [Assembly Variance] =             (select ACTDESCR from GL00100 where ASMVRIDX = ACTINDX)
    
     from IV00101
    
     --select * from GL00105 
     --select * from GL00100
    
    

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans