Notifications
Announcements
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Laurens vd Tang 243 Super User 2025 Season 2
André Arnaud de Cal... 160 Super User 2025 Season 2
Sagar Suman 78 Super User 2025 Season 2