Configure Lattice
Lattice works without configuration: once the roles are assigned, a client can call the services and the background processes run. Every Lattice setting starts off, empty or at a working default, so you configure only what your business uses. This page lists every Lattice setup page, what each setting does and its default, and links to the goal that holds the steps.
Before you start: the Integration administrator role (Security and access). Settings stored per legal entity apply to the legal entity you are working in, so switch to each legal entity in turn for those.
Start with the setup status
The Setup status tile on the Integration operations workspace (System administration > Workspaces > Integration operations) counts the setup gaps that are still open. Select it, or go to System administration > Setup > Lattice > Setup status, to open Lattice setup status. It has one row for each of four checks, with its state, what it found, why it matters and where to fix it, and Open setup opens that page where there is one. Select Refresh to run the checks again after a fix.
| Check | Needs attention when | Fix it on |
|---|---|---|
| Caller sign-in | No Microsoft Entra application is mapped to a user who holds a Lattice role, so no client can call Lattice | Microsoft Entra ID applications and Assign users to roles (Security and access) |
| Scheduled jobs | A file ingestion connection is enabled, or the inbound order policy is on in a legal entity, but its recurring batch job (Run file ingestion, Process file ingestion segments or Inbound order policy evaluation) is not scheduled | Jobs to schedule |
| License | The Lattice license is not valid, is in its warning period, or has no result yet because the environment has not checked in | License behavior |
| Background processes | One of the Lattice automated maintenance processes is not registered, or the process automation polling job that runs them is not scheduled | Background processes on a development VM |
The Caller sign-in check sees only roles assigned to the user on Assign users to roles, directly or as a sub-role. A Lattice role that the user gets only through a Microsoft Entra group is not seen, so such an application shows Needs attention although it can call Lattice.
When every check is OK and the tile shows 0, what Lattice needs to run is in place; the pages below are for what your business uses.
The setup pages
Most pages are under System administration > Setup > Lattice.
| Page | Path | Stored | Configure it when |
|---|---|---|---|
| Service operation logging configuration | Setup > Lattice | Shared by all legal entities | You want an operation to log less, or keep its log for a different time |
| Async operation registry | Setup > Lattice | Shared | You need to stop an operation from running asynchronously |
| Inbound order policy parameters | Setup > Lattice | Per legal entity | You want sales orders priced outside a tolerance held, or clean orders confirmed |
| Sales-origin financial dimension mapping | Setup > Lattice | Per legal entity | You want a financial dimension stamped from the sales origin |
| External systems | Setup > Lattice | Shared | Callers will send their own keys instead of Finance and Operations IDs |
| Cross references tab | Each module's parameters page | Per legal entity | The same, for each kind of record |
| File ingestion connections, New file ingestion connection | Setup > Lattice > File ingestion | Shared | Partners send files instead of calling the API |
| Sample payloads | Setup > Lattice > File ingestion | Shared | You want reusable test files for a connection |
| APIM configurator | Setup > Lattice | Shared | You publish Lattice through Azure API Management |
| Batch job event filters | Setup > Lattice business events | Shared | You send the batch job status event and want routine jobs left out |
| Recurring integration details, Health thresholds tab | Inquiries > Lattice > Integration operations > Recurring integration health | Per recurring data job | A recurring data job needs other health thresholds or alerts |
| Lattice setup status | Setup > Lattice > Setup status | Nothing to store | Always first: it lists what is still missing (above) |
| Documentation help | Setup > Magicite | Shared | You want the Help icon to open your own documentation |
| License parameters | Setup > Magicite | Shared | Only when Magicite asks you to change something |
Lattice adds no number sequences and no parameters to the standard module parameters pages other than the Cross references tab.
Service operation logging configuration
The list is empty by design. The note under the grid says it: "Operations without a row below are logged at their default level - 'Errors only' for the status queries, 'All' for every other operation - using the global retention window." The status queries default to Errors only so that routine polling adds no rows; a row set to All records their successful queries too.
| Setting | What it does | Default |
|---|---|---|
| Service, Operation | The operation the row is for | None |
| Logging level | All logs every call, Errors only logs failed calls, Off logs none | All |
| Retention (days) | How long this operation's call log rows are kept. "Zero uses the global default." | 0, which keeps rows for 90 days |
The service call statistics are built from the rows the log kept, so an operation set to Off is not counted. Steps: I want to set how much each service operation logs.
Async operation registry
One row for each operation that can run asynchronously. The rows are added the first time the registry is used, switched on; you cannot add or delete rows.
| Setting | What it does | Default |
|---|---|---|
| Enabled | Cleared: new asynchronous submissions of the operation are refused, and queued ones are not run | Selected |
| Service, Operation, Handler class, Request contract class | Which operation the row is for and the classes that run it. Read only | Filled by Lattice |
An update of Lattice adds the operations it brings, switched on, and never switches on one you turned off. Steps: I want to turn off an asynchronous operation.
Inbound order policy parameters
The page opens on the current legal entity's settings and creates them, with the policy off, if they do not exist yet.
| Setting | Where on the page | What it does | Default |
|---|---|---|---|
| Inbound order policy enabled | General tab, Policy FastTab | The on and off switch for the legal entity. When it is on, every new sales order in the legal entity is marked for evaluation, whoever created it | No |
| Price tolerance (%) | Price tolerance FastTab | How far a line's sales price may differ from the item base sales price | 0, which checks no prices |
| Price hold reason | Price tolerance FastTab | A fixed reason to record on the hold. Blank records the line, the item, its price and the base price | Blank |
| Price hold code | Price tolerance FastTab | The standard order hold code placed on an order outside the tolerance. Blank only flags the order | Blank |
| Auto-confirm hold-free orders | Confirmation FastTab | The evaluation confirms the orders it did not hold | No |
| Post-confirmation edit lock (minutes) | Confirmation FastTab | For how long after confirmation the order lines cannot be edited or deleted | 0, no lock |
| Customers tab: Customer account, Enabled and the same price and confirmation fields | Customers tab | Other values for one customer. They replace the legal entity's values for that customer; the on and off switch stays on the Policy FastTab. A customer row applies only when its Enabled is selected (default cleared) | No rows |
A real hold also needs the (Preview) Advanced Order Hold status change feature and the Order hold configuration key (Prerequisites); without them, an order outside the tolerance is marked Flagged and nothing stops it. Nothing is evaluated until you schedule Inbound order policy evaluation in the legal entity (Jobs to schedule); turning the policy on where the job is not scheduled shows a warning that says so. Steps: I want to set up the inbound order guardrails.
Sales-origin financial dimension mapping
| Setting | What it does | Default |
|---|---|---|
| Sales-origin dimension stamping enabled | The switch for the legal entity. Until it is selected the rows have no effect | Cleared |
| Sales origin, Financial dimension, Dimension value | One row per dimension to stamp on a new sales order with that origin | No rows |
Steps: I want to stamp a financial dimension from the sales origin.
External systems and cross references
External systems lists the systems whose keys Lattice stores, shared by all legal entities.
| Setting | What it does | Default |
|---|---|---|
| External system, Description | The code callers send, for example SHOP, and its description | None |
| Active | Keys can be added or changed only for an active system. Existing keys of an inactive system still resolve | Selected |
The Cross references tab is on seven parameters pages: Accounts receivable parameters, Procurement and sourcing parameters, Inventory and warehouse management parameters, General ledger parameters, Fixed assets parameters, Production control parameters and Project management and accounting parameters. Each row allows keys of one external system on one kind of record, in the current legal entity.
| Setting | What it does | Default |
|---|---|---|
| Record kind | The kind of record, for example customers. It must belong to the page's module | None |
| External system | The system the keys come from | None |
| Key kind | Alternate key, a key the external system uses now, or Historical, a key from a system you replaced | Alternate key |
| Visible on forms | Shows the keys in the Cross references FactBox and page of the record | Selected |
| Editable on forms | Lets users add, change and delete the keys on the Cross references page. Data entities can always maintain keys | Selected |
| Enforce unique | Refuses a key that another record of the same kind already holds for that system in the legal entity. It cannot be turned on while duplicates exist | Cleared |
Steps: I want to register external systems for cross-reference keys.
File ingestion connections
Create a connection with New file ingestion connection, a five-step wizard, and change it on File ingestion
connections. The scheduled pull reads only connections with Enabled selected. The wizard's Basics step
has an Enabled checkbox, cleared by default. The wizard fills Target service class with
MGCLatticeFileIngestServiceInvokeTarget and its operation with handleIngestedContent, and, when you pick a
service and operation in its Routing template helper, puts that operation in Allowed service operations.
| Tab | Setting | What it does | Default |
|---|---|---|---|
| Header | Connection ID, Name | How the connection is known | None |
| Header | Enabled | The scheduled pull reads the connection | Cleared |
| Source | Storage type | Azure Blob, File share or SFTP | Azure Blob |
| Source | Endpoint | The storage account address for Azure Blob or a file share. Not used for SFTP | Blank |
| Source | Container or share, Folder path, File pattern | Where the files are and which ones to take, for example *.json | Blank |
| Source | SFTP host key fingerprint | When set, the connection is refused unless the server presents this key. Empty accepts any key | Blank |
| Source | Authentication | The secret, as JSON, or an Azure Key Vault secret URI. A stored Key Vault URI is shown again; an Encrypted secret is never displayed. Typing a value clears Authentication secret name | Blank |
| Source | Secret storage | Read only: Encrypted, Azure Key Vault reference, Key Vault parameters secret or Not set | Not set |
| Source | Key Vault parameters company, Authentication secret name | Instead of Authentication: the legal entity whose standard Key Vault parameters page holds the connection's secrets, and the name of a secret of type Manual there whose value is the secret JSON. Entering the name clears the secret in Authentication. Setting or changing a secret name, or the company of a connection that uses one, needs edit access to the Key Vault parameters page | Blank |
| Source | Archive folder path | Where a file goes after it is ingested. Empty deletes the source file | Blank |
| Source | Error folder path | Where a file goes when it cannot be ingested. Empty leaves it in place for the next run | Blank |
| File format | File format | XML, JSON, CSV / delimited or Fixed width | XML |
| File format | Record path, Fixed-width column specification | How records are found in the file | Blank |
| File format | CSV delimiter, CSV quote character | Blank means a comma and a double quote | Blank |
| File format | CSV has header | The first row names the fields | Yes |
| File format | Decrypt source files (PGP) | Decrypts PGP-encrypted files before they are parsed. A connection set to Yes needs a private key before it can be saved | No |
| File format | PGP private key (Key Vault reference) or PGP private key secret name, PGP passphrase (Key Vault reference) or PGP passphrase secret name | Where the private key and its passphrase are read from: an Azure Key Vault secret URI, or a secret on the Key Vault parameters page of Key Vault parameters company. Entering one clears the other. Leave both passphrase fields empty for a key without a passphrase | Blank |
| File format | PGP key storage, PGP passphrase storage | Read only: Azure Key Vault reference, Key Vault parameters secret or Not set | Not set |
| Processing | Target service class, Operation, Liquid template | What receives each record, and the template that shapes it | Blank |
| Processing | Allowed service operations | The operations records may call, one per line as ServiceClass.operation or ServiceClass.*. "Empty allows none." | Blank |
| Schedule | Minimum file age (seconds) | A file is taken only when it was last written at least this long ago | 0, which means 60 seconds |
| Schedule | Wait until the file size is stable | A file is taken only when its size has not changed since the last run | No |
| Schedule | Maximum files per run | Files beyond this wait for the next run | 0, no limit |
| Schedule | Retention (days) | How long a processed file and its records are kept before the cleanup removes them. 0 keeps them forever | 30 |
Test connection on the action pane checks the source with the stored secret and answers "Connection test: ..." with the result. For a connection that decrypts files, it first checks the PGP private key and passphrase. The credentials must be able to list, read and delete files in the source folder, and write to the archive and error folders when you set them. For where an Azure Key Vault reference and a Key Vault parameters secret work, see Key Vault and secrets and Key Vault secrets. Steps: I want to set up a file ingestion connection, I want to keep connection secrets in Azure Key Vault, I want to decrypt PGP-encrypted files and the File ingestion user guide.
Sample payloads
Named test files for file ingestion. Load sample library adds the shipped samples and a demo connection,
MGCDEMO-INVOKE-JSON, which is not enabled. Replay runs the pipeline against a sample "without posting" and
reports each step; it needs a sample with Replayable selected, which has a target through its Connection ID
or the Target tab. A replay never posts, but the content of the sample named Invoke: post GL journal (WRITES
DATA) posts a real journal if you drop it as a file where an enabled connection picks it up.
APIM configurator
A publication profile per way you publish Lattice through Azure API Management: the Target, Output formats (Bicep templates, APIOps artifacts, ARM templates), Default policy and Rate limits tabs, and the API, endpoint, policy and environment rows. Every option starts at No and every number at 0, so choose each one. Validate checks the profile and Generate bundle downloads it. Steps: I want to publish the API to Azure API Management.
Batch job event filters
With no rows, every batch job status change raises Batch job status changed. Each enabled row leaves out the jobs it matches.
| Setting | What it does | Default |
|---|---|---|
| Enabled | When cleared, the row is ignored | Selected |
| Description | Your note | Blank |
| Caption contains | Text the job caption must contain, in any case. Blank matches any caption | Blank |
| Task class | Matches jobs with a task of this class. Blank matches any class | Blank |
| Match any status, On status | All status changes, or only the selected status | Match any status selected |
A row with both criteria blank leaves out every job while Match any status is selected. Steps: I want to leave noisy batch jobs out of the batch job status event.
Recurring data job health thresholds
On the Health thresholds tab of Recurring integration details, each value at 0 uses the default: Failure window (hours) 24, Backlog age (minutes) three recurrence intervals and at least 15, Stuck after (minutes) 60, Failure threshold 1, and Silence period (minutes) off. Alerts enabled is off until you set it. Steps: I want to set health thresholds and alerts for a recurring data job.
Documentation help
The Lattice row on System administration > Setup > Magicite > Documentation help sets where the Help icon on the
Lattice pages goes. Documentation base URL is https://go.magicite.tech/documentation by default, and a blank
address is set back to it the next time the environment starts. An address must be a full http or https address
without a query string. Clear Show the Help icon, selected by default, to remove the icon. Needs the Magicite
license administrator role or System administrator. Steps:
I want to point the Help icon at our own documentation.
License parameters
Leave System administration > Setup > Magicite > License parameters as it is. The Licensing service connection fields are blank because the licensing module ships with the licensing service's address; fill them only if Magicite gives you another one. Environment type override is described in Environment settings.
Jobs to schedule
Three Lattice jobs run only when you schedule them as recurring batch jobs:
| Job | Where | Schedule |
|---|---|---|
| Run file ingestion | Action pane of File ingestion connections | Once for the environment, every few minutes, paced to how often files arrive |
| Process file ingestion segments | System administration > Periodic tasks > Lattice | Once for the environment, every few minutes |
| Inbound order policy evaluation | System administration > Periodic tasks > Lattice | Every few minutes, once in each legal entity where the policy is on |
Do not schedule the jobs that run as background processes. Steps: I want to schedule the Lattice jobs that are not background processes.
Business events
Lattice raises its business events through the standard framework. An event is sent only after you activate it on the standard Business events catalog for an endpoint and a legal entity; the Lattice Business event catalog describes the events but does not send them. Steps: I want to activate a business event and send it to an endpoint.
Related
- Page reference, every Lattice page and its fields.
- Integration operator guide.
- Cross-reference keys.
- Next step: Environment settings.