Hi there,
I am completely new to Dynamics 365 so there's a lot of terminology that I don't understand, and reading through the documentation has been overwhelming and mostly (seemingly) unhelpful towards my specific use case. I am also unsure how much of this use case is possible through the API. With that in mind, I apologize if my language is unclear.
I am hoping to create an application for D365 F&O that would complete the following steps through the API:
- Create a new legal entity
- Add a dashboard image to the legal entity
- Insert new legal entity into an existing Organization Hierarchy, then publish changes
- Edit ledger for legal entity
- Add main account for each "Posting" under "accounts for currency revaluation"
- Update Posting validation Posting Type
- Use a "Data project" called "Copy into legal entity projects"
- run a project called "Create New Company" to copy a base company's data into the new legal entity
- run a project called "Copy - Methods of Payments" to copy same base company's payment methods into the new legal entity
- Generate new number sequence by selecting all existing number sequences
- Import purchase order workflow into legal entity from source company (using Procurement and Sourcing Workflows)
- export workflow from source company as a downloadable xml file
- import xml into new legal entity
- mark imported workflow as Default and make it active
- Use a custom Data Project under "Copy into legal entity projects" called "Journal Names"
- copy source company journal names into new legal entity
- Update Sales Tax Currency Code
- Under General Ledger > Chart of accounts > Dimensions > [Custom Dimension], make [Custom Dimension] active
- Use a custom Data Project under "Copy into legal entity projects" called "Copy - GL Parameters"
- copy source company General Ledger Parameters into new legal entity
- Set additional General ledger Parameters
- enable/disable Reversed charge depending on certain criteria
- Set Procurement and sourcing Parameters (General)
- set "Purchase type" under "DEFAULT VALUES"
- set "Prompt quantity field value when posting documents" under "SETUP"
- set "Purchase order prices/amount" under "VENDOR"
- set "Activate change management" under "CHANGE MANAGEMENT FOR PURCHASE ORDERS"
- set "Copy PO line dimension to header" under "DIMENSIONS"
- Set Procurement and sourcing Parameters (Delivery)
- set "Accept underdelivery" and "Accept overdelivery" under "GENERAL"
- set "Number of batch documents" under "BATCH"
- Edit "Purchase Requisition expenditure reviewers"
- Edit "Vendor invoice expenditure reviewers"
- Add new legal entity to Procurement Policies
- Under "Accounts Payable", copy all vendors from source company to new legal entity
- Update Ledger Period status under "Ledger calendars"
Understandably this is a lot of steps, and I have tried to be as concise as possible while also providing the proper names that I can see within D365.
The main question I would like answered is if there are endpoints for each of these steps that would allow me to automate them using API requests. I have read through significant portions of the Microsoft documentation on D365 Finance & Operations, but I have found very few references to specific endpoints. Ideally I would love to see just a list of API endpoints.
Again, my knowledge of D365 is quite limited as I am very new to it. Any ideas that would point me in the right direction for automating any or all of these steps would be greatly appreciated.
I will do my best to answer any questions as I am sure there are many ways that I can elaborate.