Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

In GP Report Writer, need to Covert User Defined Field in SOP Header to Numeric for calculations.

(1) ShareShare
ReportReport
Posted on by 191

Is there a way to convert the User Defined field on the SOP Header to a Numeric Type so it can be used in a calculated field?

Thank you,

Susan

*This post is locked for comments

  • Tim W Profile Picture
    Tim W 2,925 on at
    RE: In GP Report Writer, need to Covert User Defined Field in SOP Header to Numeric for calculations.

    Hi Susan,

    Assuming here you are referencing a calculated field on a Report Writer report such as Blank Invoice Form etc....

    If so, then yes, you can use a system function in a calculated field in RW to create an integer or currency value from the user defined string value and nest a couple RW calculated fields to do that task.

    You would first create a calculated field to convert the user defined field to an integer or currency by using the system function SRT_CUR

    screen4.jpg

    Then use that as an input to another calculated field doing the math

    screen2.jpg

    Here I have 123 in User defined 1

    screen3.jpg

    And when I drag the fields onto a report I get expected results.

    screen4.jpg

    Hope that helps

    Tim

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans