FSI Logo
GP Reports Viewer Newsletter
July NewsletterJuly 2010
GPRV Banner
Take the Pain out of Customizing SOP Reports
How GP Reports Viewer can help replace SOP reports

Drink Man

Want to change the formatting of your Dynamics GP SOP reports? Don't want to have to make the same change on 10 reports? Don't like working with GP's Report Writer?

With GP Reports Viewer you can replace any SOP reports with Crystal and/or SSRS reports. Do this for as few or as many reports as you want. Use the included sample reports and simply change the logo and address on them or create your own reports - it's up to you.

The best part? Your users won't even be able to tell the difference, they can keep printing SOP reports in GP like they have always done.  They'll simply have much nicer looking reports.

Dynamics GP Phone Numbers in Crystal
How to format a string with a custom formula
Orange Phone Man

Want to add a phone number from Dynamics GP to a report, but when you add the field you get something that looks like "55555512121234"? Would you rather have this display as "(555) 555-1212 x1234"?

You can create a custom formula in Crystal Reports to do this using the following syntax:

if {RM00101.PHONE1}="" then "" else
"(" + Left({RM00101.PHONE1},3) + ") " +
Mid ({RM00101.PHONE1},4,3) + "-" +
Mid ({RM00101.PHONE1},7,4) +
if Right({RM00101.PHONE1},4) = "0000"
then "" else
" x" + Right({RM00101.PHONE1},4)

This will return a blank if there is no phone number and will only show the extension if it's not all zeros.

Dynamics GP Phone Numbers in SSRS
How to format a string with regular expressions
By: Mickie Stamm
Cell Phone ManWant to add a phone number from Dynamics GP to a report, but using SSRS? You can do something similar to the Crystal tip above using a string manipulation formula in SSRS but try it instead with Regular Expressions! Yes they are scary at first, but once you get the hang of them they are actually quite powerful.

Here is how to achieve the same effect in SSRS:

=Replace(System.Text.RegularExpressions.Regex.Replace
(Fields!PHONE1.Value, "(\d{3})(\d{3})(\d{4})(\d{4})",
"($1) $2-$3 x$4"),"x0000","")

The phone number with extension is formatted first and then the outer replace will hide the extension if it is blank. If there is no phone number there will be no match and therefore this will return a blank.

Looking for a solution to manage Crystal and SSRS reports inside of Dynamics GP quickly and easily?  An online demo of GP Reports Viewer is available anytime on our demo web page.  If you would like to schedule a live demo of GP Reports Viewer with us, please call 212-254-4112 and choose option 1 for Sales or e-mail sales@flex-solutions.com.  You can also download a fully functional trial for the Dynamics GP sample company.  Expiring registration keys are available upon request if you would like to test GP Reports Viewer with your company data. 
 
Sincerely,  
Victoria Yudin
Dynamics GP MVP (2005-2010)
Flexible Solutions, Inc.
In This Issue
Announcement
Crystal Tip
SSRS Tip
Quote of the Month
Quick Links
Quote of the Month
 

"Vision without execution is hallucination." 

 

~Eleanor Roosevelt