Guide · Sage 300 (Accpac)
How to customize Accpac forms in Sage 300
Sage 300, formerly Accpac, prints its invoices, statements, purchase orders, and checks through Crystal Reports. Changing one comes down to three things: picking the right file, knowing whether it's a datapipe form, and saving your version where an upgrade won't replace it.
Updated
The short version.
Copy the ODBC version of the form, not the datapipe version. Change the copy in Crystal Reports, and save it in a customization directory, set up under Administrative Services > Customization Directories. Sage 300 then prints your version for that company, and the standard form stays as it was.
The files
Which file prints which form.
Each form is a Crystal report file in the program's language folder. Sage's examples use AR61A\ENG and OE61A\ENG; the number in the folder name follows your version.
Order Entry invoices
OEINV01 and OEINV02 are the datapipe versions. OEINV04 and OEINV05 are the ODBC versions.
Purchase orders
POPOR01 and POPOR02 are the datapipe versions. POPOR03 and POPOR04 read the database directly.
A/R invoices and statements
Invoices include ARDINVO and ARINVPRE. Statements are ARSTMT10, ARSTMT11, and ARSTMTPRE.
A/P checks
APCHECK and the APCHK family, such as APCHK01, APCHK02, APCHK03, and APCHK11.
The catch
Datapipe or ODBC decides what you can change.
What a datapipe is
A datapipe is a program file that hands the form a fixed group of fields. Sage's guide is blunt about the limit: you cannot add database fields to a datapipe report definition.
Which one you're printing now
Order Entry prints the datapipe versions by default. So the invoice you print today is probably the one you can't add a field to.
What to customize instead
The ODBC version of the same form. It reads the tables directly, so fields can be added to it.
Optional fields on a datapipe purchase order
Purchase Orders has one way around it: setting parameters 15 through 18 in PORPT.INI to 1 passes optional fields to the datapipe forms.
Step by step
Change a form without touching the original.
Copy the ODBC version
Copy the ODBC version of the form and give the copy its own name. The original stays as Sage shipped it.
Point it at your data
Open the copy in Crystal Reports and choose Database > Set Datasource Location. Update each table, and each subreport, to your company database.
Make the change
Add a field with Insert > Field Object, move things around, or add your logo as a picture. Sage lists adding graphic images among the changes its forms support.
Save it in a customization directory
Put the finished form in the customization directory for that company, in a folder named for the program and language, the same way Sage's own folders are named.
Test it on paper and as a PDF
Print a one-line document and a long one that runs to a second page, and check both the paper and the PDF.
Where to save it
Customization directories.
Where the setting is
Administrative Services > Customization Directories. Only the ADMIN user can set it up.
What you enter
A User ID, a Company ID, and the base path of the customization directory. That's how one company, or one user, gets its own version of a form.
The folder structure
Under the base path, Sage 300 looks for a program folder and a language folder, such as OE61A\ENG. You enter only the base path. Keep it outside the Sage 300 program folder.
After an upgrade
The program folder's name includes the version, so check that the folders in your customization directory match the new version, then test every form.
Rather send the form over?
Send the form you print now with the changes marked up. I build the custom version, set it up so an upgrade doesn't wipe it out, and test it printed and as a PDF. One fixed price per form, agreed before work starts.
Tell Me What You're SeeingQuestions
Accpac form questions.
- Are Accpac forms and Sage 300 forms the same thing?
- Yes. Sage 300 is the product formerly called Accpac, and its invoices, statements, purchase orders, and checks are Crystal report files.
- Why can't I add a field to our Order Entry invoice?
- Probably because it's a datapipe form. Datapipe forms get a fixed group of fields, and database fields can't be added to them. The ODBC version of the invoice can take the field.
- Will a custom form survive a Sage 300 upgrade?
- A form in a customization directory isn't in the program folder the upgrade replaces. It still needs checking afterward: the folder names follow the version, and the tables or fields a form uses can change.
- Can one company have its own invoice layout?
- Yes. A customization directory is set for a User ID and a Company ID, so a form can apply to one company without changing what the others print.
- Are financial statements customized the same way?
- No. General Ledger financial statements are the exception: they come from Financial Reporter, which works in Excel, not from Crystal Reports.
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.