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)

Check Format - Converting Dollars to Words on the Check

(0) ShareShare
ReportReport
Posted on by 7,365

I have a modified check format where I modified the Stub/Stub/Check to make it Check/Stub/Stub for a client that had a ton of checks left over from Quickbooks.  In that particular format, the field that lists the words (One Hundred Dollars and 00/100) is driven by a Calculated Field called Calc Field 1.  I just used what was there already didn't change it.

Client tells me that the words are getting cut off at the end for a check for over 240k or so.  (Two Hundred Forty Three Thousand Four Hundred........)  you can see, it gets long.

Initial reaction is that the field is not wide enough to handle it so I went in and expanded the field a little more.  This did not work.

Next Reaction is to look at the calculated field and it was one of those FUNCTION SCRIPT with rw_SplitWordAmount function.  I noticed there was a 75 in the parameters, then counded the characters, and it was right about there, so I changed that to 120 thinking it would increase it.  I tested it and It looked like it worked to me, but now the client says it is still cutting off the last character.

I went into my test company and pulled up that check format and looked and apparently there were 3 fields that make this up, stacked on top of one another.  Calc String 1, Calc String 2, Calc String 3.  I had just removed # 2 and #3 because I just didn't know what they were for and they cluttered up my report.  Now I am thinking they are the overflow ones, but still, that would look terrible to have the words printed below the other words when there is so much room for all the words on the check.

Does anyone have any experience with this?  Why does changing the 75 to 120 not work and why would microsoft make 75 the character limit when I'm sure that plenty of people are cutting checks with more than 75 characters in the words part.

Where can I find out more information about these functions in report writer?

 

*This post is locked for comments

I have the same question (0)
  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,625 Super User 2025 Season 2 on at

    Kevin,

    Try this blog post by Mr. Musgrave.  Maybe it will help - https://community.dynamics.com/blogs/developingforgp/archive/2009/07/07/rw-getting-rw-converttowordsandnumbers-40-41-to-show-cents-in-words.aspx

  • K Day Profile Picture
    7,365 on at

    I did some more testing and it seems that no matter what you set that parameter at, the most it will print is 79 characters.  So it seems that you have to let it overflow to the Calc String 2.  I am going to just make another calculated field that concatenates calc string 1 and calc string 2 into one field and hopefully that will work.  If not, I guess I will just put the fields right next to each other so it looks like they are one field.

    Is there any calculation to figure out how wide a field should be given the size of the font you are using to make it so that 75 characters exactly fit in that field?  This seems like it coudl be a nightmare if somehow I set it at say 400 width and then the letters were all thin letters like "iiiiiiiii" as opposed to 'HHHHHHHHH'

  • K Day Profile Picture
    7,365 on at

    One last note I found on Dave M's blog.

    Note: One final point worth highlighting is that string calculated fields in Report Writer have a limit of 80 characters. Using a report writer function to return more than 80 characters will just have the returned data truncated to 80 characters without any warning or error message.

    This is my problem.  Even after creating the calculated field concatenating the two together, it still wouldn't print all the way.

    Solution 1 - Put them next to each other and hope that 75 characters are always the same width so that Calc String 1 goes into Calc String 2 without overlapping sometimes and being too short sometimes.

    Solution 2 - Just put the overflow on the next line and have to deal with it looking a little clunky when they print checks that large, which will not be that often.

    Can't wait for report writer to be a thing of the past.......

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