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 SL (Archived)

Print from Button On Screen

(0) ShareShare
ReportReport
Posted on by 1,348

Hi 

I am looking for some assistance or any suggestions to a issue that I am having on attempting to print a custom  CA Edit report from the Cash Transactions screen.  

I am able to print the report when I am in the present period but when I change the period to a future period, I report return blank.  At times before closing the period, the users need to put in transactions in a future period but they are not getting anything on the report when they do so.  Could someone tell me what I am doing wrong here or if there is a work around?

The below code behind the button on the screen is as follows:

BatNbr = GetObjectValue("cBatNbr")

ParmStr = "ROI.EXE " + PRMSEP + "20810/RUN" + PRMSEP + "20810R/FORMAT" + PRMSEP + "{Batch.batnbr} =" + SParm(BatNbr) + "/WHERE" + PRMSEP '+"/PSCRN"

Serr1 = Launch(ParmStr, True, True, 0)

Did I miss something?  Any assistance will be appreciated.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mark E Profile Picture
    6,451 on at

    The problem is that CA Edit report uses the Beg/End Period range to initially filter the values in the report, based on the period(s) entered.  To my knowledge, there is no way to pass those parameters from a command line.  See the link below for a similar issue, and how I get around this challenge.

    community.dynamics.com/.../330330

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 SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans