Skip to main content

Notifications

Announcements

No record found.

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 Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report writer function - RW_Strip

    Hi All,

    Issue solved.

    Thank you.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report writer function - RW_Strip

    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.

  • Verified answer
    Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: Report writer function - RW_Strip

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans