Packages

Use this function to access the standard Sage packages and create custom packages.

Packages are node modules that group features into consistent chunks, like how modules are structured in Sage X3.

There is no direct one-to-one correspondence between Sage X3 modules and Sage X3 Services packages. The structure of node packages supports dependencies but prevents circular references, meaning a chain of dependencies that forms a closed loop is not allowed.

Sage X3 Services packages consist of main packages and linking packages. Linking packages act as intermediaries between main packages and their dependencies, or as collections of shared resources.

Screen management

The screen is defined in 3 tabs:

  • The header,

  • The General tab,

  • The Activity code (specific) tab.

Header

This section outlines the key information for packages.

General tab

In this section, you can configure the various links associated with the package.

Activity code (specific) tab

In this section, you can link specific activity codes to a package.

Standard activity codes do not require any setup in the Packages function (GESAPACK). They are automatically generated in the x3-system package if they are used in an API.

However, specific activity codes (starting by X, Y or Z) must be linked to a package to be generated.

Available standard packages

The following table shows the standard Sage X3 packages and how they are organized and structured:

Package type

Main packages

Linking packages

Main package for the module or activity code

Sage X3 module

Activity code

Application

 

x3-finance

 

Yes

Financials

 

x3-stock

 

Yes 

Stock

 

x3-manufacturing

 

Yes

Manufacturing

 

x3-project-management

 

 

 

Yes 

Common data

PJM

x3-project-management-manufacturing

 

Common data

 

x3-project-management-stock

 

Common data

 

x3-purchasing

 

 

Yes

Purchasing

 

x3-purchasing-finance

 

Financials

 

x3-purchasing-sales

 

Sales

 

x3-purchasing-manufacturing

 

Purchasing

 

x3-sales

 

 

Yes

Sales

 

x3-sales-finance

 

Financials

 

x3-sales-stock

 

Stock

 

x3-sales-manufacturing

 

Manufacturing

 

x3-purchasing-sales

 

Purchasing

 

x3-sales-project-management

 

Common data

 

Shared

x3-finance-data

 

 

Common data

 

x3-invoicing-data

 

 

Common data

 

x3-manufactruing-data

 

 

Common data

 

x3-master-data

 

Yes

Common data

 

x3-physical-flows-data

 

 

Common data

 

x3-project-management-data

 

 

Common data

 

x3-purchasing-data

 

 

Common data

 

x3-sales-data

 

 

Common data

 

x3-stock-data

 

 

Common data

 

x3-structure

 

 

Supervisor

 

x3-system

 

Yes

Supervisor

 

Standard packages are located in the /application or /shared directories within Sage X3 Services, and in the node-modules/@sage directory within Sage X3 Builder.

Custom and add-on packages are generated in the /application/@[YourNameSpace] or /shared/@[YourNameSpace] directories within Sage X3 Builder Developer Studio, where [YourNameSpace] is the namespace you choose for your packages.

Error messages

The only error messages are the generic ones.

Tables used

The following tables are implemented by the function:

Table Table description
APACKAGE [APACK] Package name (API)
APACKACV [APACACV] Activity code for packages