Skip to main content

Concepts

Lattice is one package with three capabilities. Each answers a different integration question: how do I make a transaction happen, how do I move data in and out, and how do I know that something happened. Knowing which part answers which question helps you decide what each of your systems should call.

CapabilityThe question it answersWhat Lattice adds
Integration operations"Make this transaction happen"188 REST operations in 31 services, in 14 service groups
Data entities"Get this data in or out"155 data entities (139 of them on OData), 1 composite entity and 2 extensions of standard entities
Business events"Tell me when it happens"81 business events across 16 modules

Integration operations​

The integration operations are a REST surface over the transactions your business runs: sales and purchase orders, general ledger and other journals, inventory, production, fixed assets, projects, expense reports and workflow. Each operation is a standard Finance and Operations custom service operation, called at https://{environment}/api/services/{ServiceGroup}/{Service}/{Operation} with a token from Microsoft Entra ID.

Every operation shares one request and response shape. A request names its legal entity (LegalEntityId), and a request that posts or creates a document carries a RequestId. Every response says Success, gives an ErrorCode and IsRetryable when it fails, and names the document it created. An integrator who has called one operation can call the rest without learning a new shape.

Most operations that post also have:

  • a preview: PreviewMode set to true checks the request and returns whether it would post, without posting a document or sending an event (Posting preview);
  • a batch form (the operation name with Batch appended) that takes many documents in one call;
  • for the long-running ones, such as fixed asset, revaluation, cost calculation and journal postings, an asynchronous run: submit it, then ask for its status (Batch and asynchronous operations).

Partners that send files instead of calling the API use file ingestion: Lattice pulls the files from Azure Blob storage, Azure file shares or SFTP on a schedule, maps each record and runs the same operations (File ingestion).

Data entities​

Lattice fills gaps in the standard data entity catalog. Some entities close functional gaps, such as customer and vendor contacts, document attachments on orders, invoices and projects, intercompany order lines and print management settings. Others serve integrations at volume: set-based import entities for high-volume journals and documents (Set-based imports), and cross-reference entities that let a caller send its own system's keys instead of Finance and Operations IDs (Cross-reference keys). The monitoring entities expose the Lattice logs (service calls, idempotency claims, asynchronous operations, business events) as read-only OData feeds.

Use the data entities when the question is "get this data in or out", through OData or data management, and the integration operations when the question is "make this transaction happen". They work together; neither replaces the other. The full list: Data entity reference.

Business events​

Lattice adds 81 business events that Finance and Operations does not ship. When a document posts or a status changes, the event goes to the endpoint you activate it for (Azure Event Grid, Azure Service Bus or an HTTPS webhook), and the receiving system reacts to the change itself instead of polling for it.

Lattice events are standard business events: you activate them on the standard Business events catalog, and they route and retry like the events Microsoft ships. Their payloads share common members, such as the legal entity, the document and an event sequence that orders the events of one record (Event catalog).

Exactly once: the RequestId​

Integrations retry. Networks drop, timeouts fire and message brokers deliver twice. Lattice makes a retry safe:

  • An operation that posts or creates a document takes a RequestId, a GUID the caller generates once per business request. (The two operations that set sales prices are the exception: their requests have no RequestId.)
  • The first call with a RequestId runs. A call with the same RequestId after it succeeded runs nothing and returns the same result, with the same document number, marked as a duplicate.
  • A call that failed can be sent again with the same RequestId, and it runs again.
  • While the first call is still running, a second one is told to retry later instead of running twice.

So the caller retries with the same RequestId until it gets an answer, and the document is posted once. Queries and other read-only operations change nothing, so they can always be repeated. Walkthrough: Post a journal exactly once.

Tracing and audit​

Every request can carry a CorrelationId, which the response echoes, so you can follow one business transaction across your systems. By default Lattice writes each call that posts or changes data to the Service call log, with its caller, duration, outcome and the document it created, and keeps the idempotency claims behind exactly-once on the Service idempotency log. Status queries are logged only when they fail, so polling does not fill the log. When someone asks months later what happened to a document, you can trace it back to the calls that produced it.

Security and licensing​

Access is standard Finance and Operations security: Lattice ships 6 roles built from Lattice duties and privileges, and each caller is a Microsoft Entra application mapped to a user with a role (Security and access). The license is a separate gate. It never grants or removes access, and it stops Lattice processing only on a production environment, after a warning period (License behavior).

Where to go next​