# Accredo Saturn, extended. *Markdown copy of https://xba.co.nz/accredo. The web page is canonical; this file is generated from it.* Accredo Saturn · deep specialty Accredo Saturn customisation is the work of making Accredo do the specific things your business does — MaxBasic scripts, scripted forms, custom tables, special pricing rules and API integration — without compromising the ledger it runs on. XBA does that work from twenty-plus years of living in Saturn as the daily source of truth: writing the scripts, designing the forms, owning the reporting. By [Andrew Redward](https://xba.co.nz/about), XBA · Last reviewed 14 October 2026 [Book a free process audit](https://xba.co.nz/process-audit) [See the capabilities](https://xba.co.nz/accredo#capabilities) Personal reply from Andrew within one business day. MaxBasic · scripted forms · OData API · fixed-price delivery · NZ-owned & operated Where Saturn gets extended — native, not bolted on 01 **Inside Saturn** Event scripts, scripted forms, custom tables and pricing rules that behave like the product shipped with them. 02 **Around Saturn** Web apps, dashboards and integrations that read and write through supported routes — the ledger stays the single source of truth. 03 **Instead of re-keying** Data captured once, at the source, posting to Saturn the way Saturn posts to itself. Everything documented and handed over. No black box. *Capabilities* ## What does Accredo Saturn customisation include? Six capabilities, each built with Accredo Saturn’s own tooling rather than a layer beside it. Saturn is deeply extensible if you know where the hooks are. This is the toolbox — each capability delivered as a documented, supportable build, not a one-off script. 01 / Scripting ### MaxBasic event scripting Business rules enforced where they belong — in the transaction itself. BeforeSave validation, AfterSave and AfterPost automation, OnPrint document logic, plus scheduled batch scripts for the work that runs overnight. event hooks · validation · batch automation [MaxBasic scripting in depth →](https://xba.co.nz/accredo/maxbasic-scripting) 02 / Forms ### Scripted forms & documents Custom entry screens, dashboards and maintenance forms built in Saturn's Form Designer — grids, combos, live lookups and code behind them. Invoices, packing slips and statements that print exactly what your process needs. form designer · document layouts · edit grids [Scripted forms in depth →](https://xba.co.nz/accredo/scripted-forms) 03 / Data ### Custom tables & fields Standalone custom tables and extension fields on Accredo's own tables, indexed and registered properly — so the data your business actually runs on lives inside Saturn with everything else, not in a spreadsheet beside it. custom tables · extension fields · indexes [Custom tables in depth →](https://xba.co.nz/accredo/custom-tables) 04 / Pricing ### Special pricing engines SP scripts that resolve multi-tier customer agreements, contract pricing and volume breaks at quote and invoice time — automatically, consistently, and without the sales team maintaining a shadow spreadsheet. SP scripts · pricing matrices · agreements [Special pricing in depth →](https://xba.co.nz/accredo/special-pricing) 05 / API ### OData API integration Saturn's web service API opens the ledger to the systems around it — reads, standard record writes and raw queries over OData/REST. The route for connecting web apps, Microsoft 365, HubSpot, e-commerce and reporting tools. OData / REST · web services · external apps [The Accredo API in depth →](https://xba.co.nz/accredo/api-integration) 06 / Reporting ### Bespoke reporting & dashboards From reports inside Saturn to live browser dashboards reading ERP data — branch performance, stock, pricing and margin in one view that refreshes itself, instead of a monthly spreadsheet ritual. live dashboards · SQL · scheduled output [Data & reporting in depth →](https://xba.co.nz/services/reporting) *Which mechanism* ## Which Accredo customisation does a requirement need? Almost every request arrives named after a solution — "we need a script", "can you add a field" — and the name is right perhaps half the time. The reliable way to choose is to start from the shape of the requirement: who it applies to, where those people are, and who has to be able to change it afterwards. **Which Accredo Saturn customisation mechanism fits each common shape of requirement, where it runs, and who changes it afterwards** | The requirement | The mechanism | Where it runs | Who changes it later | | --- | --- | --- | --- | | A rule must hold on every record, however it gets entered | A [MaxBasic event script](https://xba.co.nz/accredo/maxbasic-scripting) on the save or the post | Inside Saturn, as the transaction is saved or posted | A developer. The rule is code, and is version-controlled like code | | Work that should happen on a schedule, with nobody at a screen | A [MaxBasic batch script](https://xba.co.nz/accredo/maxbasic-scripting#where) | Inside Saturn, on a timer | A developer. When it runs is scheduling rather than code, and changes without touching the script | | People who already have Saturn open need a screen it does not have | A [scripted form](https://xba.co.nz/accredo/scripted-forms) built in Form Designer | Inside Saturn, as another screen | A developer for the form; the people using it, for the data on it | | An invoice, packing slip or statement has to show something it does not | A [document layout](https://xba.co.nz/accredo/scripted-forms#documents), with logic behind it only where the content has to be decided | Inside Saturn, at print time | Layout changes are cheap and frequent; logic changes are code | | Information the business runs on lives in a spreadsheet beside Saturn | A [custom field](https://xba.co.nz/accredo/custom-tables) if it belongs to a record Saturn already has; a [custom table](https://xba.co.nz/accredo/custom-tables#decide) if it has a life of its own | Inside the company data, beside the product’s own tables | The business, through a maintenance screen. The definition stays with a developer | | Different customers pay different prices, and somebody remembers which | [Special pricing rules](https://xba.co.nz/accredo/special-pricing) first; an SP script only once the rules genuinely run out | Inside Saturn, as each line is priced | The business changes a rule; a developer changes a script. That difference decides the route | | Another system needs what the ledger knows, or needs to put records into it | The [OData web service API](https://xba.co.nz/accredo/api-integration) | Around Saturn, over HTTP, from wherever the other system lives | Whoever maintains the other system, against a documented contract | | The people doing the work are in a warehouse, a van or on a phone | A [small web application](https://xba.co.nz/services/custom-apps) that validates against live Saturn data and posts through a supported route | Around Saturn, in a browser; the posting happens inside it | A developer. The [field service case study](https://xba.co.nz/work/field-service-management) is the worked example | | The numbers are for people who never open Saturn | [Reporting](https://xba.co.nz/services/reporting): a scheduled extract, or a live browser dashboard reading through the API | Around Saturn, read-only | Whoever owns the definition of the number, which is the real work | The row a request lands in is often not the one it was named after. Finding the right row is the audit’s job. Two things decide most rows. The first is where the people are: anyone who has Saturn open all day is served inside it, and anyone who does not is served by something that posts into it, because a screen inside Saturn is the wrong artefact for a warehouse floor however well it is built. The second is who has to change the thing afterwards. A pricing agreement that a sales manager renegotiates every quarter belongs in a rule the sales manager can edit, not in a script that needs a developer every time. Where the answer is a developer, the work is version-controlled, documented and handed over, so the next developer can be anyone. The honest row is the one the table cannot show. A good proportion of requests, once the rule as practised is written down, turn out to need nothing built: the product already does it, a setting was never switched on, or the process is the thing to change. Saying so is part of the [free process audit](https://xba.co.nz/process-audit), and it is said more often than the toolbox above would suggest. *Beyond the desktop* ## What about the work that happens away from a Saturn screen? The most expensive gap in most Accredo sites isn't in the office — it's everywhere the work happens away from a Saturn terminal. Goods received in the warehouse, jobs completed in the field, returns arriving at the dock: all captured on paper or memory, then re-keyed later, with drift. XBA builds [web applications](https://xba.co.nz/services/custom-apps) for exactly these edges — barcode-driven warehouse capture, field service job sheets, returns processing — that **capture the record once, at the source, and post it to Saturn the way Saturn posts to itself.** The [field service management case study](https://xba.co.nz/work/field-service-management) is one of them, written up in full — including which data travels the OData API and which has to be posted natively. The rest of the published work is summarised on the [work index](https://xba.co.nz/work). 01 **Captured once** Scanning, job completion and parts usage recorded where they happen — no dockets in vans, no end-of-day typing. 02 **Validated before it lands** Every record checked against live Saturn data — products, customers, locations — before anything commits. 03 **Invoice-ready** Completed work posts straight to the ledger. The invoice goes out the same day, not next week. *Integration topography* ## How does data get into Accredo Saturn safely? Getting data into Saturn safely is a design decision, not a default. Reads and standard records travel the supported OData API. Transactional writes that have to land cleanly use native MaxBasic, posting directly the way Saturn posts to itself. Both routes treat the ledger as the single source of truth. PATH A · OData API reads + standard records external app › OData / REST › Saturn API layer › validate PATH B · Native MaxBasic transactional writes staged record › MaxBasic event › native post routine › commit // The wrong path is how integrations corrupt ledgers. Choosing correctly is the specialty. Path A has more in it than one lane suggests. Saturn's web service is an OData v4 REST API with three distinct mechanisms behind it — entity endpoints, a read-only SQL passthrough and server-side script calls — and choosing between those is its own decision. [The Accredo API and OData integration page](https://xba.co.nz/accredo/api-integration) sets all three out in a comparison table, along with the authentication and concurrency detail, and is honest about [where the API stops](https://xba.co.nz/accredo/api-integration#limits). Path B has its own decisions in it too. Native MaxBasic means a script running inside Saturn, and where that script attaches — to the save cycle, to the post, to a document, or to nothing at all but a schedule — changes what it can do and how it fails. [The MaxBasic scripting page](https://xba.co.nz/accredo/maxbasic-scripting) takes [the four event hooks](https://xba.co.nz/accredo/maxbasic-scripting#hooks) one at a time, and is equally honest about the cases where the right recommendation is not to script at all. The [field service management case study](https://xba.co.nz/work/field-service-management#integration) sets the two paths side by side in a comparison table, against a build that used both: the API for lookups, job records and every validation check, and native posting for the completed job. *The honest part* ## When is customising Accredo Saturn the wrong answer? Customising an ERP is the wrong answer whenever the thing being customised is not the problem. That sounds obvious, and it is the most common finding of the audit. Four situations account for most of it. **The product already does it.** Saturn is a mature product with a long list of settings, standard reports and pricing rules that many sites have never fully configured. A request for a custom report is often a request for a standard one with the right filters; a request for a pricing script is often a request for a rule that was never set up. Checking this comes before quoting anything, and it costs nothing. **The process is the problem.** A customisation that encodes a workaround makes the workaround permanent and gives it a maintenance cost. If three people re-key the same figure because two systems disagree about who owns it, a script that re-keys it faster has automated the disagreement. The fix is upstream, and sometimes it is a conversation rather than a build. **Nobody can state the rule.** A script enforces exactly one version of a rule, so a rule the business cannot agree on becomes a script that enforces one person’s guess and fires on everyone else. Where the rule as described in a meeting and the rule as practised at the desk differ, that gap is the work, and it is closed before any code is written. **The install is about to change.** A version upgrade or a change of system in the next few months changes what is worth building now. Work built against the supported surface should carry through an upgrade, but a build that will be re-tested in eight weeks anyway is usually better scheduled on the far side of it. Each capability page asks the same question about its own mechanism, and the answers are more specific there: when [scripting](https://xba.co.nz/accredo/maxbasic-scripting#limits), [a custom form](https://xba.co.nz/accredo/scripted-forms#limits), [putting the data in Saturn at all](https://xba.co.nz/accredo/custom-tables#limits) or [special pricing](https://xba.co.nz/accredo/special-pricing#limits) is the wrong answer, and [where the API stops](https://xba.co.nz/accredo/api-integration#limits). 01 **Check the product first** A standard report with the right filters, or a rule nobody switched on, is the cheapest build there is. 02 **Do not automate a workaround** If the process is wrong, a faster version of it is still wrong, and now has a maintenance bill. 03 **Write the rule down before the code** The meeting version and the desk version are rarely the same. The gap is the work. 04 **Build after the upgrade, not before** Anything that will be re-tested in eight weeks anyway is better scheduled on the far side of it. Running Accredo Saturn and drowning in a manual process? **Tell me what's eating the week — the audit is free.** [Book a free process audit](https://xba.co.nz/process-audit) *Straight answers* ## Questions about extending Accredo Saturn. ### Can Accredo Saturn be customised? Yes, and more deeply than most sites running it realise. Accredo Saturn is extensible through its own built-in tooling: a scripting language that runs inside the product, a form designer for building custom screens, table tools for adding fields and standalone tables, pricing rules, document layouts, and a web service API for the systems around it. All of it is the product extending itself rather than a third-party layer bolted alongside, which is why a well-built customisation behaves like part of Saturn instead of like something attached to it. ### What parts of Accredo Saturn can be extended? Six areas cover almost all of it. Event scripting puts business rules inside the save and post cycle. Scripted forms build custom entry screens, maintenance grids and dashboards. Custom tables and extension fields let information your business actually runs on live inside Saturn rather than in a spreadsheet beside it. Special pricing rules resolve tiered agreements and volume breaks at quote and invoice time. The OData web service opens the ledger to external systems. Reporting runs from inside the product out to live dashboards. Most real projects use two or three of them together. ### Will Accredo customisations survive an upgrade? Work built against the product’s supported surface should carry through. Work that leans on behaviour the product never promised is what breaks, and it usually breaks quietly rather than loudly. The difference is a build decision, not luck. Customisations are version-controlled and documented so that an upgrade becomes a test you run rather than a discovery you make months later, and upgrades are coordinated with whoever maintains your Saturn install rather than sprung on them. ### Should something be built inside Accredo or in a separate system? It depends on who has to touch it. A rule that must hold for every record, including ones typed straight into Saturn by a person, has to live inside Saturn — an external system cannot police what it never sees. A screen for people who already have Saturn open all day belongs inside it too. But where the people doing the work are in a warehouse, in a van or on a phone, a screen inside Saturn is the wrong artefact regardless of how well it is built, and the answer is a small application that posts into Saturn through a supported route. ### How is Accredo customisation work scoped? By finding out what the rule or the job actually is before quoting anything, because the version described in a meeting and the version practised at the desk are rarely the same. That first conversation is a free process audit with a written outcome, and it fairly often ends with the recommendation that the product already does this, or that a process needs changing rather than a system. Where there is a build, it is scoped and quoted before it begins and delivered fixed-price, with documentation and handover in scope rather than sold afterwards.