Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

User needs to add custom table fields in Report Writer

(0) ShareShare
ReportReport
Posted on by

The user has a custom table which contains additional information about standard inventory items. They need to include this information on their invoices and packing slips. Is there a way to include non GP tables in Report writer?

Thanks!

*This post is locked for comments

  • Suggested answer
    L Vail Profile Picture
    65,271 on at
    RE: User needs to add custom table fields in Report Writer

    Tanner,

    Refer to the link provided by Shan above:

    blogs.msdn.com/.../getting-data-from-isv-tables-onto-reports-without-needing-to-create-alternate-reports.aspx

    That blog article and the docs it links to should set you to use VBA to pluck the value you need out of the table.

  • Deb@PA Profile Picture
    on at
    RE: User needs to add custom table fields in Report Writer

    Hi Tanner

    Unfortunately this was so long ago I cannot remember if it ended up using this or VBA.  Sorry.

  • Tanner Profile Picture
    360 on at
    RE: User needs to add custom table fields in Report Writer

    Deb,

    Were you able to get an answer on this?  I am unclear how this would work as well and would like to avoid using VBA or dexterity customization.  I just need to pull the Project Name from the PA module onto the customer statement from the RM module.  They want to see the project name next to the open invoices so the customer can avoid cross-referencing on their side.

    Thanks.

  • L Vail Profile Picture
    65,271 on at
    RE: User needs to add custom table fields in Report Writer

    Hi,

    VBA does work in GP2015, it just doesn't work for the Web Client, never did.

    Kind regards,

    Leslie

  • Deb Landon Profile Picture
    45 on at
    RE: User needs to add custom table fields in Report Writer

    Hi Jorge, this function is new to me.  Are you saying that I do not need to use VBA at all (you said that VBA is not supported in GP2015).  I have created a calculated field using the rw_TableLineString function and I have used a constant of String to type my query "SELECT CHEKBKID FROM CM00100 WHERE CURNCYID = " and then added the Currency ID from the RM_Open_Temp table.  Is this how this function works?  Thanks for your help.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: User needs to add custom table fields in Report Writer

    you can write a custom Report Writer function in dexterity and use a calculated field in report writer by calling the custom function to pull the data on the report. The problem is that a custom Report Writer function that you create in your dictionary is only visible from reports in your dictionary.
    Refer the link:
    blogs.msdn.com/.../getting-data-from-isv-tables-onto-reports-without-needing-to-create-alternate-reports.aspx

  • Verified answer
    Andrew Hall Profile Picture
    190 on at
    RE: User needs to add custom table fields in Report Writer

    Yes it is possible

    You create calculated fields in report writer and then attach VBA to the report that runs a sql query to go and grab the data from the custom table and then uses that to populate the calculated fields in report writer. if you do  this though it wont surface in the web client as you cant use vba with that deployment method.

  • Verified answer
    coquisalsa Profile Picture
    2,725 on at
    RE: User needs to add custom table fields in Report Writer

    You can achieve this by using Report Writer: Microsoft Dynamics GP > Tools > Customize > Report Writer.

    There is no need for VBA, SQL queries neither Dexterity. Just create a calculated field using the function rw_TableLineString.

    In the 'Calculated Field Definition' window of the report writer chick on ‘User-Defined’, select Core ‘System’, select Function = rw_TableLineString and the build your expression.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans