Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Adding Tracking Numbers to Invoice Report

Posted on by 490

I'm trying to add a tracking number field to invoices (the printable invoices). But I'm having problems navigating the structure of report writer.  The table I want to link to is: SOP10107 - Sales Tracking Number Work History table.

But with report writer, I'm not sure how to do that.  I keep trying to develop a relationship with Sales Transaction History (SOP30200) with SOP10107 but I'm obviously doing it incorrectly (the tracking number field is not showing up in Layout view).

 Any ideas?

*This post is locked for comments

  • ForceSports Profile Picture
    ForceSports 490 on at
    Re: Adding Tracking Numbers to Invoice Report

     Wow, works great.  A nice easy solution.

    Thanks for sending that to me.

  • lance krumholz Profile Picture
    lance krumholz 65 on at
    Re: Adding Tracking Numbers to Invoice Report

    try the steps below from partnersource.  I completed for a customer last month.

     

     

    TechKnowledge Content

    SUMMARY

    This article describes how to use the Report Writer function rw_CreateSOPTrackingNumberString for Tracking Numbers on Sales Order Processing Sales Invoices and Order forms.

    MORE INFORMATION

    When tracking numbers are entered in the Sales User-Defined Fields Entry window, the rw_CreateSOPTrackingNumberString function will print the Tracking Numbers on the Sales Invoice and Order Forms. This functionality was added to Great Plains Release 7.5 with Service Pack 2. To use this function, follow the steps below:

    Calculated Fields:

    1. In the Toolbox, select Calculated Fields from the drop-down list, and then click New.
    2. In the Calculated Field Definition window, type Tracking Number as the name.
    3. For the Result type, select String from the drop-down list.
    4. Select Calculated as the Expression Type.

    In the Functions section:

    1. Click in the Calculated Expression.
    2. Click the Functions tab.
    3. Select User Defined.
    4. Click the drop-down list for Core and select Sales.
    5. Click the drop-down list for Function and select rw_CreateSOPTrackingNumberString. Click Add.

    In the Fields section:

    1. Click in the Calculated area.
    2. Click the Fields tab.
    3. Click the drop-down list for Report Table and select Sales Transaction Work.
    4. Click the drop-down list for Table Fields and select SOP Number. Click Add.

    In the Fields section:

    1. Click in the Calculated area.
    2. Click the Fields tab.
    3. Click the drop-down list for Report Table and select Sales Transaction Work.
    4. Click the drop-down list for Table Fields and select SOP Type. Click Add.

    The Calculated Expression should read:

    FUNCTION_SCRIPT(rw_CreateSOPTrackingNumberStringSOP_HDR_WORK.SOP NumberSOP_HDR_WORK.SOP Type )


    Add the field to the RF section of the Invoice or Order you are modifying. It will print in alphabetical order with a comma between multiple tracking numbers.

    Note: There is a character limit of 80 when adding the Tracking Number to Invoices or Orders.


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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans