Predmet:Re: barcode sa elektronickih vaga
Neki artikli dolaze u prodavnicu od proizvođača sa težinskim kodom (najčešće kod počinje sa 21) . Za te artikle je dovoljno samo u bazi obezbjediti šifru (prvih 7 cifara) i voditi računa o cijeni...
Za artikle koji se vagaju u samoj prodavnici (na elektronskim vagama) neophodno je iz šifarnika po potrebi (uvođenje novih artikala ili promjena cijene) slati podatke o artiklima na vagu (šifram naziv i cijena). Fajlovi koji se šalju su obično txt ili xml (zavisno od vage). Nakon pripreme tih fajlova, oni se šalju obično pomoću pomoćnih programa koji zavise od tipa vage (preko serijskog porta ili preko IP adrese). Primjeti fajlova u nastavku:
txt
00020700000001000000340000002700034LEPINA 00000050000000001100000000000000000000000000000000
0000000000000001000001000000000
00020700000001000000350000002800035SL ORANGE BISCUIT RIFUZA 00000520000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000360000002800036SCARLET KOKOS STAPICI RIFUZA 00000975000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000370000002800037SLJIVA 00000100000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000380000002800038NEKTARINA 00000320000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000390000002800039BURANIJA 00000150000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000400000002800040DINJA 00000180000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000410000002800041PATLIDAN 00000100000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000420000002800042LUBENICA 00000070000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000430000002800043BROKULA 00000200000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000440000002800044BRESKVA 00000320000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000450000002800045JAGODA RIFUZA 00000500000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000460000002800046NARANDZA KARAMELA 00000250000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000470000002800047SMOKVE SIROVE 00000230000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000480000002800048JABUKA DELISES 00000230000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000490000002800049NARANDZA NATALIA 00000320000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000500000002800050NARANCE 00000150000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000510000002800051ZUTA JABUKA 00000130000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000520000002800052CRVENA JABUKA 00000100000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000530000002800053KLEMENTINE 00000180000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000540000002800054MANDARINE 00000230000000001100000000000000000000000000000000
0000000000000001000000000000000
00020700000001000000550000002800055ANANAS
xml:
<?xml version="1.0" encoding="UTF-8" ?>
<scaledata xmlns:xsi="
http://www.mt.com/2011/xmltlv">
<articles>
<article mode="write">
<department_no>1</department_no>
<plu_no>1</plu_no>
<uan>2700001</uan>
<name>KRUH RAZEVI MPM</name>
<shortname>KRUH RAZEVI MPM</shortname>
<matchcode></matchcode>
<customer_id>1</customer_id>
<customer_article_number/>
<customer_article_number_2/>
<price1>180</price1>
<price2>0</price2>
<article_group_no>1</article_group_no>
<vat1_no>0</vat1_no>
<vat2_no>0</vat2_no>
<purchase_price>0</purchase_price>
<price_flag>0</price_flag>
<discount_flag>0</discount_flag>
<smiley>0</smiley>
<smiley_limit_high>0</smiley_limit_high>
<smiley_limit_low>0</smiley_limit_low>
<extratext_mode>0</extratext_mode>
<extratext_no/>
<tare_no/>
<tare_no2/>
<plu_type>1</plu_type>
<traceability_code/>
<last_used_lot_reference/>
<qrdata/>
<nutrition_no/>
<delete_date></delete_date>
<delete_date_offset>0</delete_date_offset>
<tlu_texts/><short_tlu_texts/>
<last_change></last_change>
</article>
</articles>
</scaledata>