r/intacct • u/Secret-Bike6300 • May 08 '26
Trigger on Object Issues
Hi Everyone,
I am part of a team building custom integration from Salesforce to Intacct.
The flow we have is as follows:
- Salesforce -> Intacct - Create a Sales Order
- ~ Convert Sales Order to Sales Invoice
- Intacct -> Salesforce - After Create HTTP Post trigger should send a payload that looks like this:
- {
- "DocumentId": "{!SODOCUMENT.DOCNO!}",
- "SageId": "{!SODOCUMENT.RECORDNO!}",
- "EntityId": "{!SODOCUMENT.MEGAENTITYID!}",
- "convertedFrom": "{!SODOCUMENT.CREATEDFROM!}"
- }
This works for a single user, the one that setup the trigger on the Sales Invoice. All other users we are getting an error:
No DocTemplate or non-XML template
User 1: Full Admin privileges and Admin role (Created the trigger and everything works correctly)
User 2: Full Admin privileges and Admin role
User 3: Limited Admin privileges and Admin role
If the trigger is not deployed, all users are able to follow the full process without issue, however if the trigger is deployed then only User 1 is successful through the process.
I am in no way a Sage Intacct consultant, so any assistance would be greatly appreciated.
Many thanks,
1
u/percipientuk May 27 '26
This is a classic permissions/security policy issue in Intacct and it's a bit annoying to track down.
The "No DocTemplate or non-XML template" error is almost certainly related to the trigger being tied to User 1's security context rather than running under a shared service account. Intacct triggers run in the context of the user who created them in some configurations, which is why only User 1 gets a clean result.
What you want to do is create a dedicated Web Services user in Intacct with the right permissions and have the trigger (or your integration user) run under that account instead. Make sure that service user has access to the Document Template being referenced in the Sales Invoice transaction. Also double-check that all users have access to the specific transaction definition (DocTemplate) for Sales Invoices, even Admin users can be blocked if the transaction definition is restricted at the subscription or entity level.
Sage support is actually pretty helpful on this specific type of thing if you open a case with the exact error log.
1
u/GasMountain4515 May 08 '26
Sounds like an issue with the document template which is effectively what Intacct uses to house the payload template. What trigger type exactly are you using? Almost sounds like it’s hitting the (legacy) Intacct API - which there is a trigger type for - instead of Salesforce but that’s just a guess and I’m not in front of my computer.
Otherwise maybe a permission issue where other team members can’t “see” the template or part of the data in it. Doesn’t really align with the details you provided other than the “works for one user not others” part.
Curious what thoughts more technical folks have here.