...
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Overview
You can use the Dynamics 365 Business Central Create Snap to create records in the Business Central application for a specific entity.
...
Business Central metadata does not contain information about required fields. Therefore, the Mapper Snap upstream to the Business Central Create Snap does not display the mandatory fields (showing *) in the Target Schema, which is the expected behavior.
The Company field in the Business Central Create Snap is optional for a few entities, such as Subscriptions, whereas and it is mandatory for the remaining entities. Therefore, if the field is left blank, the Snap displays the following error:
Workaround: Specify the Company name for mandatory entities where it is mandatory.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document
|
|
| Requires user data as a JSON document. |
Output | Document
|
|
| Writes the new user information for an entity. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
...
Error | Reason | Resolution |
---|---|---|
Number of requests exceeded the limit of 6000 over the time window of 300 seconds | More than 6000 requests were made in 300 seconds. | Decrease the batch size and retry. Learn more about the error messages: Service protection API limits. |
Too many Requests - 429 | Too many requests are sent to Microsoft Business Central endpoint. | All Snaps related to the Microsoft Business Central Snap include |
REST API service endpoint returned error result: | You typically receive this message when:
| Check the values of Snap properties. Specifically:
|
Error 500 | The Client secret or Client Id ID are not valid. | Generate new Client secret. |
Error 401 | Token is invalid. | Provide a valid token and reauthorize the account. |
...
This example pipeline demonstrates how to use Business Central CRUD Snaps to create, read, update, and delete records in the application.
...
Step 2: Configure the Business Central Create Snap with the Company name that is registered with the Business Central application, the Entity, and the Batch type as followsshown. The output shows the inserted record with an ID generated automatically.
...