Paperless Merge Fields

by MBA Business Software


Enhance Sage 100 Paperless Office merge fields to include more fields specific to the document being sent.

Subscribe Now ($500.00) Download


The Paperless Office module allows users to set up PDF and electronic delivery options for all standard reports, journals, and registers as well as most customer, vendor, and employee forms. The setup process for Paperless Office follows a tiered approach allowing it to be set up with options specific to a company, module, customer, vendor, employee (payroll), or individual document. More information about Paperless Office can be found in Sage’s manual for Sage 100.

Electronic Delivery Message Maintenance is used to maintain the default messages when using electronic delivery of the PDF documents. The maintenance screen can be accessed by logging into Sage 100 and going to Modules | Paperless Office | Setup | Electronic Delivery Message Maintenance. Paperless office, as of the 2018 version, was designed to allow a handful of generic merge fields.
Standard Electronic Delivery Message Maintenance

This enhancement will allow additional fields from the document and the entities associated with the document to be placed in the email body or subject. Electronic Delivery Message Maintenance merge fields change based on the document selected. As an example, when Invoice is selected as a Document, the following fields are available:

  • <CompanyName>
  • <CustomerName>
  • <CustomerNo>
  • <Document>
  • <DocumentDate>
  • <DocumentNo>
  • <InvoiceType>

This enhancement enhances the default merge fields with a much larger list of merge fields that are related specifically to the document.

For example, Invoice emails can contain fields from the AR_Customer, AR_CustomerPDFLog, AR_InvoiceHeader, AR_Salesperson and SY_Company. In our case, the body of the email can have the Invoice Due Date and include the the salesperson's name and contact info.

Take Note

Current version only increases merge fields for:
  • Customer Forms
    • Accounts Receivable
      • Invoice
    • Sales Order
      • Order
      • Invoice

Calculations can be entered in the Email Message as well. For example, when sending out an email for Sales Order, you might want to show the total of the order. That calculation requires totaling five fields from the Sales Order Header table. To enter that calculation you would place the following in the Email Message.

{=STR([SO_SalesOrderHeader.TaxableAmt]+[SO_SalesOrderHeader.NonTaxableAmt]+[SO_SalesOrderHeader.FreightAmt]+[SO_SalesOrderHeader.SalesTaxAmt]-[SO_SalesOrderHeader.DiscountAmt]:“###,##0.00-”)}

The fields inside the square brackets are all replaced first, then the calculation is made within the braces. The return of the calculation must always be a string. Inside the braces is calculated as a ProvideX equation. The next example shows how to spell out abbreviations like Order Type which is a S for Standard, B for Backorder, etc.

{=TBL([SO_SalesOrderHeader.OrderType$]=“SBQMR”, “”, “Standard”, “Backorder”, “Quote”, “Master Order”, “Repeating Order”)}

Calculations like this make the Email Messages very readable.

The enhancement can be downloaded for the version of Sage 100 that is needed by clicking the download links in the Versions section in this document. The downloaded file will be a self-extracting zip file with only a single executable within the zip file. Extract that executable (.exe) to your desktop or preferred folder and execute by double clicking on the icon. Execute the installation program and follow the instructions. While the installation does not require everyone to be out of Sage 100 before installing, it may be necessary to log out and log back in to display menu changes. mba-installer.jpg

Enter the destination folder of the Sage 100 application. The path should include the MAS90 folder. Example: “C:\Program Files (x86)\Sage 100 Standard ERP\MAS90\”. Click on Install when done. Files will be extracted to the folder specified and will trigger the Product Install to Sage 100. Click on Install to install the Enhancement to Sage 100. mba_installer_product_install.jpg

Version Difference Warning

If there is a version difference a Version Mismatch Warning will appear.

mba-installer_warning.jpg

This warning is expected if product updates have been installed. If the first two sets of numbers, 6.00 in the example shown, match then click on OK. If they do not match click on the red X and exit the installation. The correct version of the modification will need to be downloaded.

Once it is done installing the Enhancement, there will be two buttons displaying, Finish and Log. Click on the Finish button to complete the install process. If an error occurred on the screen or to validate the install, click on the Log button to view the install log. At this point, the Enhancement has been installed.

Once the enhancement has been installed it must be registered for it to be active. Access to registration will have to be assigned to a user or group to have access to registration. To assign permissions, go to Modules | Library Master | Main | Role Maintenance. Enter the role assigned to the user or group that will need to have access to the MBA Enhancement Registration and click on the Tasks tab. Navigate to Library Master | Maintenance/Data Entry | MBA Enhancement Registration and make sure it is checked to allow access. To register the enhancement, the user must have at least View and Modify checked. If uninstalling an enhancement, Remove must be checked. To launch registration, go to Modules | Library Master | Utilities | MBA Enhancement Registration. A list of MBA enhancements will be displayed in the registration.

Each enhancement that has been installed will display a check in the box in the column called Installed. The check box in the Activate column will appear once the enhancement has been successfully registered. If there is not a check mark, when clicking in the box, it will open a web page to the online ordering for that enhancement. Once a license key has been generated, enter it in the license column. If the license is valid, a check mark will appear in the Activate column. If the enhancement has an expiration date, the Expiration column will display the last day that the enhancement will work without being renewed.

Key Information

License keys will have the enhancement code followed by a 10 digit number. They are specific by enhancement and by the serial number of the installation.

Changes to a line can be undone by clicking on the Reset button. All rows can be reset by clicking on the drop down arrow on the Reset button and clicking Reset All Rows.

The Print button will print a list of all the enhancements indicating what has been installed and activated along with other information such as the description, license key and the expiration. This documentation can be accessed from the MBA Enhancement Registration by clicking on the help button. When done making changes or registering enhancements, click on the Accept button to close the MBA Enhancement Registration. Clicking on Cancel will close the screen without any changes being saved.

System Wide enhancement options are accessed through Modules | Library Master | Utilities | MBA Enhancement Registration. Click on the enhancement description to access its configuration. This enhancement does not have any system wide configuration so the Configure button in the MBA Enhancement Registration screen will be grayed out. This documentation can be accessed by clicking on the Manual button.

The maintenance of emails for Paperless Office is done in Electronic Delivery Message Maintenance. To access this maintenance screen, go to Modules | Paperless Office | Setup | Electronic Delivery Message Maintenance. The field drop down for “Insert Merge Field” has been expanded to include additional tables and fields. Due to the length of the field names, the drop down is not the most convenient way to select the merge field to insert. A new Field Explorer button has been added to allow easy navigation to select the fields to insert into the message body.

Double click on the Merge Fields folder to expand the additional tables available for inserting. The additional fields will be listed as <module_table.fieldname> under the table folders.

Double click on the field to have it inserted into the message body or subject line. When editing is complete, click the X in the top right of the MBA Paperless Merge Fields screen to close the field explorer. The sample below shows how the additional fields can be added to the body of the message.

<CustomerName>,

Attached is your <Document> #<DocumentNo> for <AR_Customer.CustomerName> that is due on <AR_InvoiceHeader.InvoiceDueDate>.

Please keep this <Document> for your records. If you have any issues, please feel free to call us at 555-365-4575.

Thanks,
<AR_Salesperson.SalespersonName>
<CompanyName>
<AR_Salesperson.EmailAddress>

When this is sent using Paperless office the fields will be merged as shown below:

Available Fields

The list of fields available when clicking on the Field Explorer in Electronic Delivery Message Maintenance is dynamic and built based on the current Document that is selected during entry. A preset list of tables are used for each document selected. This list of tables are used to query the Data Dictionary for the available fields to be listed. Since the Data Dictionary is used to create the list of fields to be merged, this means that User Defined Fields (UDFs) as well as developer fields (if populated in Data Dictionary) will be included.

Document TypeModule CodeDocumentTableFull ListNotes
Customer FormsS/OInvoiceAR_Customer2018 List
<CustomerName>
AR_CustomerPDFLog<BillToName>
<CustomerNo>
<Document>
<DocumentDate>
AR_Salesperson2018 List
SO_InvoiceHeader2018 List
SY_Company<CompanyName>
Customer FormsS/OOrderAR_Customer2018 List
<CustomerName>
AR_CustomerPDFLog<BillToName>
<CustomerNo>
<Document>
<DocumentDate>
AR_Salesperson2018 List
SO_SalesOrderHeader2018 List
SY_Company<CompanyName>
Customer FormsA/RInvoiceAR_Customer2018 List
<CustomerName>
AR_CustomerPDFLog<BillToName>
<CustomerNo>
<Document>
<DocumentDate>
AR_InvoiceHeader2018 List
AR_Salesperson2018 List
SY_Company<CompanyName>

To uninstall an Enhancement, launch the registration program Modules | Library Master | Utilities | MBA Enhancement Registration. Select the Enhancement from the grid and press the Uninstall button. This will remove the enhancement from the system. A message box will appear stating which enhancement is being uninstalled. Click on OK to uninstall or Cancel to go back to the MBA Enhancement Registration without making any change. When an enhancement is removed the check box under Installed will be unchecked and the license with expiration date will be removed.

Once all enhancements have been uninstalled, the MBA Enhancement Registration can be removed by clicking on the Remove Enhancement Registration button. This button is only activated once all enhancements have been uninstalled. A message box will appear stating that it will uninstall the MBA Enhancement Registration.

Click on OK to remove it or click Cancel to return to the MBA Enhancement Registration without making any change. A message will display when the files have been removed. Click on OK to close the window. When the MBA Enhancement Registration is removed, users will need to exit out of Sage 100 to have their menu updated. Once the menu is updated, the menu item for MBA Enhancement Registration is removed.

Take Note

Uninstall vs Deactivate
Before Uninstalling the Enhancement, which removes your License and Expiration, consider just de-activating the Enhancement by un-checking the box under the Activate column. Your Enhancement will not function until you re-activate the Enhancement by checking in the box under the Activate column.

For support on this or any other MBA Business Software Enhancement, please send us an email via our contact page.

Paperless Merge Fields are only displayed when the following requirements are met:

  1. Enhancement must be installed
  2. Enhancement must be registered
  3. Document type must be specified

If the document type is specified, then check to make sure that the product is installed and registered. Check Registration by going to Modules | Library Master | Utilities | MBA Enhancement Registration. Navigate to the line for Paperless Merge Fields enhancement. Confirm that there is a check box in Install and Activate. There should be a date in the Expiration column. Confirm that the date is valid and has not expired. If it has expired, then the subscription for the enhancement will need to be purchased or renewed.

These are the files that have been changed

Paperless Merge FieldsTypeDescription
Links\PL_EmailMessage.pvcOverride triggerIndicates an override exists
Links\PL_EmailMessage_UI.pvcOverride triggerIndicates an override exists
Links\SY_EmailEngine.pvcOverride triggerIndicates an override exists
PL\PL106_MRG_EmailMessage.PVCClass OverrideChanges Paperless Email Message
PL\PL106_MRG_EmailMessage_UI.PVCClass OverrideChanges Paperless Email Message UI
PL\PL106_MRG_EmailMessage.M4LPanel LibraryCustom Merge Field Panel
MBA Enhancement LibraryTypeDescription
SY\SY106_Enhancement_SVC.PVCClassEnhancement Service Object
SY\SY106_INI_SVC.PVCClassINI Service Object
SY\SY106_License.M4LPanel LibraryLicense Panel Library
SY\SY106_License.PVCClassLicense
SY\SY106_License_BUS.PVCClassLicense Business Object
SY\SY106_License_SVC.PVCClassLicense Service Object
SY\SY106_License_UI.PVCClassLicense User interface
SY\SY106_Lister_SVC.PVCClassLister Service Object
SY\SY106_Nomads.PVCClassNomads Enhancements
MAS_System\SY106_Enhancement.M4TClassTable of MBA Enhancements
MD\MD106_Ini_SVC.pvcClassINI Service Object
MD\MD106_Install.M4LPanel LibraryMBA Install Panel Library
MD\MD106_Install.M4PProgramInstallation Program
MD\MD106_Install_BUS.pvcClassInstall Business Object
MD\MD106_Install_UI.pvcClassInstall User Interface
MD\MD106_UpdateLibrary.PVCClassInstall Panel Update
Launcher\WizWurks.bmpImageLogo for Install
MBA_Install.iniINI FileMBA Install Configuration File
Reports\SY106_LicenseListing.rptCrystal ReportList of MBA Licenses and enhancements


Paperless Merge Fields is available in the versions listed below. If your version is not listed, please send us an email via our contact page. The download links will be available after an account is created on our website and a license has been released.

Related information about the Enhancement, this website, and its documentation

License Agreement

THIS SOFTWARE IS LICENSED BY MBA BUSINESS SOFTWARE TO CUSTOMERS FOR THEIR USE ONLY IN ACCORDANCE WITH THE TERMS SET FORTH IN THIS CUSTOMER LICENSE AGREEMENT. OPENING OR USING THIS PACKAGE CONSTITUTES ACCEPTANCE OF THESE TERMS. IF THE TERMS OF THIS LICENSE ARE NOT ACCEPTABLE, THE CUSTOMER MAY OBTAIN A FULL REFUND OF ANY MONEY PAID IF THIS UNUSED, UNOPENED PACKAGE IS RETURNED WITHIN TEN (10) DAYS TO THE DEALER FROM WHICH IT WAS ACQUIRED

  1. LICENSE. MBA Business Software, a Georgia corporation as Licensor and owner hereby agrees to grant you as Licensee a non-exclusive license to use the enclosed software subject to the terms and restrictions set forth in this License Agreement. Title in and ownership of all programs and program enhancements or modifications written by MBA Business Software shall remain at all times vested in MBA Business Software. The right granted by this Customer License Agreement and your payment of the non-refundable License fee is the right to use the Program in accordance with the terms of this Customer License Agreement. Delivery of a copy of the Program to you is made solely to enable you to exercise this right.
  2. COPYRIGHT. This Program is copyrighted and all rights are reserved by MBA Business Software and SAGE, INC. You may not copy or reproduce any part of the Program except to copy the Program for backup purposes. If you make a backup copy you must reproduce and include the copyright notice on it. The distribution of the product is intended for the use of the original Licensee only and for use only on the computer systems specified. Lawful users of this Program are hereby licensed only to read the Program from its medium into the memory of a computer only for the purpose of executing the program. The documentation is also copyrighted and all rights are reserved. This document may not, in whole or in part, be copied, photocopied, reproduced, translated, transmitted or reduced to any electronic medium of machine readable form without prior consent, in writing, from MBA Business Software. The Licensee recognizes that MBA Business Software has expended considerable time, effort and money to develop the licensed Software and Manual and that MBA Business Software will be substantially damaged by its unauthorized use, sale or distribution. In addition to recovery of all damages and the obtaining of injunctive relief as provided by law, in the event legal action must be taken to enforce this provision, the Licensee will pay MBA Business Software all reasonable legal fees incurred in enforcing the rights of MBA Business Software under this provision.
  3. RESTRICTIONS ON USE AND TRANSFER. The original and any backup copies of the Program and its documentation are to be used only in connection with a single computer or network file server. You may physically transfer the Program from one computer to another, provided that the Program is used in connection with only one computer or network file server at a time. You may not distribute copies of the Program Documentation to others. The Program is to be used exclusively for business purposes and not for personal, family or household use. YOU MAY NOT USE, COPY, MODIFY, OR TRANSFER THE PROGRAM, IN WHOLE OR IN PART, EXCEPT AS EXPRESSLY PROVIDED FOR IN THIS LICENSE AGREEMENT. IN ADDITION, YOU MAY NOT MODIFY, ADAPT, TRANSLATE, REVERSE ENGINEER, DECOMPILE, DISASSEMBLE THE PROGRAM, OR CREATE ANY DERIVATIVE WORK BASED UPON THE PROGRAM.
  4. WARRANTY. MBA Business Software’s software is licensed “as is” with no warranties of any kind, either expressed or implied, other than the following: MBA Business Software will repair any bugs or flaws found in the software. Flaws of a critical nature which affect the basic functionality of the software will be repaired on an “emergency” basis, with a corrected distribution sent via E-Mail or Download link. Flaws of a non-critical or cosmetic nature will be repaired on a timely basis, and a corrected distribution updated on MBA Business Software’s enhancement website. All incidental or consequential damages that result from any defect in the software, even if MBA Business Software has been advised of the possibility of such damages will be assumed by you.
  5. NO OTHER WARRANTIES. No dealer or distributor of MBA Business Software products or any agent of MBA Business Software is authorized to make any representation of warranty with respect to the Program except those expressly stated in the Customer License Agreement.
  6. LIMITATION OF LIABILITY. Neither MBA Business Software nor anyone else who has been involved in the creation, production or delivery of this program shall be liable for any direct, incidental or consequential damages.
  7. TERM. This license is effective until terminated. You may terminate it at any time by returning the Program and Documentation together with all copies, modifications and merged portions in any form to MBA Business Software. The license will also be terminated by MBA Business Software immediately and without notice if you fail to comply with any term or condition of this License Agreement.
  8. ACKNOWLEDGMENT. Your opening this package, use of this program or signature on the warranty registration card acknowledges that you have read this customer license agreement and agree to its terms. You further agree that the license agreement is the complete and exclusive statement of the agreement between yourself and MBA Business Software and supersedes any proposal or prior agreement, oral or written, and any other communications between yourself and MBA Business Software or dealers and distributors of MBA Business Software’s products relating to the subject matter of this agreement.
  9. ASSIGNMENT. You may not sub license this license or the Program. You may not rent this Program or the use of the Program. You may not transfer this copy of the Program unless the recipient agrees in writing (and a copy of such acceptance is sent to MBA Business Software, 1117 Perimeter Center West, Suite E210, Atlanta, GA, 30331) to accept all of the terms of this Customer License Agreement. Any attempt by you to otherwise rent, sub license, assign or transfer any of the rights, duties or obligation here under is void and may be the cause for immediate termination of the license. MBA Business Software may assign any of its rights and obligation under this agreement to any party without notice to you.

Subject to Change

Information on this website is subject to change without notice.

Where is this Documentation

TradeMarks

This Web site is owned by MBA Business Software. MBA is independent from Sage and is not authorized to make any statement, representation or warranties or grant any license or permission on behalf of Sage regarding any product, service or Web site content. Certain materials made available on or through this Web site are owned by Sage and cannot be used without the prior written permission of Sage.

Sage, the Sage logos, and the Sage product and service names mentioned herein are registered trademarks or trademarks of Sage Software, Inc., or its affiliated entities. All other trademarks are property of their respective owners. Sage material is used with permission from Sage Software, Inc. www.sagenorthamerica.com.

Sage 100® is a registered trademark of Sage Software.

Contact Information

MBA Business Software

6100 Lake Forrest Drive

Suite 520

Atlanta, GA 30338

678-495-5700 8:00 am to 5:00 pm EST

http://www.mbabsi.com

Legal Note

This documentation and the software described in it, is prepared and published under license. Sage Software has not tested or verified either the software or any representation in this documentation regarding the software. Sage Software does not make any warranty with the respect to either this documentation or the software referred to herein. And specifically disclaims any warranty, express or implied, with respect hereto, including the warranties of fitness for a particular purpose and merchantability.