Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Convert Numbers to Words in Report Writer GP 2015 R2

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans