Greetings to all of you!
Two customers of mine , need to be able to create a new sales quote for a customer whose Blocked Status is All.
The one has BC (cloud version ) and the other has Dynamics NAV ( on-prem).
I noticed that the whole procedure which permit the opening of a new sales document ,when a customer is blocked , is here :
Ideally, i would like to modify this base procedure and remove the part of DocType = Quote.
As far as i understand , this can't be possible when BC comes as a SaaS. Due to that , i can;t modify the base code on my customer which runs on cloud. Any other solution?
How about the one who has NAV on prem? Is it possible to modify the base code?
I dont have a lot of experience when it comes to development, so , any help will be greatly appreciated.
Thank you in advance for your time.
To remove or change the part of the procedure related to DocType = Quote
, you would subscribe to the appropriate events (such as OnBefore
or OnAfter
events) in the procedure and modify its behavior in the extension.
Technically it is possible to change the base application code if you are running BC on-prem but it is not recommended to do so.
What you should do is to find and integration event to use so you can modify the business logic through that.
In the case you have you should look at this integration even that is on the sales header table:
The first part of the procedure is your chance to skip the check. That applies to both platform types. Given it is an event subscriber you skip the standard check but write your own. This way you can have your logic but maintain some of the standard aspects
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
dynamicsuser.net/.../developers
I will open this up to the community in case they have something to add.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156