Hi all, me again, sorry for lots of questions.
First let me describe an overview of what I want to achieve with my D365 app.
1. This should be an app which anyone can install on their D365 F&O instance.
2. The app will push invoices to an external system (this could be one specific for the company or a multi-tenant system) from D365 F&O based on criteria.
I'm only just starting to look at this and haven't done any D365 development before so sorry if it's really simple for a lot of you.
The questions I think I need answering are:
1. Does the above even make sense? Is that possible?
2. How would you normally configure an app like this so that it knows which instance of the external system to call?
3. How would I be able to authenticate with the external system? Am I able to popup/redirect to an oauth flow to get a token?
My main problem so far has been differentiating documentation between "this is how you extend your instance of D365 F&O" and "this is how you extend someone else's instance of D365 F&O". For instance I found some business events documentation (https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/business-events/home-page) which seems to only send events to the same tenant as the D365 instance, so not useful in my case.
Many thanks,
Ant.