Prices
This article explains how to export prices from inRiver to Litium.
There is no inbuilt functionality in inRiver to represent prices. However, your ERP system may export the prices as item fields to the inRiver , and they can be imported into Litium through the connector.
To export prices
Determine which fields are going to hold the following values:
- Price
- VAT
Then, Specify the priceLists setting in config file ( Litium.AddOns.InRiver.dll.config, i.e app.config in Litium.AddOns.InRiver project)
priceLists: Specify if prices need to be exported to Litium. If PriceList does not exist, it will be created when importing.
Format: <FieldTypeId>:<PriceListName>:<Currency>:<PriceIncludesVAT>:<Vat fieldTypeId>:<Default VAT percentage>
e.g.:"ItemRecPrice:SEK:SEK:true:ItemRecPriceVat:0.25, ItemRecPriceNO:NOK:NOK:true:ItemRecPriceVatNO:0.25"
- FieldTypeId: this is the field type id which has the price. It must belong to a inRiver item entity.
- PriceListName: Name of the pricelist that should be created in Litium Studio.
- Currency: Currency of the price list.
- PriceIncludesVAT: if the price includes VAT, set to true, otherwise set to false.
- Vat fieldTypeId: The field type id that contains the amount of VAT percentage. If the vat percentage field is not there, leave blank. The value of individual vat field should be between 0 and 1, with '.' as the decimal seperator. e.g: 0.25. You may also use a CVL field in InRiver with the values as 0.25, 0.12, 0.06, etc.
- Default VAT percentage: a value between 0 and 1 to be used as VAT percentage if Vat fieldTypeId is not specified. Use a "." seperator, e.g 0.25
If PriceList name does not exist in Litium Studio, it will be created automatically when importing.