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)

Report Writer - converting string to numeric

(0) ShareShare
ReportReport
Posted on by 460

I have a requirement to use the value in one of the user defined fields on the inventory master in simple math equation however I can't because it is string. I looked through the functions but did not see any to convert to numeric, is there one? Is there a more clever way to handle this? Just want to display this value in this field multiplied times the Quantity shipped on the packing slip, any advice would be great, thanks.

*This post is locked for comments

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

    There's a user-defined Report Writer function called RW_ConvertCurrencyStringToRWCurrencyValue, it accepts a string value and returns the equivalent currency value, so you could create a calculated field that calls this function, passing in your Inventory user-defined field. A second calculated field will then multiply the quantity shipped by the first calculated field.

  • Nancy Cohen Profile Picture
    460 on at

    Thank you this worked, took me a bit to find the function, it was under purchasing, thought that was weird, anyway, thanks it helped me a lot.

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