Resources  /  Compare

Lattice vs. custom X++ services

If several systems post business documents into Finance & Operations (orders, journals, receipts, production), Lattice gives you those services already built, retry-safe and secured. If you need one narrow operation Lattice does not have, or you only move data a standard entity already handles, a custom service or a standard entity is the honest answer.


What a custom service has to get right

A custom X++ service is more than the operation it performs. To be safe in production it needs the same validation the Finance & Operations page would run, a defined answer for every failure, privileges and a role to grant them, a way to survive a call that is retried after a timeout without posting twice, and a way to test it without posting anything. Each new service repeats that work, usually for one calling system at a time, and each one is retested and maintained through every Microsoft update.

What Lattice is

Lattice is a Finance & Operations package that ships those services already built: 188 operations across 31 services, covering sales and purchasing, journals, inventory, production, projects, fixed assets, expenses and workflow. They are standard custom services, called over HTTP and authenticated with Microsoft Entra ID like any other, so your integrators call them from the tools they already use and your F&O developers do not write them.


Side by side

Custom X++ service or Lattice, question by question.

Question Custom X++ service Lattice
Who builds and maintains it Your F&O developers, one service per scenario. Already built: 188 operations across 31 services, maintained in the package.
A call that is retried Safe only if that service was written to be. Often it is not, and the retry posts a second document. Every operation takes a request id, and a repeat of the same id returns the first result instead of posting again. An hourly sweep finds any call a crash left half done and resolves it, or parks it for a person to decide.
Testing without posting A sandbox and real postings, or test code written for the purpose. General and intercompany journals and sales order confirmation, packing slip and invoice can run as a preview that validates without posting or using a number. A service test console runs any operation in the product.
When something fails Whatever the developer chose to return. A typed error code and message, with no partial state left behind.
Who may call what Privileges and roles you design, test and map yourself. Shipped administrator, operator and read-only roles. The operator role leaves out the high-risk operations, such as cancellations, reversals and fixed asset disposals, so they stay with the people who should hold them.
What integrators learn A new request shape for each service. One shape for every operation: a POST to the standard /api/services/ address, then the service group, service and operation, with the request in _request.
Documentation for integrators Written by hand, and kept in step by hand. Postman collections and OpenAPI specifications generated in the product from the environment's own metadata.
Your systems' own ids A mapping table someone maintains. Callers can send the keys their systems use, such as a shop's order number or a CRM's account id, and Lattice resolves them to the Finance & Operations record.
Microsoft updates You retest and fix each service. Each Lattice release ships one package for each Finance & Operations version it supports.
What it costs Developer time for each service, then its upkeep. One flat price per production instance per year, with no per-call or per-user charge. Free in every non-production environment.

The honest part

When you do not need Lattice.

not needed

You only move data a standard entity already handles

If the integration reads or writes master data through a standard data entity, over OData or Data management, and the entity copes with your volume, you need neither Lattice nor a custom service. Standard entities come with Finance & Operations.

not needed

You need one operation Lattice does not have

Lattice's operations are a fixed catalog. For a business process outside it you still write your own service, and Lattice does not make that work go away. Check the catalog against your list before you decide.

not needed

Your custom service already does the hard parts

If an existing service is retry-safe, secured, tested and cheap to keep, replacing working code is not free. Lattice adds its own services beside the standard processes, so it can take the next integration while that one keeps running.


Where it fits

When Lattice earns its price.

Lattice

Several systems post into Finance & Operations

A web shop, a CRM, a warehouse system and a partner portal would each otherwise get their own service. With Lattice they share one surface, one request shape and one security model.

Lattice

A duplicate posting is expensive

Gateways time out and message brokers redeliver by design. When the call posts a journal or invoices an order, the request id is what keeps the retry from reaching the ledger twice.

Lattice

Integrators need to test against real rules

A preview validates a journal or a sales order posting in the environment without posting it or using a number, so a new integration can be proven before it touches the books.

Lattice

You worry about what an add-on changes

Where Lattice attaches to standard processes, nearly all of it only observes them to publish business events. The few places it changes standard behavior are listed in its documentation, and each is off by default or additive.

Read more: Lattice integration operations, Lattice operations.


Free in your sandbox

Try it free in your sandbox.

Install Lattice in any non-production environment and run it against your own data for as long as you like, with no card and no time limit. You pay only once it goes live in production.

New articles and product news go out in the Magicite newsletter. It is a choice on your account, not a form on this page: sign in with your Microsoft work account and turn it on in your email preferences.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.