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

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

PM40103 table is empty in Dynamics GP 2015 R2

(0) ShareShare
ReportReport
Posted on by

I was wondering if anyone else has seen this before.  While writing a SmartList Builder report to return AP distribution information, I added in table PM40103 and quickly found that for a client this table was empty.  We are not sure how or why this table is empty, and in searching for possible articles on this topic I wasn't able to find anything.  For now, I have updated the SmartList for the Distribution type (DISTTYPE) under Set Field Options with the values and long description but wanted to check with any other Dynamics GP experts to see if continuing to keep this table empty will or would be affecting GP functionally in any way? 

Thank you for any feedback you may have.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: PM40103 table is empty in Dynamics GP 2015 R2

    Jen, thank you for your feedback and looking as well.  My guess also was that if this client has been running along without issues that it must be ok and as you mentioned it is all embedded in code.  Appreciate your time.

  • Community Member Profile Picture
    on at
    RE: PM40103 table is empty in Dynamics GP 2015 R2

    Mariano, thank you for the feedback.  I did check SQL and it was empty, sorry if I didn't state that in my original post.  Also, thank you for the script to repopulate the table.  Much appreciated!

  • Jen Kuntz Profile Picture
    3,220 on at
    RE: PM40103 table is empty in Dynamics GP 2015 R2

    For what it's worth: that table is also empty on my installation. My guess is the actual list is embedded in code and thus the table itself isn't necessary for GP to function.

  • Suggested answer
    Mariano Gomez Profile Picture
    26,225 on at
    RE: PM40103 table is empty in Dynamics GP 2015 R2

    I would suggest you check the table directly in SQL Server Management Studio. However, if this was an accidental deletion, you could run the following to repopulate the table:

    TRUNCATE TABLE PM40103;
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (1, 'CASH','CASH');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (2, 'PAY','Accounts Payable');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (3, 'AVAIL','Discounts Available');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (4, 'TAKEN','Discounts Taken');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (5, 'FNCHG','Finance Charge');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (6, 'PURCH','Purchases');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (7, 'TRADE','Trade Discounts');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (8, 'MISC','Miscellaneous');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (9, 'FREIGHT','FREIGHT');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (10, 'TAXES','TAXES');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (11, 'WRITE','Write Offs');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (12, 'OTHER','OTHER');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (13, 'GST','GST');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (14, 'PPS','PPS');
    INSERT PM40103(DISTTYPE, DSNMSHRT, DSNMLONG) VALUES (15, 'UNIT','UNIT');


    Be sure to test this out first, then backup your production environment and run against it.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
babubaskaran@outlook.com Profile Picture

babubaskaran@outloo... 2

#1
Yng Lih Profile Picture

Yng Lih 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans