Exporting Journals from Dynamics 365 Business Central
This task will export journals from Dynamics 365 Business Central to Dynamics 365 Business Central Journal XML format.
Settings
Dynamics 365 Business Central Connection
Required
The connection to Dynamics 365 Business Central to use. See the Connecting to Dynamics 365 Business Central article if you require more information on how to create/manage connections.
Export Accounts
Required
Set to true to include detailed account information in the output from the task.
Export Settings
Required
- Date Modified - Only records modified after this date will be exported. The date will update automatically each time the task runs.
- Export Modified or All Records - Used to choose which records should be included in the export. Note that the 'Modified' setting will also export any new records.
Filter
Optional
Specify criteria to use to filter the records output by the task. The filter is specified using the OData format, e.g. id eq c998d7da-549e-ed11-988a-000d3a3885d3
. See Filtering for more information.
Output File
Required
The name of the file to write the exported records to. The data will be exported in XML format, a sample is provided below.
Page Size
Required
The maximum number of records to requested at a time. Increasing this will speed up the export but will use more memory and may result in timeout errors. The maximum is 20000.
Zynk Settings
Examples
Sample output file:
<?xml version="1.0" encoding="utf-8"?>
<Journals xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Journal>
<Id>c4903bdf-549e-ed11-988a-000d3a3885d3</Id>
<ExternalId>137183</ExternalId>
<ODataETag>W/"JzIwOzE2Mjk0ODc2MjYxODczNzg3NzA0MTswMDsn"</ODataETag>
<Code>DEFAULT</Code>
<DisplayName>Default Journal Batch</DisplayName>
<LastModifiedDateTime>2023-01-27T15:12:08.15Z</LastModifiedDateTime>
<BalancingAccountId>00000000-0000-0000-0000-000000000000</BalancingAccountId>
<BalancingAccountNumber />
<JournalLines>
<JournalLine>
<Id>be7b832c-559e-ed11-988a-000d3a3885d3</Id>
<ODataETag>W/"JzIwOzE1ODUxNTMyNDg4MjM2NDM2NjcwMTswMDsn"</ODataETag>
<JournalId>c4903bdf-549e-ed11-988a-000d3a3885d3</JournalId>
<JournalDisplayName>DEFAULT</JournalDisplayName>
<LineNumber>10000</LineNumber>
<AccountType>G_x002F_L_x0020_Account</AccountType>
<AccountId>00000000-0000-0000-0000-000000000000</AccountId>
<AccountNumber />
<PostingDate>2021-12-31T00:00:00</PostingDate>
<DocumentNumber />
<ExternalDocumentNumber />
<Amount>0</Amount>
<Description />
<Comment />
<TaxCode />
<BalanceAccountType>G_x002F_L_x0020_Account</BalanceAccountType>
<BalancingAccountId>00000000-0000-0000-0000-000000000000</BalancingAccountId>
<BalancingAccountNumber />
<LastModifiedDateTime>2023-01-27T15:13:46.053Z</LastModifiedDateTime>
</JournalLine>
</JournalLines>
</Journal>
</Journals>