EDI & Trading Partners TrueCommerce Transaction Manager → BC 28.3 (Expense Agent (Preview) extension) TrueCommerce Help Center article 16053663; Equisys technote ZTN6028 (same error in Zetadocs Expenses)

TrueCommerce Fails After BC 28.3: License Does Not Grant Permissions on CodeUnit 6989 Expense Attachment Mgt.

Raw System Error String
Your license does not grant you the following permissions on CodeUnit 6989 Expense Attachment Mgt.: Execute.

What It Means

After the environment updates to Business Central 28.3, Transaction Manager operations in Business Central fail with an Internal_ServerError. The message says the license does not allow CodeUnit 6989 Expense Attachment Mgt. EDI imports and exports stop until the cause is removed. Other apps that create purchase records see the same error.

Root Cause

Version 28.3 adds the Microsoft extensions Expense Agent (Preview) and Expense Agent (Preview) (GB). They bring CodeUnit 6989 Expense Attachment Mgt., which runs during operations that the TrueCommerce integration user performs. That user's license and permissions do not include Execute on CodeUnit 6989, so the call fails. Equisys reports the same error for Zetadocs Expenses on 28.3 and says Microsoft has acknowledged it as a known issue.

Step-by-Step Fix

  1. Confirm the version: in Business Central, open Help & Support and check that the application version is 28.3 or later.
  2. Confirm the error text in Transaction Manager: it names CodeUnit 6989 Expense Attachment Mgt.
  3. If your company does not use Expense Agent, search for Extension Management.
  4. Select Expense Agent (Preview), open the three-dot menu, and choose Uninstall.
  5. Turn on Delete Extension Data, then confirm. Note: this deletes the app's data and the data of apps that depend on it, and cannot be undone.
  6. Repeat for Expense Agent (Preview) (GB) if it is installed.
  7. Retry the failed operations from Transaction Manager.
  8. If your company needs Expense Agent, do not uninstall it. Contact TrueCommerce Support or your VAR and ask for the permission or app update for 28.3.

Verification Steps

How to verify: Transaction Manager imports and exports complete without the CodeUnit 6989 error. Extension Management no longer lists Expense Agent (Preview).

Sources & References

Early Access · 30-Day Sandbox Pilot

Stop Order Sync Failures Before Customers Notice

The Order Flow Doctor monitors Microsoft Dynamics 365 Business Central order flows across Shopify, EDI (TrueCommerce, SPS), 3PLs, and carriers. Get automated root-cause diagnosis and one-click fixes.

We respect your privacy. No spam. You will only be contacted when pilot slots open for your stack.