Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Vouchers other than IC journal creating on posting intercompany journal

Posted on by 1,858

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

  • Verified answer
    MYGz Profile Picture
    MYGz 1,858 on at
    RE: Vouchers other than IC journal creating on posting intercompany journal

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans