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

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

Fields XML

Import element:

Name

Description

Type

Required/Optional

ImportSettings

Container element for importsettings

Element

Optional

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.1 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

Stock

The amount of stock still available for the product

Integer

Optional

StockIndicationCode

A stock indication, 1 = in stock (green), 2 = not in stock, short delivery time (orange), 3 = not in stock, longer delivery time (red)

StockIndicationCode

Required

Types:

Type

Values

StockIndicationCode

InStock, NotInStockShortDeliveryTime, NotInStockLongDeliveryTime

Last updated