Skip to content

Bulk Processing

By default an Intacct writer sends one record per request and waits for Intacct's answer before it sends the next. Most of a large push's time goes on that wait. Two settings in the System Connector's connection string shorten it:

Key Values Effect
MaxConcurrentRequests 1 to 8 Splits the push's records into that many lanes. Each lane sends its own requests. Up to that many requests wait on Intacct at once
RecordsPerRequest 1 to 50 Sends that many records in each request. Intacct runs each one separately and answers each separately

Both default to 1, and a larger number counts as the maximum. For example, MaxConcurrentRequests=4;RecordsPerRequest=50; sends up to four requests at once, each carrying up to 50 records.

The settings belong to the System Connector. Every Intacct writer that uses it runs the same way. A run from the Designer ignores both and sends one record at a time.

How a Bulk Push Runs

IMan splits the writer's top-level records across the lanes. A sales order travels with its lines.

Records that share a key go to the same lane, in their order in the dataset. The key is the field the import identifies a record by, such as CUSTOMERID, or an exchange rate's rate type and currency. Two updates to one customer therefore reach Intacct in the order IMan holds them. Under Insert/Update, IMan sends the waiting records of a lane before it checks for a record with the same key. The check then finds a customer the lane has just created.

Records in different lanes post in no fixed order. Do not rely on the order of the dataset across different keys.

Each record posts or fails on its own, even when it shares a request with others. A failed record does not hold back the rest of its request.

The lanes overlap only the wait for Intacct. IMan still prepares records, runs lookups and writes the audit one record at a time.

Errors

The writer's Action on Transform Error still applies:

  • Continue and Reject Record log each failed record against that record. The other lanes carry on.
  • Abort stops every lane from starting another record. The records already sent to Intacct finish, and IMan writes their values back. The run's error gives the first failure, then lists any records Intacct posted after it, by their position in the push and their audit log key values. The list begins "The push was sending several requests at once, so these records were still posted after the failure". Without bulk processing, nothing posts after the failure, and the error names the failed record alone.

When to Use It

Turn it on for a push of many independent records, such as a day's AR invoices or a customer load. Start with MaxConcurrentRequests=4;RecordsPerRequest=50;. More lanes are not always faster: on Realisable's test company, four lanes of 50 records beat eight lanes. Measure a run before you raise either number.

Leave both at 1 when a run writes a handful of records, or when later records depend on the order of earlier ones with different keys.

Intacct runs each record once, however many attempts it takes to send it. See Duplicate Protection.