Package structure

A package is an XML document that defines one or more customization activities that are deployed together to enable a feature. By grouping related activities, you ensure that changes to one activity do not adversely affect other activities in the package. You also have a single location where you can modify all aspects of a feature.

A customization package has a customErpPackage root element that wraps the child elements, as shown:

root customErpPackage with pointers to child elements

The child elements provide the content for the customization feature as follows:

Create a package

When creating a package, the easiest approach is to start with the XML package file template, then use the Sage Intacct UI to generate parts of the file. For example, you can export the definition of a Custom Report using Export Def from the UI Wizard, then paste that definition (minus the XML declaration) into the correct place in the template file (below). The same approach can be used for Smart Events and Smart Rules via their wizards.

Usage information for exporting custom reports is available in the Sage Intacct product help.

Package file template

<?xml version='1.0' encoding='UTF-8'?>
<customErpPackage xmlns:xsi="">
        <name>My custom package</name>
        <description>Good stuff you will want</description>
        <author>My name</author>
        <!-- Put the exported definitions for custom fields here. -->
        <!-- Put the exported definitions of Smart Rules, Smart Events, or Smartlinks here -->
        <!-- Put the exported definitions of custom reports here. -->


Sample package file

The following shows a sample package file that provides a custom field and a related custom report:

<?xml version="1.0" encoding="UTF-8"?>
<customErpPackage xmlns:xsi="">
        <name>Commission Report with Subtotals</name>
        <description>Commission Report with Subtotals</description>
            <fieldSet />
            <description>Commission Amount</description>
            <name>Commission Report with Subtotals</name>
            <description>Commission Report with Subtotals</description>

XML refresher

What’s next?

Provide feedback