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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Dynamics GP how recreate the Inquiry-Sales-Transaction by Customer form with ShipTo displayed

(2) ShareShare
ReportReport
Posted on by 4
We use the Inquiry form Sales - Transactions by Customer on a regular basis.  We have quite a few customers that a large wholesalers and they have many different shipto addresses used when we invoice.  We want to see this same graph of historical and open transactions but with shipto address info tagged to it so we can identify not just the customer, but where it was sent.  I am happy to recreate this in smartlist to avoid modifying GP and using something like the receivable transactions, but when I add the sales transaction table to these reports, I end up losing the payment detail because there is no 'shipto' associated with payments.  There appears to be an issue with joining tables properly to see all historical/open transactions and adding this shipto element.  Please help, how to I build this in a way that reproduces this inquiry but also shows shipto for each item (or blank when not applicable).
Screenshot 2025-04-18 130936.jpg
Categories:
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,530 Super User 2025 Season 2 on at
    Good morning, afternoon, or evening depending on your location!
     
    SmartList Designer
    1. Base SmartList Setup:
      • Open SmartList Designer.
      • Create a new SmartList based on the Receivables Transactions table (this provides historical and open transactions data).
      • Include relevant fields such as Customer ID, Document Type, Document Number, Transaction Amount, and Payment Details.
    2. Join Sales Transaction Table:
      • Add the Sales Transaction Header table and join it to the Receivables Transactions table using fields like Customer ID and Document Number.
      • Make sure to include ShipTo Address fields from the Sales Transaction Header table in your SmartList.
    3. Left Join Handling:
      • Use a LEFT JOIN so that all Receivables Transactions (including payments without ShipTo addresses) remain visible, and ShipTo details are added only for relevant transactions.
    4. Conditional Logic:
      • Add a custom column to display "N/A" or leave it blank when ShipTo information is not available for a transaction.
    5. Save and Test:
      • Save the SmartList and test it to ensure all historical/open transactions are displayed along with ShipTo details.
     
    SQL-Based Approach (If SmartList Designer is limiting)
    1. Data Query:
      • Use SQL Server Management Studio to write a custom query joining the Receivables Transactions and Sales Transaction Header tables.
      • Use fields like Document Number and Customer ID to link the tables accurately.
    2. Include ShipTo Details:
      • Include ShipTo Address fields (such as ShipTo Name, Address, City, etc.) from the Sales Transaction Header table in your query.
      • Use a LEFT JOIN to ensure all payment transactions are included, even when ShipTo details are missing.
    3. Custom Logic for Blank ShipTo:
      • Add conditional SQL logic to handle null ShipTo values (e.g., display "Not Applicable" or leave blank).
    4. Deploy Report:
      • Save the query and use tools like SQL Reporting Services (SSRS) or Excel Power Query to display the data in the desired format.
     
    By following these steps, you can create a dynamic report that includes historical and open transactions with ShipTo address information tagged where applicable.
     
    Hope this helps some!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans