Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Extend summarize of general account entries after posting of sales invoice

(0) ShareShare
ReportReport
Posted on by

Hi all,

I am currently investigating to expand the split up of general journal entries after posting a sales invoice.

Standard AX currently summarizes on these fields : same dates, posting types, currency, and ledger accounts. But I want to add an extra field to this to expand the summarize. Is this possible in any way? 

This extra custom field must be available for purchase invoicing and sales invoicing?

System : D365FO 10.0.10

  • Community Member Profile Picture
    on at
    RE: Extend summarize of general account entries after posting of sales invoice

    Hi Andre and Ludwig,

    Thank you for the advice and answer. I verified your answer.

    Kind regards,

    Guillaume

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Extend summarize of general account entries after posting of sales invoice

    Hi Guillaume,

    I am in line with Andre.

    What you try to create is risky and would not do that.

    Personally, I would try using a findim even if this is not the best solution for you.

    Best regards,

    Ludwig

  • André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    RE: Extend summarize of general account entries after posting of sales invoice

    Hi Guillaume,

    It is far from recommended to interact with the current posting logic. It is easy to break something else and then you might have a broken system. Would it still be compatible with future updates of Dynamics 365? I think it is a risk to hook in on the standard posting classes. I do agree with Ludwig that a dimension might be a safe alternative.

  • Community Member Profile Picture
    on at
    RE: Extend summarize of general account entries after posting of sales invoice

    Hi Ludwig,

    That would be the easy way to just add an extra financial dimension. But that's not really the answer that I have in mind. If you add extra parm methods for the ledgervouchertransobject and push the custom fields to the general journal entry. After that expand the LedgerPostingGeneralJournalController - method initLineValuesContainer you will be able to add extra conditions. I think this is more suitable with the right validations based on posting type.

    I will not change any amounts or ledger accounts or anything else. Will this still give risks in your opinion?

    Thank you for your insights already!

    Kind regards,

    Guillaume De Bue

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Extend summarize of general account entries after posting of sales invoice

    Hello GuillaumeDB,

    Can't you simply create another financial dimension that holds the information that you want to track in addition?

    About the summary of the SO/PO lines:

    I would recommend not trying to make a modification there because it can mess up things in your system. Especially think about things such as corrections, sales returns, inventory recalculations, etc. that might all be affected by the modification that you mentioned.

    Best regards,

    Ludwig

  • Community Member Profile Picture
    on at
    RE: Extend summarize of general account entries after posting of sales invoice

    I am already able to push the data towards the general journal account entry but in the class LedgerPostingGeneralJournalController where the grouping is applied the lines are concatenated. Some of my custom sales line information I pushed is not available anymore because it always takes the information from the first created general journal account entry.

    That why I need to be able to split the general journal account entries based on this custom field as an extra condition

  • Community Member Profile Picture
    on at
    RE: Extend summarize of general account entries after posting of sales invoice

    Hi Andre,

    This is an extra custom information field that we need for reporting. The field is available on the sales order line and purchase order line.

    The sales/purch order lines can have the same financial dimensions but the content of this information field is different. We need to expand the summarize also based on this field.

  • André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    RE: Extend summarize of general account entries after posting of sales invoice

    Hi Guillaume,

    Can you elaborate on the details of the new field? What information is missing that needs to be added to the journal entries and for what reason?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans