Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Inventory item distribution accounts

Posted on by Microsoft Employee

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

  • cheerutah Profile Picture
    cheerutah 5 on at
    RE: Inventory item distribution accounts

    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
    
    

  • Dan Liebl Profile Picture
    Dan Liebl 7,320 on at
    Re: Inventory item distribution accounts

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans