Announcements
No record found.
We are trying to post the Invoice of service Item, before posting the Invoice user change the main account manually then he post the Invoice.
But system gives the error.
Please find the below screenshot for reference.
Hi Mahendra,
Please debug the code, you can refer to these old threads:
(+) Object reference not set to an instance of an object - Dynamics 365 Finance Forum Community Forum
(+) How to fix 'Object reference not set to an instance of an object' within Budget register entry - Dynamics 365 Finance Forum Community Forum
Hi Charlotte
Thank you for your reply. We have Debug it 3-4 times but not getting any root cause of the error.
BR,
Mahendra
Hi, This is a generic error and exact root cause can be found by debugging only. Just to confirm have you tried adding breakpoint in add method in info class and checked the call stack.
Hi All
This issue arises due to the feature of Restrict ability to edit accounting distribution on Accounts payable vendor invoices was enabled.
So we are just disabled it in the feature management.
Thanks
Mahendra Mhaske
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mallesh Deshapaga 227
Laurens vd Tang 174 Super User 2026 Season 1
André Arnaud de Cal... 114 Super User 2026 Season 1