When importing documents with items linked to a price list, you can activate the individual customer/supplier code mode. In this mode, all document items linked to the price list can use, instead of the usual code specified with the prefix code:, an individual customer (or supplier) code.
This mode is enabled by the attribute article-individual-codes="true" on the root element winstrom.
⚠️ The individual code must also be provided with the prefix code: and must be unique for the given customer/supplier.
Example
<?xml version="1.0"?>
<winstrom version="1.0" article-individual-codes="true">
<objednavka-prijata>
<kod>OBP0004/2014</kod>
<datVyst>2014-02-17</datVyst>
<firma>code:FLEXIBEE</firma>
⋮
<polozkyObchDokladu>
<objednavka-prijata-polozka>
<typPolozkyK>typPolozky.katalog</typPolozkyK>
<mnozMj>1.0</mnozMj>
<sklad>code:SKLAD</sklad>
<!-- vyhledávání primárně dle kódu v individuálním ceníku odběratele -->
<cenik>code:S001</cenik>
</objednavka-prijata-polozka>
</polozkyObchDokladu>
</objednavka-prijata>
</winstrom>
How the item is looked up
When creating an order, the item is first searched for in the customer's individual price list FLEXIBEE by the code S001. If no such record exists in the individual price list, the price list item lookup continues in the standard way.
ℹ️ In other words, it is "individual first, then standard" — this mode does not disable the standard lookup, it merely prioritizes the individual price list before it. The document will therefore go through even with codes that are not present in the individual price list at all.
