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 AX (Archived)

Vouchers other than IC journal creating on posting intercompany journal

(0) ShareShare
ReportReport
Posted on by 2,174

Hi,

I customized opening balance entity (DMFOpeningBalanceEntityClass.GenerateLedgerDimension()) to allow intercompany accounts to imported, this is how I edited it:

        
        changeCompany(entity.Company)
        {
            if(entity.AccountType != enum2str(LedgerJournalACType::Ledger))
            {
                target.LedgerDimension = DMFDimensionHelper::generateDimensionDynamicDefaultAccount(entity.LedgerDimension,DMFEntityBase::string2Enum(entity.AccountType,enumNum(LedgerJournalACType)), enumNum(LedgerJournalACType),  DMFEntityBase::string2Enum(entity.AccountType,enumNum(LedgerJournalACType)));

            }
            else
            {
                target.LedgerDimension =  DMFDimensionHelper::generateDynamicDimension(entity.LedgerDimension, entity.Company, entity.ExecutionId, entity.DefinitionGroup, dmfEntityName);
            }
        }



Now for eg, there are 10 lines in a single voucher number. 5 lines of vendor (active company AAA) and 5 lines of customer (different company BBB).

Original Journal is in 'GJ' journal. And on posting the 5 customer lines should be created in IC journal. But I'm getting an error that voucher number in company 'BBB' in journal 'GJ' (instead of 'IC') are is already been used on date X/Y/Z.

How come the intercompany transactions are using 'GJ' journal in BBB and not just 'IC' journal?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    MYGz Profile Picture
    2,174 on at

    After checking the Intercompany Posting setup, I found out that in company 'AAA' all other companies Intercompany Journal was correctly setup to 'IC' journal but only for this particular 'BBB' it was set to 'GJ'

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans