Skip to main content

Notifications

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

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