Use a Staging document to read data from or write data to the staging table.
Name | Responsible | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Set up document - Staging |
Application Consultant |
Use a Staging document to write data to or read data from the staging table. You can use the staging table to validate data before you actually process it. For example, you can validate received data before you import it into D365 FO. You can do these validations automatically or manually, depending on the chosen handler. If the validations are:
|
||||||||||||||||||||||
Add document records - Internal document |
Application Consultant |
To each document, add the data records to be exchanged. For internal documents, set up the records in line with how the data is structured and named in D365 FO. This topic explains how to add records to documents of these types: D365 FO, Journal, or Staging. |
||||||||||||||||||||||
Manage document record setup - Internal documents |
Application Consultant |
You have several options to manage the document record setup for internal documents. You can:
|
||||||||||||||||||||||
Select fields |
Application Consultant |
You can add a selection of table fields to a record. You can select fields from the D365 FO table that is defined in the Record table field. This is mainly applicable to internal documents. However, you can also use this to quickly set up fields for external file-based documents. When the field selection is added to the record, review and complete the properties of the added fields. |
||||||||||||||||||||||
Copy fields |
Application Consultant |
You can copy fields from a record of another document. You can use this, for example, to save setup time if you use a specific record in several documents. You can only copy fields:
|
||||||||||||||||||||||
Add document record fields - Internal documents |
Application Consultant |
To each document record, add the data fields which values must be exchanged. For internal documents, set up the fields in line with naming in D365 FO. For internal documents, make sure the fields have the same type as in D365 FO. This topic explains how to add records to documents of these types: D365 FO, Journal, or Staging. If fields are already selected for or copied to the record, you can review and complete the setup for these fields. To do so, skip step 6. |
||||||||||||||||||||||
Manage document record field setup |
Application Consultant |
You have several options to manage the document record field setup for internal documents. You can:
|
||||||||||||||||||||||
Set up staging display options |
Application Consultant |
For a document of type Staging, for each document record, you can set up the display options for the related staging journal. Use the display options to define which fields of the record are shown and editable on the Data tab of the staging journal. |
||||||||||||||||||||||
Set up staging validations |
Application Consultant |
For each document record, you can define data validations to be done when a data record is inserted in the staging journal. Found validation errors, warnings, or dependencies are stored as validation errors for the relevant staging journal.
For a Staging document, these standard validation classes are available:
|
||||||||||||||||||||||
Validate connectivity setup |
Application Consultant |
If you open a form or save (changes to) the setup of a key element in Connectivity studio, the setup is validated automatically. If errors are found in the setup, an error icon is shown. You can click the icon to show the related error messages. You can also manually start an automated test to check for errors in the setup. As a result, the found errors are shown. Also, the error icons are shown where applicable.
When errors are found, you can try to fix these errors automatically.
You can check and auto-fix errors for these key elements in Connectivity studio:
In this flow, in the activity steps, as an example, the validation is done for documents. |