Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Printed Cheque amount in words

Posted on by 4,084

Does anyone know why the amount in words show like the following when i print check with amount of $114

**114 Dollars and 00 Cents

 

and why is not showing like this:

 

 

One Hundred Fourteen Dollars and 00 Cents

 

 

 

 

                                                                                                                                  

*This post is locked for comments

  • sattty Profile Picture
    sattty on at
    RE: Printed Cheque amount in words

    How to do that, I am stuck with it?

  • Suggested answer
    soma Profile Picture
    soma 24,406 on at
    RE: Printed Cheque amount in words

    Create the below calculated fields in Report Writer and drag the final calculated field (12th) to your report.

    1. amount = Pass your amount here
    2. dollars = RW_Truncate (amount, 0, 0)
    3. cents = (amount - dollars) * 100.0
    4. dollarstr = RW_ConvertToWordsAndNumbers (dollars, 0, 0)
    5. centposition = RW_Pos (dollarstr, "00", 1)
    6. amountinwrd1= RW_Left (dollarstr, centposition - 1)
    7. amountinwrd2 = RW_Substring (dollarstr, centposition  + 2, 20)
    8. centinwrd1 = RW_ConvertToWordsAndNumbers (cents ,"_", 0)
    9. length = RW_Length (centinwrd1)
    10. centinwrd2  = RW_Left (centinwrd1, length - 4)
    11. amountinwrd3 = RW_Trim (centinwrd2 , 3, " ")
    12. resultinwords = amountinwrd1+ amountinwrd3+amountinwrd2

    Hope this helps!!!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Printed Cheque amount in words

    Using report writer we can easily achieve this. For your Reference

    congruentdynamics.blogspot.in/.../converting-dollars-and-cents-to-words.html

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,917 Most Valuable Professional on at
    RE: Printed Cheque amount in words

    From the RW Function SDK Document

    RW_ConvertToWordsAndNumbersParse

    Module:

    System Manager

    Series:

    System

    Script type:

    Global function

    Form (If a form global):

    Category:

    Numeric Manipulation

    Description:

    Convert currency value to Words and Numbers, using descriptive terms from the Currency ID supplied.  Returns the result parsed into lines of a specified length.  Uses the Dexterity Field_ParseText() function.

    Prerequisites:

    none

    Parameters:

    in currency IN_Value. { Value of Currency }

    in string IN_Currency. { Currency ID of Currency - Leave Blank for Functional }

    in integer IN_Mode. { non-zero = Use Numbers and Words instead of only Words }

    in integer IN_Characters. { Number of Characters per Line }

    in integer IN_Line. { Line Number to Return }

    Return Value:

    function returns string OUT_string.

    For more information:

    blogs.msdn.com/.../using-the-built-in-report-writer-functions.aspx

    David

  • spena Profile Picture
    spena 1,495 on at
    RE: Printed Cheque amount in words

    Hi,

    Can you please provide a screenshot of what the Calculated Fields looks like in Report Writer?  I'm assuming you need a calculated field because when I try and apply a format to the String A 255, I get an error saying you can only apply formats to Integers.

  • Verified answer
    Arayan Sinanan Profile Picture
    Arayan Sinanan 65 on at
    Re: Printed Cheque amount in words

    This is due to the use of the Amount to words and numbers function and not the Amount to words function. You can customize the check using the report writer and use the Amount to words function and remove the amount to words and numbers function.

  • Re: Printed Cheque amount in words

    I have this same problem.  Anyone have a solution?

    Thanks!

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

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans