How to add approval workflows to Sage X3
Build a workflow in Portal that starts on an event, such as a new draft order, and add an Approval step. Approvers decide in one queue, and only approved work goes on to Sage X3 as a Sage X3 sales order, of type SON by default, in the sales site you choose.
About Sage X3.
Sage X3 is Sage's ERP for mid-sized companies with complex operations, aimed above all at manufacturing, distribution and food and beverage. It covers finance, sales, purchasing, inventory and production, and it was sold for a time under the names Sage ERP X3 and Sage Enterprise Management.
Most X3 sites run on their own servers or at a hosting partner. In November 2025 Sage also launched a next generation of Sage X3 delivered by Sage itself as a fully managed, continuously updated cloud service, first for early adopters in the UK, the US and Germany, with France, Canada and South Africa announced next.
One X3 server holds several folders, each a separate set of company data such as a live folder and a test folder. Integrations do not talk to "X3" in general but to one folder, through a web server (Syracuse) endpoint connected to it.
Portal by Webisoft is a B2B portal for Sage X3: customer self-service and team apps on live Sage X3 data.
Why connecting to Sage X3 is hard.
X3 has its own workflow rules, but the people approving an order often do not work in X3 at all.
Writes still go through classic SOAP
Sage X3 has two kinds of web services. The REST Web API gives read-only representations of every resource, but modules that still run on classic screens, which include sales orders and quotes, are written through the SOAP web services. An integration that wants to create orders in X3 has to speak the older SOAP protocol.
Every object has to be published, and pools have a size
A SOAP call names a public name declared in X3's Publication function, so each object an integration reads or saves must be published first. Calls run through a classic SOAP pool set up in the Syracuse administration, with a maximum number of clients per web services process, so heavy traffic queues behind the pool's size.
One folder per endpoint
An X3 server supports several folders, and each Syracuse endpoint is connected to one folder code. The SOAP pool sets the endpoint its requests use, so the folder an integration writes to is decided by the pool configuration, and a test folder needs its own pool.
Cloud and on-premises sign in differently
Sage documents user name and password (basic) authentication and certificates for web services on premises, and says neither is supported by Sage X3 Online, where OAuth 2 is the only method. Moving a folder to Sage's cloud changes how every integration signs in.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Sage X3 add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Sage X3 write rules yourself. |
| Custom code | The need is unique and you have developers who know Sage X3. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Sage X3 data. | It works on top of Sage X3; it does not replace it. |
How Portal reaches Sage X3.
Portal talks to Sage X3 version 12 (patch 9 and later) through the classic SOAP web services: query, read and save calls to the CAdxWebServiceXmlCC service on your X3 web server, with the alias of a SOAP pool and a web service user and password. Your X3 administrator publishes the objects Portal uses (customers BPC, items ITM, stock by site ITV, quotes SQH, orders SOH, invoices SIH, payments PAY, deliveries SDH and returns SRH), adds the update date UPDDATTIM to each left list so Portal can sync only what changed, and adds a YPORTALREF user field to orders and quotes.
Every order and quote Portal saves carries its portal reference in that user field, and Portal queries for it before each save, so a retry never creates a second document. Credit control set to Blocked stops an order before it reaches X3, and inactive items are refused. For an X3 server inside your network, the connection can go through the Portal On-site connector, which relays each call to the X3 web server over outbound connections only. Portal signs in with basic authentication, which Sage supports on premises; Sage X3 Online, which only accepts OAuth 2, is not covered yet.
What you need.
- Sage X3 version 12, patch 9 or later, on your servers or at a hosting partner
- An X3 administrator who can configure a classic SOAP pool, publish web services and add a user field
- At least one person with the Approver or Admin role in Portal
Step by step.
Your Portal team sets up the Sage X3 connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Publish the X3 web services and connect
In Sage X3, an administrator sets up a classic SOAP pool on the endpoint of the folder Portal should use and publishes the objects Portal calls: BPC, ITM, ITV, SQH, SOH, SIH, PAY, SDH and SRH, each left list with its keys and UPDDATTIM. Orders and quotes get a YPORTALREF user field. In Portal, under Setup, ERP, ERP system, choose Sage X3 and enter the X3 web server address, the pool alias, the sales site, the order and quote types (SON and SQN by default) and the web service user and password, then choose Test connection.
Start from a template
In Workflows, choose Start from a template, for example the email draft approval, or New workflow.
Add the Approval step
Add a step, Approval, write what the approver should check and pick the role or person. On the approved path, submit the draft to Sage X3; on the rejected path, discard it.
Test and turn on
Use Test for a dry run, then Turn on. Decisions happen on the Approvals page.
What syncs with Sage X3.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | Yes | Credit hold when credit control is Blocked |
| Items | Yes | Yes | Only active items can be ordered |
| Prices | Yes | No | Item base price; X3 price lists are not mapped yet |
| Stock by site | Yes | No | Accepted stock less allocations |
| Sales quotes | Yes | Yes | Converted to a sales order whose lines reference the quote |
| Sales orders | Yes | Yes | Credit control and item status checked first |
| Sales invoices | Yes | Yes | Posted invoices, balance from the open items |
| Customer payments | Yes | Yes | One line per invoice paid; a surcharge is not posted |
| Deliveries | Yes | Yes | Validated deliveries, tracking from the PRO number |
| Customer returns | Yes | Yes | Made from the deliveries |
| Purchase orders | Yes | Yes | Update expected receipt dates and quantities |
| Attachments | No | No | The SOAP web services take no files |
Limits today: Today the connection works with Sage X3 on your own servers or at a hosting partner. Sage X3 Online and X3 price lists are not covered yet.
What you can do next.
- Orders over a set amount wait for a manager before they are written to Sage X3.
- Documents Sage X3 rejected land on the Approvals page, where someone fixes and resends them.
Sage X3 questions, answered.
Do approvers need a Sage X3 seat?
No. They decide in Portal, and Portal sends the approved document to Sage X3.
What if Sage X3 rejects a document?
It appears on the Approvals page as rejected by the ERP, ready to be fixed and resent or cancelled.
Are decisions recorded?
Yes. Each decision and its optional note is kept in the activity log.
Keep going.
- Add approval workflows: overview
- B2B portal for Sage X3
- Connect an AI agent to your ERP, Sage X3
- Automate order entry from email, Sage X3
- Take invoice payments online, Sage X3
- Give customers order status, Sage X3
- Build a B2B ordering portal, Sage X3
- Quotes customers accept online, Sage X3
- Triage a shared inbox, Sage X3
- One REST API for your ERP, Sage X3
- Connect an on-prem ERP safely, Sage X3
- Add approval workflows, Sage 100
- Add approval workflows, Sage 300
- Add approval workflows, Sage 50
- Add approval workflows, Sage 500
- Add approval workflows, Sage Accounting
- Add approval workflows, Sage Intacct
Sources
- Sage X3 help: web services integration, REST read-only representations and SOAP for classic modules
- Sage X3 help: SOAP web services implementation
- Sage X3 help: publicName comes from the Publication function
- Sage X3 help: classic SOAP pool configuration, maximum and initial size
- Sage X3 help: endpoints and the folder they connect to
- Sage X3 help: the pool sets the endpoint of every web service request
- Sage X3 help: authentication methods on premises and in Sage X3 Online
- Sage: next generation Sage X3 as a managed cloud service