web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Populate ACCTXREF Table

(0) ShareShare
ReportReport
Posted on by 4

We've added several new companies recently.  We are getting an error when attempting to post a JE in one of the new companies stating that the GL account does not exist and the amount is posted to suspense.  There is an article that indicates that this is because the gl account is not in the ACCTXREF table for the company.  It describes how a minor edit of the GL account will populate the ACCTXREF, however I am unable to get this to work.  I can only edit the account number in the master company.  This is the only company that appears in ACCTXREF.  I do not wish to script insert it.  I've walked through the other resolutions available and none solve my problem.  Should I see all companies (master and sub) in the ACCTXREF?

The account number is available for selection when entering the JE.  We have account/subaccount validation turned on.

*This post is locked for comments

I have the same question (0)
  • Mark E Profile Picture
    6,451 on at

    You should only see the "Master" CompanyID in the AcctXRef and SubXRef tables in a multicompany, single application database scenario.

    Query the Company table in the System DB, and make sure all the Companies have the "Master" CpnyID in the CpnyCOA and CpnySub fields (and not the CpnyID of the "sub" companies).

  • Mark Schurmann Profile Picture
    4 on at

    The company table looks correct.

  • Mark E Profile Picture
    6,451 on at

    Have you built the Acct/Sub combinations for the company in question?  Check the AcctSub table in the System DB; you should see all the combinations for every company there.  With the AcctXRef and SubXRef tables only store the "master" company data, the acct/sub combos need to be built for each company.

  • Community Member Profile Picture
    on at

    To further explain,  the acctsub table in the system database is only populated when GL setup is set to validate acct/sub combinations.

    Run the script attached to KB 942095.

    Then make a small change to a description in Chart of Acct Maintenance.

    Sometimes we end up having to do this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans