TB.One > Import & Export > Master Data Import via TB.Cat/XML > TB.Cat - XML Structure > TBCATALOG > PRODUCTDATA > PRODUCT > ARTICLEDATA / ARTICLE > A_STOCK

A_STOCK

In TB.One, stock can either be assigned to one central warehouse or to several storage facilities. The storage facilities, in turn, are connected to individual channels.

a_stock

NODE

REQUIRED

DATA TYPE

DESCRIPTION

A_STOCK

N

INT

Stock

A_STOCK[identifier]

N

CHAR(20)

Only use this node if you work with multiple storage facilities!
The identifier must always be "key".

A_STOCK[key]

N

CHAR(50)

Only use this node if you work with multiple storage facilities!

Import key of the storage facility.

 

EXAMPLE:
One central storage facility

<A_STOCK>5</A_STOCK>

 

Multiple storage facilities

<A_STOCK identifier="key" key="Zentrallager">10</A_STOCK>

<A_STOCK identifier="key" key="Außenlager 1">5</A_STOCK>

TIP:
With TB.One's REST-API, stock updates can be uploaded directly to your TB.One account. This allows you to circumvent the schedule for import jobs and run stock updates at any time. It is appropriate to use this method if you want to keep stock numbers of previously registered articles up-to-date during the processing of large product data catalogues.

The REST call and file structure for stock updates are described here. Stock updates via REST API are only viable if stock numbers are changed with that method exclusively.


For further information, see also:

Master data import via XML - overview

XML structure overview - TB.Cat 1.4

XML structure overview - TB.Cat 1.2/1.3

Examples: XML for TB.Cat 1.4 or TB.Cat 1.2/1.3