Your first hour with Lattice
Goal. See Lattice work on your own data: a price looked up, a journal checked without posting, the same journal posted exactly once even when it is sent twice, and a business event on its way to your endpoint.
You start with Lattice deployed to a non-production Finance and Operations environment (a sandbox, a unified developer environment or a development VM) on a version listed on the compatibility page, and administrator access to it. Get started and the install guide take you there. For the calls from outside you also need the rights to register an application in your Microsoft Entra tenant, and an HTTP client such as Postman. Nothing here is for production.
What you are evaluating:
| Area | What Lattice adds |
|---|---|
| Integration services | 188 REST operations in 31 services, in 14 service groups that deploy with Lattice |
| Data entities | 155 data entities (51 read-only, 104 writable), 1 composite entity and 2 extensions of standard entities |
| Business events | 81 business events across 16 modules |
| Security | 6 security roles, built from Lattice duties and privileges, that you assign like any other role |
The operations cover accounts receivable, accounts payable (including vendor check payments), inventory, production, general ledger (journals with ledger, customer, vendor and bank lines), fixed assets (from acquisition through adjustments, transfers, splits and reversals), projects, expense reports and workflow. They can also post a journal that is already in Finance and Operations, entered on its page, imported through data management or created through the standard journal entities. How the parts fit together: Concepts.
1. Check the license and switch Lattice on
Once Lattice is deployed, the environment checks in with Magicite licensing by itself when it starts. A trial needs no license key, and there is no activation page. To check in now, run System administration > Setup > Magicite > License refresh (Magicite license administrator or System administrator).
Nothing needs switching on: the Lattice services, data entities and pages are there as soon as the deployment finishes. A deployment of your build through Lifecycle Services or the Power Platform admin center synchronizes the database for you, and so does a deployment of the models with database synchronization on a unified developer environment; on a development VM, synchronize it yourself afterwards. A first call that fails right after the install is most often a missing synchronization.
The License check on Lattice setup status (step 2) shows the license result. To see the status itself, select License status in the Links section of System administration > Workspaces > Integration operations: it says whether Lattice is, or will be, blocked in this environment.
Good to know about licensing
- Licensing does not get in the way of a trial. Lattice never blocks an environment that is not production.
An environment that has not checked in yet reads
Unlicensed; on a sandbox that blocks nothing. On production, service writes stop only from the block date in the license warning, or at once when the license is suspended or revoked (When Lattice blocks). Ask Magicite about the terms of your evaluation. - Data entities and business events are never refused by the license. Only Lattice service writes and the processing actions on its pages are. A lapsed license never stops data management jobs or integrations that write through the entities.
- Lattice comes directly from Magicite, not from AppSource.
2. Minimum setup
Lattice tells you what is still missing. Open System administration > Workspaces > Integration operations. The Setup status tile counts the setup checks that need attention; select it to open Lattice setup status (also on System administration > Setup > Lattice > Setup status). Each of its four checks says what it found, why it matters and where to fix it, and Open setup opens that page where there is one. Work down it: fix each one, select Refresh, and go on until every check is OK.
| Check | What it finds | How to clear it for the first hour |
|---|---|---|
| Caller sign-in | No Microsoft Entra application in Finance and Operations is mapped to a user who holds a Lattice role | The steps below |
| Scheduled jobs | A file ingestion connection is enabled, or the inbound order policy is on in a legal entity, but the recurring batch job it needs (Run file ingestion, Process file ingestion segments or Inbound order policy evaluation) is not scheduled | Nothing to do for this guide: it uses neither. When you turn one on later, schedule its job: Jobs to schedule |
| License | The Lattice license for this environment is not valid, is in its warning period, or has no result yet because the environment has not checked in | It clears once the environment has checked in (step 1). A license gap never blocks a sandbox |
| Background processes | One of Lattice's automated maintenance processes is not registered, or the process automation polling job that runs them is not scheduled | The deployment registers them. On a development VM a synchronization from Visual Studio does not: Background processes on a development VM |
Clear Caller sign-in
- In the Azure portal (Microsoft Entra ID > App registrations), register a single-tenant application for your HTTP client and create a client secret. Note the Application (client) ID and the Directory (tenant) ID.
- Create a dedicated, non-interactive user for it on System administration > Users > Users, with Company set to the legal entity you will test in.
- On System administration > Setup > Microsoft Entra ID applications, select New, enter the Client Id, a Name and, in User ID, that user, and save.
- Assign the user the Integration operator role on System administration > Security > Assign users to roles. It can post, query and monitor, and it cannot run the high-risk operations. For a look-only trial, use Integration read-only. Do not assign Database access administrator: it grants just-in-time database owner access, no step here needs it, and it should stay unassigned (I want to grant temporary database access).
Then, once after the deployment, select Refresh metadata on System administration > Inquiries > Lattice > Services > Service metadata explorer, so the explorers and the Service test console know the operations. More on roles and registration: Security and access.
3. Your first result on your own data
Use a sandbox with a copy of your own data if you have one. Pick, in the legal entity you test in:
- a customer and an item that has a sales price for that customer;
- a journal name of type Daily, and two main accounts that allow manual entry;
- a posting date in an open ledger period (today, usually).
Every service operation has the same URL shape, and the request goes in a _request property:
POST https://{environment-url}/api/services/{ServiceGroupName}/{ServiceName}/{OperationName}
To get requests ready to send, take the Postman collections from Downloads, or select Postman on the Service metadata explorer to make one from your environment.
Get a token
Use the client-credentials flow with your application's client ID and secret, scope
https://{environment-url}/.default. If this fails, the problem is the app registration, not Lattice: see
Troubleshoot the setup.
Look up a price (read only)
POST /api/services/MGCLatticeAccountsReceivableServiceGroup/MGCLatticePriceInquiryService/resolveSalesPrice
{
"_request": {
"LegalEntityId": "your legal entity",
"CustAccount": "your customer",
"ItemId": "your item",
"Qty": 1
}
}
What you should see: "Success": true, "PriceFound": true and the UnitPrice your price setup gives. This
call changes no business data, and the license never refuses it. A success here means sign-in, routing, security
and the legal entity are all right.
Check a journal without posting it
POST /api/services/MGCLatticeGeneralLedgerServiceGroup/MGCLatticeGeneralLedgerJournalService/postGeneralJournal
{
"_request": {
"RequestId": "9b2d5f60-1c34-4e8a-b7d2-0a4c6e8f1b23",
"LegalEntityId": "your legal entity",
"UserContext": "trial",
"JournalNameId": "your journal name",
"Description": "Lattice trial journal",
"PostingDate": "2026-11-24",
"PreviewMode": true,
"Lines": [
{
"MainAccountId": "your first main account",
"OffsetMainAccountId": "your second main account",
"AmountCurDebit": 10.00,
"AmountCurCredit": 0,
"CurrencyCode": "USD",
"Description": "Lattice trial",
"TransDate": "2026-11-24"
}
]
}
}
Use your accounting currency and today's date. What you should see: "Success": true, "PreviewApplied": true
and the message "... is valid. No journal was created or posted." A preview validates the request and returns the
outcome without using a number sequence, creating a document or sending an event, and the license never refuses it
(Posting preview).
Post it exactly once
Send the same request with "PreviewMode": false and the same RequestId. What you should see: "Success": true, a DocumentId (the journal number) and the message "General journal ... posted successfully." Then send it
again unchanged: the second call returns the same DocumentId with the message "Duplicate request detected ..." and
the note "This is a cached response from a previous execution of the same RequestId", and no second journal is
created. That is the exactly-once guarantee, and the most important thing to see in a trial. A preview does not use
up its RequestId, so you can post with the same one. Walkthrough:
Post a journal exactly once.
See a business event on its way
- Open the standard System administration > Setup > Business events > Business events catalog.
- If you have no endpoint yet, open Endpoints, select New, pick the type (Event Grid, Service Bus or an HTTPS webhook) and enter its details.
- Find
MGCLatticeGeneralJournalPostedBusinessEvent(its payload) and Activate it for your legal entity against that endpoint. If the event is not listed, select Manage > Rebuild business event catalog and look again. - Post a journal again with a new
RequestId(a repeated one returns the cached result and posts nothing).
What you should see: the payload arrives at your endpoint. Lattice events are standard business events, so they route and retry like the ones Microsoft ships (Event catalog).
See what you did
Open System administration > Inquiries > Lattice > Services > Service call log: each call is there, the preview
with Preview selected, with its status and duration. The same history is in the read-only OData feeds
LatticeServiceCallLogs, LatticeServiceIdempotencyLogs (the claims behind exactly-once),
LatticeAsyncOperationTrackingRecords and LatticeBusinessEventLogs. Status queries are logged only when they
fail, so polling adds no rows.
Prefer to click rather than send requests? Service test console (System administration > Inquiries > Lattice > Services) runs a Lattice operation from inside Finance and Operations, in preview mode too. It needs the Integration developer or Integration administrator role, and a real run posts a live transaction.
On a USMF demo sandbox the same calls run as they are with these values: legal entity
USMF, customerUS-001, itemD0001(480.00 USD), journal nameGenJrn, main accounts110110(Bank Account - USD) and110180(Petty Cash).
When it goes wrong
| Symptom | Most likely cause | Where to look |
|---|---|---|
| HTTP 401 | No valid token: wrong scope or an expired secret | HTTP 401 |
| HTTP 403 | The token is valid, but the application is not on Microsoft Entra ID applications (or its user is disabled), or the user has no Lattice role that grants the operation | HTTP 403 |
| HTTP 403 on a Lattice data entity | The user holds a custom role without the entity duties, or writes a cross-reference entity without the Integration administrator role | Security model |
| HTTP 404 on a service URL | The deployment did not finish, or a name in the URL is misspelled | Service group not deployed |
Error code LicenseNotValid | A production environment reached its license block date, or its license is suspended or revoked. A sandbox is never blocked | When a call returns LicenseNotValid |
| "Voucher not specified" | Number sequences are not set up in the legal entity | The legal entity's setup, not the request |
Entities missing from /data/ | The database was not synchronized | Verify the setup, check 9 |
More: Troubleshoot the setup and Troubleshoot day-to-day operations.
4. What to try next
| You want to | Read |
|---|---|
| Look after integrations every day | Integration operator, and the process guide Monitor integrations every day |
| Own the setup, security and risk | Integration administrator |
| Set Lattice up properly, stage by stage | The process guide Set up Lattice in an environment |
| Build an integration | Integration developer, API reference, Endpoint payload specification |
| Take in files from a partner | Inbound file to posted document, Intake accelerators |
| See every capability | Using Lattice |
| Plan security | Security model |
Removing it
Lattice is an ISV-layer model with no overlayering. To remove it, delete the Lattice module folder from your source control, and the licensing module folder only if no other Magicite product on the environment uses it (other products share it). Remove those modules from the environment the way Microsoft documents for uninstalling a model, and deploy your next build, which synchronizes the database. The synchronization drops the Lattice tables and their data. Deactivate the business events you activated first, so endpoints stop receiving traffic. The Upgrade path section of the Deployment guide says how versions and layers behave.
5. Get help
Email support@magicite.tech with what you tried and what you saw: the environment,
the Finance and Operations version, the version of your Lattice download, the UTC time and the RequestId or error
text. Every request gets a first response by the next business day. The support policy is on
magicite.tech/support.