Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Statement reports switching while printing

(0) ShareShare
ReportReport
Posted on by 248

We use Dynamics GP2015 R2 version Build version 14.00.1016.  We're wanting to know if it's possible to create a customized SQL script for Dynamics GP for the customer statements and switch between two different reports while printing them automatically.  We use multi-currency, both domestic and foreign.  We have two separate statement reports for each, domestic and foreign.  The question is: Is it possible for a customized SQL script able to be created for Dynamics GP, to automatically recognize, while in the middle of printing, that GP will recognize that the customer needs to switch between the two different reports, domestic and foreign, so that all can be printed up at the same time without having to stop and switch between the two separate reports for both types of customers? 

Please let me know at your earliest convenience.

Thank you,

*This post is locked for comments

  • GuruDofGP Profile Picture
    248 on at
    RE: Statement reports switching while printing

    Thank you.  I think we can use the statement cycle criteria for the foreign currency customers.  The User Defined fields are all used. 

  • Suggested answer
    Mariano Gomez Profile Picture
    26,225 on at
    RE: Statement reports switching while printing

    My point being, the statement cycle is just a designator - there's really no intelligence behind that field. They can point to any date on the calendar to run statements, regardless of what the cycle value says. You are using it only to be able to separate one group of customers from another. You could also explore one of the User Defined fields if you are not using them.

  • GuruDofGP Profile Picture
    248 on at
    RE: Statement reports switching while printing

    Thank you for your prompt response.  Unfortunately, the statement cycles are all to be done monthly, for all customers.  Are there any other options, other than a customized script?

    Thank you in advance for your assistance.

  • Suggested answer
    Mariano Gomez Profile Picture
    26,225 on at
    RE: Statement reports switching while printing

    The easiest thing to do is to setup two statement IDs, one for domestic and one for foreign. You will then want to use something like the Statement Cycle option on the customer card to classify, say your domestic customers to Weekly, and your foreign customers to Biweekly. Then, on your domestic statement option, set the Ranges drop-down to by Statement Cycle, and choose Weekly.

    You would then setup your foreign customers statement ID to range by Statement Cycle, and choose Biweekly for those.

    NOTE that the only reason I set it up this way is because most people will already be using the Customer Class for something else, but if you are not, you could create a customer class called DOMESTIC and another one called FOREIGN then assign those classes to each of your customers according to the type of statement they need to receive. Your range, then, would be by Customer Class for each statement ID.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans