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)

How to Add GL Account Column in Smartlist - Purchasing

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I try to add column to show GL account in smartlist from "Smartlist - Purchasing - Payable Transactions - Transactions by Vendors".

I guess my challenge here is the total purchase amount splits into different GL accounts.

For example, if I have an invoice for $1,000; $500 goes to travel and another $500 goes to meal. When I add "Purchase Amount" column; it will show $1,000, but there are not any account numbers under "Purchases Account Number" column because this $1,000 has been split unto two amounts in two accounts. 

If I  put entire $1,000 to meal account, when I run smartlist, Purchase Amount column shows $1,000 and Purchases Account Number shows meal.

Are there any way I can create a smartlist that show me each debit and credit line with GL account number?

Thanks.

Pei

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    MG-16101311-0 Profile Picture
    26,225 on at

    There are two ways to approach this request:

    1) You can create a new SmartList Designer smart list based on the Transactions by Vendor smart list. You will add both the PM Distribution WORK OPEN and the PM Distribution History tables from the Purchasing series and create a left join between the Transactions by Vendor.Voucher Number and the Transactions by Vendor.Document Type, and the PM Distribution WORK OPEN.Voucher Number and PM Distribution WORK OPEN.Control Type fields; and the Transactions by Vendor.Voucher Number and the Transactions by Vendor.Document Type and the PM Distribution History.Voucher Number and the PM Distribution History.Control Type.

    You will then want to add both the Account Index Master and the Account Master from Microsoft Dynamics GP > Tables > Financial series and relate both the PM Distribution WORK OPEN.Distribution Account Index and the Account Index Master -- this will give you the account number string. Do the same for the PM Distribution History.Distribution Account Index and the Account Index Master.Account Index.

    Finally, you will add a filter on the distribution type field for both the PM Distribution WORK OPEN and the PM Distribution History, to ensure you are only getting the expense side of the distribution.

    2) The second approach is to use the Financial > Account Transactions smart list and filter out just the purchasing transactions (series 3 I believe).

  • Verified answer
    ShawnMD Profile Picture
    1,456 User Group Leader on at

    I get asked this a lot - and I usually just use this SQL View from Victoria - then add it to smartlists:

    https://victoriayudin.com/2008/11/28/sql-view-to-show-all-gl-distributions-for-ap-transactions/

  • Community Member Profile Picture
    on at

    Thanks Mariano. Sorry about this late reply.

  • Community Member Profile Picture
    on at

    Thanks Shawn,

    One more question if you do not mind. How am I able to import Victoria's SQL view to GP smartlist?

    Pei

  • Suggested answer
    ShawnMD Profile Picture
    1,456 User Group Leader on at

    I started typing out the steps and remembered I had a blog in queue for this quick step by step:  check it out here:

    https://gplifehacks.com/2018/03/06/gp-lifehacks-137-add-a-sql-view-to-smartlist-using-designer/

  • Community Member Profile Picture
    on at

    I am stuck on the last two pieces - there are 4 lines in each string and I think I figured out the first 4 bu the last two joins I cannot figure it out.  "You will then want to add both the Account Index Master and the Account Master from Microsoft Dynamics GP > Tables > Financial series and relate both the PM Distribution WORK OPEN.Distribution Account Index and the Account Index Master -- this will give you the account number string. Do the same for the PM Distribution History.Distribution Account Index and the Account Index Master.Account Index.

    So the table names remains the same then what is the second category - and does this go into table 2 and then what is the join link - document type or what?  

  • Community Member Profile Picture
    on at

    Can you explain the full string.  Meaning the Table is, the Field Name, the Table 2, Field Name 2 ... all 4 fields must be completed and I have tried every which way ...

    Also, the same for under finally - what is the full 4 strings.  Thank you so much.

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