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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Report writer function - RW_Strip

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm having an error in report Writer (Illegal Syntax) when I tried to use function RW_Strip for Global - Functional Currency.

RW_5F00_Strip.JPG

Is there anything wrong in this?

Thank you.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    MG-16101311-0 Profile Picture
    26,225 on at

    So, are you saying you are trying to strip blank spaces out of the global Functional Currency variable? For example, if your Functional Currency is expressed, i.e., as "Z - US $", you want the result returned to be "Z-US$". If this is the case then RW_Strip should work. 

    RWStrip.png

    1. In the Calculated Field Definition window, enter a name for your calculated field

    2. Set the Result Type to String and the Expression Type to Calculated

    3. From the Functions tab, select User-Defined. In the Function drop-down, locate RW_Strip, then click Add

    4. Click on the Fields tab, from the Resources drop-down select Globals. From the Field drop down, choose Functional Currency

    5. Click on the Constants tab. From the Type drop-down, select String. In the Constant field, press the space bar on your keyboard, then click Add.

    This completes the expression. Do not attempt to insert any spaces manually between the parenthesis or try to insert parenthesis on your own. Report Writer will do this as you build the expression.

  • Community Member Profile Picture
    on at

    Hi Mariano,

    Thank you for your reply.

    Instead of using a Functional Currency, I've create another calculated field to be used in this function. And it works.

    Another problem is, currently I'm using this function to add bracket in between functional currency. Eg: (USD). But it only show '(USD'. Closing bracket is missing. I've made width of the field long enough but it still didn't show.

    Thank you.

  • Community Member Profile Picture
    on at

    Hi All,

    Issue solved.

    Thank you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans