ERP User GuideMicrosoft Dynamics 365 for Finance and Operations, Enterprise Edition

Microsoft Dynamics 365 for Finance and Operations, Enterprise Edition

Sana Commerce 9.2
Your connector

Product Variants IDs

When you add product images, it is possible to add images to a simple product and to the product variants. If you add an image to a simple product, an item number is used in the product image file name. If you add an image to a product variant, an item number and a product variant ID are used in the product image file name.

 NOTE

Information in this article is applicable only if you upload images for the product variants directly to the Web server. If you use product images from Dynamics 365 Enterprise Edition, all product images are automatically renamed when imported to Sana.

Unlike the item number, that can be seen directly in the Released products table, the product variant IDs are not shown in Dynamics 365 Enterprise Edition.

To find out product variant IDs, you can use either Debug ERP requests in Sana Admin or Manual process requests in Dynamics 365 Enterprise Edition.

To open Debug ERP request in Sana Admin, click: Tools > ERP connection > Debug ERP request

To open Manual process requests in Dynamics 365 Enterprise Edition, click: Webshop > Debug > Manual process requests.

You can request a certain product with variants or multiple products from Dynamics 365 Enterprise Edition and see product variant IDs in the XML response.

<Variant>
     <field name="Id" value="000001" />
     <field name="Title" value="Boys T-Shirt" />
     <field name="Title_1033" value="Boys T-Shirt" />
     <field name="Title_1036" value="T-Shirt pour garçon" />
     <field name="Price" value="19.990" />
     <field name="Price_USD" value="19.990" />
     <field name="Price_EUR" value="14.590" />
     <field name="ListPrice" value="19.990" />
     <field name="Inventory" value="10" />
     <field name="GrossWeight" value="6" />
     <field name="IsOrderable" value="1" />
     <field name="Barcodes" value="020014000001" />
     <Components>
       <Component key="InventSizeId" value="Large" />
       <Component key="InventColorId" value="Black" />
     </Components>
</Variant>
ERP User GuideMicrosoft Dynamics 365 for Finance and Operations, Enterprise Edition