Stock

Short description

The ERP Cache Stock interface allows the import of article stock into the ERP Cache.

Delivery method

Update Frequency: Batch at least once a day Incremental or complete set: Incremental

Filetype: Zipped XML

Filename: [SHOPNAME]_ErpCache_Stock_[INDEXNUMBER].xml Transport: over FTPS, FTPS Vendisto server hosted by INTEGRACE, file will be placed on FTPS server by ERP party.

Location within FTP root: \ErpCache\

Structure XML

Changes from ErpCache_Stock XML 1.1 to 1.2

  • The ImportSettings node is now required as well as the 'Importer' and 'Version' settings.

  • The Stock element can now contain a decimal value.

<?xml version="1.0" encoding="utf-8"?>
<Import>
    <ImportSettings>
        <Importer>ErpCache_Stock</Importer>
        <Version>1.2</Version>
    </ImportSettings>
    <Stocks>
        <Stock>
            <ProductNumber></ProductNumber>
            <WarehouseId></WarehouseId>
            <Stock></Stock>
            <EndOfLife></EndOfLife>
            <TempNotAvailable></TempNotAvailable>
            <StockIndicationCode></StockIndicationCode>
        </Stock>
    </Stocks>
</Import>

Fields XML

Import element:

Name

Description

Type

Required/Optional

ImportSettings

Container element for importsettings

Element

Required

Stocks

Container element for Stock data

Element

Required

ImportSettings element:

Name

Description

Type

Required/Optional

Importer

Name of the importer. Must be ErpCache_Stock.

Text

Required

Version

Version of the import xml. Must be 1.2 for this version.

Text

Required

Stock element:

Name

Description

Type

Required/Optional

ProductNumber

The identifier of a product

Text

Required

WarehouseId

Identifier of the warehouse

Text

Optional

EndOfLife

Indication of whether or not the article is end of life

Boolean

Optional

TempNotAvailable

Indication of whether or not the article is temporary not available

Boolean

Optional

Stock

The amount of stock still available for the product

Decimal

Required

StockIndicationCode

A stock indication, in stock (green), not in stock, short delivery time (orange), not in stock, longer delivery time (red)

StockIndicationCode

Required

Types:

Type

Values

StockIndicationCode

InStock, NotInStockShortDeliveryTime, NotInStockLongDeliveryTime

Last updated