Skip to content

Guide · MyAssistant · Sage 300 CRE

Save MyAssistant PDF reports to a folder on a schedule

If someone in your office exports the same Sage 300 CRE job reports every week just to file them in a folder, MyAssistant can do that for them. A scheduled MyAssistant Task can save PDF reports to a folder on the server, a network share, or a folder Dropbox syncs. Below are the steps from Sage's own MyAssistant 23.1 documentation, plus the Windows permissions and sync-app details that decide whether the file actually lands.

Updated

The short version.

Yes. In MyAssistant, create a Task that sends "A report attached as a PDF", give it a schedule, attach a Sage report or a Crystal report in the Email step, and in the Report Options window check "Save file attachment" and enter the folder. MyAssistant writes the file from its own server through a Windows service, ISDAdminSenderService. A folder on another machine needs a UNC path (\\server\share) and a service account that can write there. A Dropbox folder is just a folder to MyAssistant: the upload depends on the Dropbox app running on the computer that holds the folder, and Dropbox says it doesn't support Windows Server.

What it can save

What MyAssistant can attach, and save a copy of.

From the Attached Reports and Report Options sections of Sage's MyAssistant 23.1 user guide.

Sage reports: PDF only

Any report on a Reports menu in a Sage 300 CRE application, built in Report Designer or Crystal Reports. A Report Designer report has to be added to a Reports menu before MyAssistant can attach it. A Sage report always comes out as a PDF.

Crystal reports: four file types

A Crystal report written against Sage 300 CRE data can be attached straight from its .rpt file, even if it isn't on a Sage menu. It can produce a PDF, an Excel Workbook, Plain Text, or a CSV file.

Spreadsheet templates

MyAssistant's own spreadsheets go out as Excel files. From version 23.1 a template can also produce a PDF, a CSV, or a text file, and those copies can be saved to a folder too.

A copy of any attachment

Sage's guide says MyAssistant can save a copy of any attached report, document or spreadsheet. Tasks run from the MyAssistant Server, so Sage notes most companies save to a folder on that machine.

Folders named from Sage data

The save path can include Sage values, such as the job number, vendor, or project manager, and MyAssistant creates each folder the first time it's needed. That's how one Task files each job's report in that job's folder.

Your prompts, filled in each run

Each report prompt can be a fixed value, a Sage field, or a MyAssistant Formula. Sage's example fills a JC Cost report's "Cutoff date" with the last day of last month.

Step by step

Save a scheduled PDF report to a folder in MyAssistant.

These are the steps in Sage's MyAssistant 23.1 user guide for a report where everyone gets the same content. Menu and button names are Sage's.

  1. Start a new Task

    In the main MyAssistant window, click New. In the What to Send step, choose "A report attached as a PDF". MyAssistant picks the Condition for you and moves on to scheduling.

  2. Set the schedule

    In the Schedule step, click the circle next to "On a schedule", pick Daily, Weekly or Monthly, then the time and days. Use "Add another schedule" for a second run time. Sage points out that Tasks run on the server, so many companies schedule them outside business hours.

  3. Attach the report

    In the Email step, click "Sage Report" for a report on a Sage Reports menu, or "Crystal Report" to browse to an .rpt file. The Report Options window opens. Fill in the Report Parameters (the same prompts you see when you run the report in Sage) and pick the File Type.

  4. Name the file so it doesn't overwrite

    Set the Attachment Name, and click "Use Sage value in name..." to add a field or a formula such as Current Date. Sage's guide warns that if a saved copy with the same name is already in the folder, MyAssistant overwrites it.

  5. Turn on the saved copy

    At the bottom of Report Options, check "Save file attachment" and enter the folder. For a folder per job, put the cursor at the end of the path, type a backslash, click "Use Sage value in folder name...", choose the field and click Insert. Click OK.

  6. Add a recipient, finish, and test

    Add at least one address in To or Cc and a subject, then confirm the Options step to finish. Sage's guide says a Task only sends when it has a recipient, so plan on one email per run, even if it's just to you. Then select the Task and click "Run and Send" to check that the file shows up in the folder.

Network folders

Saving to a network share: paths and permissions.

Check this first when "it ran but there's no file". Sage's guide covers it in a two-line note; Microsoft's documentation explains why.

Use a UNC path, not a drive letter

Type the path as \\server\share\folder. Sage says a location on another machine has to be reachable from the MyAssistant Server by UNC path. Microsoft explains that drive letters belong to one logon session, and a Windows service can't see a drive mapped by someone who's signed in.

The service is the one writing

The file is created by ISDAdminSenderService on the MyAssistant Server, not by the person who built the Task. That service runs as a Windows account, and that account needs permission to write to the share and to the folder.

Local System acts as the server

If the service logs on as Local System, it reaches other machines with the server's own computer account (shown as DOMAIN\SERVERNAME$). Sage's guide suggests running ISDAdminSenderService as a Windows user with enough permissions to the other computer instead.

Check the account after an upgrade

Sage's installation guide says to note the Log On As account of ISDAdminSenderService and ISDAdminTaskService before upgrading MyAssistant and set it back afterward. If it isn't, the service no longer writes as the account you gave rights to the share, and the saved copies stop.

Dropbox and OneDrive

Cloud-synced folders as a destination.

Sage's guide describes saving to a location on a server or a computer. It doesn't mention cloud services, and MyAssistant has no Dropbox or OneDrive setting. Sage users on the Community Hub report that pointing the save path at a folder a sync app uploads works. To MyAssistant, that folder is just another Windows folder.

The catch is the sync app. Dropbox's help says its app must be running on the computer to sync changes, and that it doesn't support Windows Server. If the MyAssistant Server runs Windows Server, the synced folder has to be on another computer, reached by UNC path; if that computer isn't running the app, the PDF sits in the folder until it does. Also check that the account ISDAdminSenderService runs as can write to the synced folder, which is often inside one person's Windows profile. If either is a problem, a network share or the emailed PDF is often simpler.

Want it set up and tested?

I set up MyAssistant Tasks that file reports where your team looks for them: the Task, the schedule, the folder per job, and the service account and share permissions. I'm independent, so your Sage partner stays yours. You get a fixed price, agreed before work starts, in writing.

Tell Me What You're Seeing

Questions

Saving MyAssistant reports to a folder: questions.

Can Sage 300 CRE save custom PDF reports to a folder on a schedule?
Yes, with MyAssistant. A Task with "A report attached as a PDF" runs on a schedule, attaches a Sage or Crystal report, and saves a copy to the folder set in Report Options with "Save file attachment" checked.
Can MyAssistant save a report without emailing it?
Sage's guide documents the saved copy as an option on an emailed attachment, and says a Task only sends when it has at least one recipient. Plan on one email per run, for example to yourself or a shared mailbox.
The Task runs, but no file shows up on the network share. Why?
Usually the path or the account. Use a UNC path (\\server\share), not a mapped drive letter, and make sure the Windows account ISDAdminSenderService runs as can write to that share. Under Local System, it connects as the server's computer account.
Can a Crystal report be saved as Excel instead of PDF?
Yes. A Crystal report attached to a Task can produce a PDF, an Excel Workbook, Plain Text, or a CSV file. A report attached from a Sage Reports menu always comes out as a PDF.
Is MyAssistant included with Sage 300 CRE?
Sage's documents treat it as its own product, with its own install, license agreement, and product keys in the Sage Customer Portal. Check the portal for MyAssistant keys, and ask your Sage partner about the price if they aren't there. Licenses come as a Server key, a Designer key for whoever builds Tasks, and MyAssistant keys for people who only run them.

Contact

Tell me what you need.

Tell me about your project or the problem you need solved.

Email me at andy@codingandy.com, text or leave a voicemail at 612-249-6882, or use the form.

Add project details (optional)Company, phone, Sage product, and type of request2 added

Sage product

Optional. Skip it if your request isn't about Sage.

What do you need?

No retainer, no obligation. You'll get a scope and price before any work starts, and I never contact your current Sage partner without your permission.