web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Convert Numbers to Words in Report Writer GP 2015 R2

(0) ShareShare
ReportReport
Posted on by

Hi all,

To print Check amount in Whole Number in words & Parts in words, I have used RW_ConvertToWordsAndNumbers() function in GP 2013 R2 and it works great. But when I implemented the same function for a Customer who is using GP 2015 R2 , report writer throws error - "EXCEPTION_CLASS_SCRIPT_OUT_OF_RANGE. SCRIPT_CMD_POWER" . Same with RW_ConvertToWordsAndNumbersParse() function. Am I missing something? Is it a bug in GP 2015? Please help.

Reference: 

RW_ConvertToWordsAndNumbers()

  • Added new mode to support full conversion of dollars and cents to words. The Mode (third) parameter now supports the following three values:

0 = Whole Number in words, Parts in numbers 
1 = Whole Number in numbers, Parts in numbers 
2 = Whole Number in words, Parts in words *NEW

RW_ConvertToWordsAndNumbersParse()

  • Added new mode to support full conversion of dollars and cents to words. The Mode (third) parameter now supports the following three values:

0 = Whole Number in words, Parts in numbers 
1 = Whole Number in numbers, Parts in numbers 
2 = Whole Number in words, Parts in words *NEW

Thanks,

Siva

*This post is locked for comments

I have the same question (0)

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans