Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Ledger accrual on Pending vendor invoices

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I'm trying to develop a customization where the standard Ledger accrual functionality gets used in the "Pending vendor invoice" form.

The standard functionality lets you define an accrual scheme, and in the general journal lines, you can go into Functions - Ledger Accruals and use your accrual scheme. When posting, the voucher lines automatically split into months based on the accrual scheme. More details here (https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/create-ledger-accrual-transactions)

I'm wondering if it is possible to apply the same logic for pending vendor invoices. On the vendor lines, it would have the same "Function" button with the Ledger accruals functionality where you could set it up and once the vendor invoice was posted it would use the accrual scheme logic. I tried doing this but I can't seem to link the accrual scheme with the vendor invoice lines so that they post the same way it does for general journal lines. I can't seem to find the relation between LedgerJournalTransAccrual and VendInvoiceInfoLine so that the vendor invoice lines get posted as the accrual lines.

Can someone help me figure out what I need to do or if you already implemented something similar, could you let me know how you did it?

Thank you.

  • Suggested answer
    OsmanIstanbul Profile Picture
    2,814 on at
    RE: Ledger accrual on Pending vendor invoices

    Hi,

    I have made such customization for one of my clients. I didn't use standard accrual functionality, instead added new fields on products and captured with this mark and added a code to the posting class that creates and posts a journal that contains related accrual transactions.

    Best.

  • CapsLock Profile Picture
    1,375 on at
    RE: Ledger accrual on Pending vendor invoices

    Hi Ludwig, 

    Could you please provide more information on how to automatize accruals in pending vendor invoices with power automate? 

    Thank you! 

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Ledger accrual on Pending vendor invoices

    Hi Joao,

    If you are on D365FO then you can create those accrual postings with the help of PowerAutomate out of the box.

    For AX2012 environments you can think of leveraging UI Flows or - alternatively - make a system modification in case you don't have licenses / access to PowerAutomate.

    Best regards,

    Ludwig

  • Michal Krejza Profile Picture
    on at
    RE: Ledger accrual on Pending vendor invoices

    Hi Joao,

    What if you try record trace from General journal lines ? Maybe you will find some hint from that ?

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,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans