There's no reason for not working on the customer environment if it works on your sandbox.
Is the extension activated at customer site? You're on-premise, so try to debug the events from VS Code if possible.
I am a little confused.
So are you saying that I need to install Visual Studio on the customer's environment ? We don't have that there. I am trying to point my Visual Studio Folder (local PC) for this on the Web environment for this customer via the settings in the Launch.json and it is now working. It is asking me for a user name and password and than it gives me an Internal error when "Dowload Symbols" or Publish.
No sorry, what I mean is that if the extension works on your local system should work also at customer’s site. If you have a sandbox (copy of the customer’s environment) maybe you could debug this sandbox and see what happens. Otherwise it’s quite difficult to understand the problem.
Thanks for your reply
Unfortunately I don't have a Sandbox for them. I guess the only difference is that they are BC365 on premise so I was hoping someone had some knowledge of differences between Premise and cloud relating to codeunits. Any ideas who I can reach out in support ? I understand MS support does not provide much help with Extension development. I will also reach out to Github.
There are no differences in codeunit. You can check them by creating a Docker sandbox and pulling Microsoft/bcsandbox image. Codebase is the same.
Just wanted to post an update regarding this.
The events worked fine when we switched the license to our Developer's license. So it has smth to do with Codeunit permissions and licensing. We can figure it from there, but wanted to post an update in case anyone else runs into the same issue. Thank you everyone for your input.
Business Applications communities