Exporting Vendors from Dynamics 365 Business Central
This task will export vendors from Dynamics 365 Business Central to Dynamics 365 Business Central Vendor 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 Currencies
Required
Set to true to include detailed currency information in the output from the task.
Export Default Dimensions
Required
Set to true to include detailed default dimension information in the output from the task.
Export Payment Methods
Required
Set to true to include detailed payment method information in the output from the task.
Export Payment Terms
Required
Set to true to include detailed payment term information in the output from the task.
Export Pictures
Required
Set to true to include detailed picture information in the output from the task, including a base-64 encoded copy of the image.
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"?>
<Vendors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Vendor>
<Id>4d4971d5-39bc-ed11-9a88-002248002e07</Id>
<ExternalId>8888</ExternalId>
<ODataETag>W/"JzIwOzE0MzYxMzU5NjI4NDE2NzE4NDc1MTswMDsn"</ODataETag>
<Number>V00010</Number>
<DisplayName>Zynk Software</DisplayName>
<AddressLine1>6 Charlotte Square</AddressLine1>
<AddressLine2 />
<City>Newcastle Upon Type</City>
<State>Tyne & Wear</State>
<Country>GB</Country>
<PostalCode>NE1 4XF</PostalCode>
<PhoneNumber />
<Email>[email protected]</Email>
<Website>www.zynk.com</Website>
<TaxRegistrationNumber>GB123456789</TaxRegistrationNumber>
<CurrencyId>00000000-0000-0000-0000-000000000000</CurrencyId>
<CurrencyCode>GBP</CurrencyCode>
<Irs1099Code />
<PaymentTermsId>0298d7da-549e-ed11-988a-000d3a3885d3</PaymentTermsId>
<PaymentMethodId>c58d3bdf-549e-ed11-988a-000d3a3885d3</PaymentMethodId>
<TaxLiable>true</TaxLiable>
<Blocked> </Blocked>
<Balance>0</Balance>
<LastModifiedDateTime>2023-03-06T16:19:37.077Z</LastModifiedDateTime>
<PaymentTerm>
<Id>0298d7da-549e-ed11-988a-000d3a3885d3</Id>
<ODataETag>W/"JzIwOzExMTEyODA2NDAzMTE5NjkyMTA3MTswMDsn"</ODataETag>
<Code>CM</Code>
<DisplayName>Current Month</DisplayName>
<DueDateCalculation>CM</DueDateCalculation>
<DiscountDateCalculation />
<DiscountPercent>0</DiscountPercent>
<CalculateDiscountOnCreditMemos>false</CalculateDiscountOnCreditMemos>
<LastModifiedDateTime>2023-01-27T15:11:51.347Z</LastModifiedDateTime>
</PaymentTerm>
<PaymentMethod>
<Id>c58d3bdf-549e-ed11-988a-000d3a3885d3</Id>
<ODataETag>W/"JzIwOzE0NTM2OTMxODM4MjMzMzgyMjk5MTswMDsn"</ODataETag>
<Code>BANK</Code>
<DisplayName>Bank Transfer</DisplayName>
<LastModifiedDateTime>2023-01-27T15:18:51.923Z</LastModifiedDateTime>
</PaymentMethod>
<Picture>
<Id>4d4971d5-39bc-ed11-9a88-002248002e07</Id>
<ODataETag>W/"JzE5OzQ2Nzk3NzQ5OTQ3NDIwNDM2MTkxOzAwOyc="</ODataETag>
<ParentType>Vendor</ParentType>
<Width>0</Width>
<Height>0</Height>
<ContentType />
<PictureContentEditLink>https://api.businesscentral.dynamics.com/v2.0/PRODUCTION/api/v2.0/companies(bba482b8-549e-ed11-988a-000d3a3885d3)/vendors(4d4971d5-39bc-ed11-9a88-002248002e07)/picture/pictureContent</PictureContentEditLink>
<PictureContentReadLink>https://api.businesscentral.dynamics.com/v2.0/PRODUCTION/api/v2.0/companies(bba482b8-549e-ed11-988a-000d3a3885d3)/vendors(4d4971d5-39bc-ed11-9a88-002248002e07)/picture/pictureContent</PictureContentReadLink>
<PictureContent><!-- base 64 encoded content here --></PictureContent>
</Picture>
<DefaultDimensions />
</Vendor>
</Vendors>