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

Announcements

No record found.

News and Announcements icon
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,334

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,334 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans