Skip to main content

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.

CheckNeeds attention whenFix it on
Caller sign-inNo Microsoft Entra application is mapped to a user who holds a Lattice role, so no client can call LatticeMicrosoft Entra ID applications and Assign users to roles (Security and access)
Scheduled jobsA 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 scheduledJobs to schedule
LicenseThe Lattice license is not valid, is in its warning period, or has no result yet because the environment has not checked inLicense behavior
Background processesOne of the Lattice automated maintenance processes is not registered, or the process automation polling job that runs them is not scheduledBackground 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.

PagePathStoredConfigure it when
Service operation logging configurationSetup > LatticeShared by all legal entitiesYou want an operation to log less, or keep its log for a different time
Async operation registrySetup > LatticeSharedYou need to stop an operation from running asynchronously
Inbound order policy parametersSetup > LatticePer legal entityYou want sales orders priced outside a tolerance held, or clean orders confirmed
Sales-origin financial dimension mappingSetup > LatticePer legal entityYou want a financial dimension stamped from the sales origin
External systemsSetup > LatticeSharedCallers will send their own keys instead of Finance and Operations IDs
Cross references tabEach module's parameters pagePer legal entityThe same, for each kind of record
File ingestion connections, New file ingestion connectionSetup > Lattice > File ingestionSharedPartners send files instead of calling the API
Sample payloadsSetup > Lattice > File ingestionSharedYou want reusable test files for a connection
APIM configuratorSetup > LatticeSharedYou publish Lattice through Azure API Management
Batch job event filtersSetup > Lattice business eventsSharedYou send the batch job status event and want routine jobs left out
Recurring integration details, Health thresholds tabInquiries > Lattice > Integration operations > Recurring integration healthPer recurring data jobA recurring data job needs other health thresholds or alerts
Lattice setup statusSetup > Lattice > Setup statusNothing to storeAlways first: it lists what is still missing (above)
Documentation helpSetup > MagiciteSharedYou want the Help icon to open your own documentation
License parametersSetup > MagiciteSharedOnly 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.

SettingWhat it doesDefault
Service, OperationThe operation the row is forNone
Logging levelAll logs every call, Errors only logs failed calls, Off logs noneAll
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.

SettingWhat it doesDefault
EnabledCleared: new asynchronous submissions of the operation are refused, and queued ones are not runSelected
Service, Operation, Handler class, Request contract classWhich operation the row is for and the classes that run it. Read onlyFilled 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.

SettingWhere on the pageWhat it doesDefault
Inbound order policy enabledGeneral tab, Policy FastTabThe 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 itNo
Price tolerance (%)Price tolerance FastTabHow far a line's sales price may differ from the item base sales price0, which checks no prices
Price hold reasonPrice tolerance FastTabA fixed reason to record on the hold. Blank records the line, the item, its price and the base priceBlank
Price hold codePrice tolerance FastTabThe standard order hold code placed on an order outside the tolerance. Blank only flags the orderBlank
Auto-confirm hold-free ordersConfirmation FastTabThe evaluation confirms the orders it did not holdNo
Post-confirmation edit lock (minutes)Confirmation FastTabFor how long after confirmation the order lines cannot be edited or deleted0, no lock
Customers tab: Customer account, Enabled and the same price and confirmation fieldsCustomers tabOther 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​

SettingWhat it doesDefault
Sales-origin dimension stamping enabledThe switch for the legal entity. Until it is selected the rows have no effectCleared
Sales origin, Financial dimension, Dimension valueOne row per dimension to stamp on a new sales order with that originNo 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.

SettingWhat it doesDefault
External system, DescriptionThe code callers send, for example SHOP, and its descriptionNone
ActiveKeys can be added or changed only for an active system. Existing keys of an inactive system still resolveSelected

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.

SettingWhat it doesDefault
Record kindThe kind of record, for example customers. It must belong to the page's moduleNone
External systemThe system the keys come fromNone
Key kindAlternate key, a key the external system uses now, or Historical, a key from a system you replacedAlternate key
Visible on formsShows the keys in the Cross references FactBox and page of the recordSelected
Editable on formsLets users add, change and delete the keys on the Cross references page. Data entities can always maintain keysSelected
Enforce uniqueRefuses 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 existCleared

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.

TabSettingWhat it doesDefault
HeaderConnection ID, NameHow the connection is knownNone
HeaderEnabledThe scheduled pull reads the connectionCleared
SourceStorage typeAzure Blob, File share or SFTPAzure Blob
SourceEndpointThe storage account address for Azure Blob or a file share. Not used for SFTPBlank
SourceContainer or share, Folder path, File patternWhere the files are and which ones to take, for example *.jsonBlank
SourceSFTP host key fingerprintWhen set, the connection is refused unless the server presents this key. Empty accepts any keyBlank
SourceAuthenticationThe 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 nameBlank
SourceSecret storageRead only: Encrypted, Azure Key Vault reference, Key Vault parameters secret or Not setNot set
SourceKey Vault parameters company, Authentication secret nameInstead 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 pageBlank
SourceArchive folder pathWhere a file goes after it is ingested. Empty deletes the source fileBlank
SourceError folder pathWhere a file goes when it cannot be ingested. Empty leaves it in place for the next runBlank
File formatFile formatXML, JSON, CSV / delimited or Fixed widthXML
File formatRecord path, Fixed-width column specificationHow records are found in the fileBlank
File formatCSV delimiter, CSV quote characterBlank means a comma and a double quoteBlank
File formatCSV has headerThe first row names the fieldsYes
File formatDecrypt source files (PGP)Decrypts PGP-encrypted files before they are parsed. A connection set to Yes needs a private key before it can be savedNo
File formatPGP private key (Key Vault reference) or PGP private key secret name, PGP passphrase (Key Vault reference) or PGP passphrase secret nameWhere 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 passphraseBlank
File formatPGP key storage, PGP passphrase storageRead only: Azure Key Vault reference, Key Vault parameters secret or Not setNot set
ProcessingTarget service class, Operation, Liquid templateWhat receives each record, and the template that shapes itBlank
ProcessingAllowed service operationsThe operations records may call, one per line as ServiceClass.operation or ServiceClass.*. "Empty allows none."Blank
ScheduleMinimum file age (seconds)A file is taken only when it was last written at least this long ago0, which means 60 seconds
ScheduleWait until the file size is stableA file is taken only when its size has not changed since the last runNo
ScheduleMaximum files per runFiles beyond this wait for the next run0, no limit
ScheduleRetention (days)How long a processed file and its records are kept before the cleanup removes them. 0 keeps them forever30

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.

SettingWhat it doesDefault
EnabledWhen cleared, the row is ignoredSelected
DescriptionYour noteBlank
Caption containsText the job caption must contain, in any case. Blank matches any captionBlank
Task classMatches jobs with a task of this class. Blank matches any classBlank
Match any status, On statusAll status changes, or only the selected statusMatch 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:

JobWhereSchedule
Run file ingestionAction pane of File ingestion connectionsOnce for the environment, every few minutes, paced to how often files arrive
Process file ingestion segmentsSystem administration > Periodic tasks > LatticeOnce for the environment, every few minutes
Inbound order policy evaluationSystem administration > Periodic tasks > LatticeEvery 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.