Siirry pääsisältöön

WinPos-linkin tiedostokuvaukset

Tästä kappaleesta löydät tiedostokuvaukset.

Yleistä

Tiedostokuvausten Visma Nova -huomiot sarakkeessa on kerrottu, kuinka tietoa käsitellään. Kentät erotetaan toisistaan puolipisteellä (;).

ELE-nauha

HEADER RECORD

Fieldname

Condition

Contents

Explanation

Visma Nova -huomiot

1

TYPE

‘H’

Always ‘H’ for header

Vain H rivit käsitellään

2

SUBCODE

‘N’

‘N’ for Normal receipt

N ja V rivit käsitellään.

‘V’

‘V’ for Transaction void receipt (as a normal receipt except that all sales figure are opposite sign (negative))

‘T’

‘T’ for Training Mode. The transaction was produced in training mode. No update in sales figure

‘R’

‘R’ for Report

‘J’

‘J’ Money declaration

‘X’

‘X’ Export an Import to database-tables

‘A’

‘A’ Archive of electronic journal

‘L’

‘L’ Switch to Local database

‘C’

‘C’ Switch to Central database (default DB)

‘B’

‘B’ Terminal close routine (Special report)

‘F’

‘F’ Recovery of database (Special report)

3

ELEDATE

String * 8

Year, month, day (YYYYMMDD) when the receipt was generated

Kuitin päiväys (=muodostetun laskun päiväys)

4

TERM

String * 3

Terminal number - numeric with leading spaces 1 to 99

5

RCPT

String * 6

Receipt number - numeric with leading spaces. If SUBCODE = ‘A’ then RCPT is alphanumeric

Kirjoitetaan Mitat (dimensio) -kenttään

6

ELETIME

String * 4

Hour and minute (HHMM) when the receipt was issued

7

HCASCODE

String * 3

Cashier Code - numeric with leading spaces. Is zero for report produced without cashier code.

8

RESERVED

String * 49

Field is left empty intentionally

9

CUSTOMERNR

String * 20

Customer Nr of the salesreceipt, empty if no Customer Nr is entered whiten the sale.

Jos kentässä on numero, haetaan asiakaskortistosta ko. asiakas. Jos asiakas löytyy, muodostetaan lasku. Jos asiakasta ei löydy, lasku tehdään silti, mutta asiakasnimi on sama kuin käteismyynnissä eli käteisasiakas

10

CUSTOMER_INFO

String * 40

Customer Name of the salesreceipt, empty if no Customer Name is entered whiten the sale.

11

ELEH_RES1CNT

Long

Reserved for future

12

ELEH_RES1TTL

Currency

Reserved for future

13

LINES

Long

Number of lines in the basket for a receipt

14

AMT

Currency

Sales price for whole receipt including VAT.

Note! If SUBCODE = ‘V’(Transaction void) then this amt-field should be read as it would be multiplied with –1.

Suoritussumma suoritusriveillä. Jos on maksettu useilla eri maksutavoilla (sama kuitti), luetaan saatu summa kentästä 23.

ITEM RECORD

15

TYPE_

‘A’

‘A’ for Article

Luetaan rivit: A, D, I, S mikäli kyseessä ei ole suorituskohdistus.

I-rivi tarkoittaa alennusta ja se kohdistetaan edelliselle tuoteriville. Mikäli tuotetta ei ole varastosta löytynyt, käsitellään alennusta tuotekoodilla ALE (tulee omaksi riviksi).

S-rivit eli loppusumma-alennukset tulevat koodille ALE.

P-rivit ovat suoritusrivejä, jolloin maksutapa luetaan kentästä 17.

‘H’

‘H’ for Header Article in a receipt, should be treated as a normal ‘A’ (Article)

‘G’

‘G’ for a member in a receipt, usual just as print information on receipt, but it can also update stock counter

‘D’

‘D’ for Department or Subdepartment

‘P’

‘P’ for Payment

‘I’

‘I’ for Item Discount (the item before this record)

‘S’

‘S’ for Subtotal Discount on whole receipt contents

16

SUBTYPE

‘F’

‘F’ for Financial Transaction (Loan, Received on account, Pick up or Paid out)

Jos kentässä on F ja on valittu optio Laskukohdistustieto alussa, niin haetaan lasku, jonka numero kerrotaan kentässä 17. Jos laskua ei löydy, tulee tästä ilmoitus, koska suoritusta ei voida kohdistaa.

‘R’

‘R’ for Report

‘T’

‘T’ for Taxline

‘N’

‘N’ for Non Add text ( Free text )

SUBCODE= ‘A’

‘B’

‘B’ Archive record,

‘L’

‘L’ Log item (Ex. Power failure)

‘C’

‘C’ Switch to Central/Local database

‘E’

‘E’ Export record

‘M’

‘M’ Import record

‘X’

‘X’ Free text

‘W’

‘W’ Foreign currency payment

‘N’

‘N’ for Normal item line

‘R’

‘R’ for Refund

‘F’

‘F’ for First Non-Add

‘I’

‘I’ for Item Non-Add

TYPE_= ‘X’

‘C’

‘C’ Customer info related to payment (the row before which is of type TYPE_ = ‘P’)

‘P’

‘P’ Printing data related to payment (the row before which is of type TYPE_ = ‘P’)

‘N’

‘N’ Non printing data related to payment (the row before which is of type TYPE_ = ‘P’)

17

CODE

String *17

Code (Ex. Article code if TYPE_ = ‘A’, Customer code if TYPE_ = ‘X’ and SUBTYPE = ‘C’

Tuotekoodi. Voi olla myös EAN-koodi. Varaston päivittämisessä haku tehdään ensin tuotekoodilla ja jos ei löydy, niin EAN-koodilla. Kentässä voi myös olla laskukohdistustieto.

Suoritusriveillä maksutapa on kerrottu tässä kentässä. Maksutapojen tiliöinti tehdään Visma Novassa.

18

SUBSTRING

String *100

Descriptor of the item, usually printed on receipt

19

ELEI_RESERVED

String *19

Status field for item

TYPE_= ‘P’

If Position 2 = ‘F’ than Payment is made whit FIM

If Position 2 = ‘E’ than Payment is made whit EURO

TYPE_= ‘A’ or ‘G’ or ‘H’

If Position 1 = ‘Y’ than update Stock count

Position 2 = empty

Position 3 = Vat number

Position 4 = empty

Position 5-7 = Subdepartment

Position 8-10 = Maindepartment

Position 11 = Receipt status

20

ELEI_RES1CNT

Long

Reserved for future

21

ELEI_RES1TTL

Currency

TYPE_= ‘P’

The rounding for the payment.

Ex.1 Receipt amount is 0,33 Mk, than you have to pay 0,30 Mk; ELEI_RES1TTL is –0,03

Ex. 2 Receipt amount is 0,29 Mk, than you have to pay 0,30 Mk; ELEI_RES1TTL is 0,01

22

QTY

Long

Quantity. No decimal, instead it is 1000 times bigger than it should be, Ex. 1 = 1000.

Myyty määrä tuhatkertaisena. Luku jaetaan 1000 siirrettäessä Visma Novaan käytettäessä Winpos-kassajärjestelmää.

23

AMT1

Currency

Unit price for a article/department

Myydyn tuotteen á-hinta.

Suorituksissa saatu summa.

24

ROWNUM

Long

Reserved for future

Nimikkeiden siirtotiedosto

Siirtotiedoston nimi ei saa olla enemmän kuin 12 merkkiä pitkä eli esimerkiksi KaikkiTuotteet.txt on virheellinen tiedostonimi. Kolme ensimmäistä riviä ovat informatiivisia ja varsinaiset tuotteet alkavat 4. riviltä.

Kenttä

Selitys

Max

Tyyppi

Visma Nova -huomiot

plu_code

Koodi

12

String

Tuotekoodi

plu_sbcd

Alakoodi (aina 00)

2

String

00

plu_descr

Nimitys

50

String

Nimike

plu_stat

Status-kenttä (Y/N)

Pos. 1 = Käytä varastonlaskuria

Pos. 2 = Tulosta keittiö tulostiin

Pos. 3 = Muutettu tuote

Pos. 4 = Alennusesto

Pos. 5 = Kate laskenta

Pos. 6 = Tulosta hyllyreunaetiketti

8

String

YNNNNNNN

plu_type

Tyyppi

N = Tavallinen (Normal)

P = Vaihteleva hinta (Price)

W = Vaihteleva paino (Weight)

L = Reseptit (Link PLU)

1

String

N mikäli hinta on syötetty. P mikäli tuotteen hinta on nolla.

plu_link

Alatuoteryhmälinkki

4

Integer

Tuoteryhmänumero. Mikäli tuoteryhmä on nolla, kirjoitetaan 11. Tuoteryhmät on perustettava Winposiin.

plu_tax

Veroluokka

0 = Veroton myynti

1 = Alv 23,00 %

2 = Alv 13,00 %

3 = Alv 9,00 %

4 = Alv ?

5 = Alv ?

1

Integer

Veroluokka luetaan myyntitilin verokannasta. Mikäli tiliä ei ole, on oletuskanta 23% eli 1

pluprice

Hinta

Currency

Myyntihinta. Optiona tarjoushinta, mikäli se on syötetty.

plu_cnt

Myyntitilasto

Long

0

Pluttl

Myyntitilasto

Currency

0

plu_p1cnt

Myyntitilasto

Long

0

plup1ttl

Myyntitilasto

Currency

0

plu_p2cnt

Myyntitilasto

Long

0

plup2ttl

Myyntitilasto

Currency

0

plu_stkcnt

Varastolaskuri

HUOM! Aina 1000 kertaa suurempi, eli jos varastossa on 1 kpl niin tämä kenttä pitää olla 1000.

Long

Varastosaldo tuhatkertaisena.

plu_stockwarn

Varoitus taso

Integer

0

plu_avg_puprice

Myyntitilasto

Currency

keskiostohinta

plu_puprice

Ostohinta (Alv 0,00 %)

Currency

Ed. Ostohinta

plu_costprice

Myyntitilasto

Currency

0

plu_last_calc

Myyntitilasto

8

String

0

plu_start_stock

Myyntitilasto

Long

0

plu_profit0

Myyntitilasto

Currency

0

plu_waste0

Myyntitilasto

Currency

0

plu_wastecnt0

Myyntitilasto

Long

0

plu_profit1

Myyntitilasto

Currency

0

plu_waste1

Myyntitilasto

Currency

0

plu_wastecnt1

Myyntitilasto

Long

0

plu_profit2

Myyntitilasto

Currency

0

plu_waste2

Myyntitilasto

Currency

0

plu_wastecnt2

Myyntitilasto

Long

0

plu_avgstk1_cnt

Myyntitilasto

Long

0

plu_stock1_day

Myyntitilasto

Integer

0

plu_avgstk2_cnt

Myyntitilasto

Long

0

plu_stock2_day

Myyntitilasto

Integer

0

plu_ean

EAN-koodi

30

String

EAN-koodi

plu_descr2

Nimitys 2

50

String

Lisänimike

plu_dscgrp

Aleryhmä

10

String

Alennusryhmä

plu_unit

Yksikkö (esim. kg)

5

String

Myyntiyksikkö

plu_shelf

Sijainti

10

String

Hyllyosoite

plu_unitCnt

Yksikkömäärä (esim. 0,250)

HUOM! Aina 1000 kertaa suurempi, eli jos yksikkö on 0,250 kg, niin tämä kenttä pitää olla 250.

Long

-

Asiakassiirtotiedoston kuvaus

Siirtotiedoston nimi ei saa olla enemmän kuin 12 merkkiä pitkä eli esimerkiksi Asiakkaat.txt on virheellinen tiedostonimi. Kolme ensimmäistä riviä ovat informatiivisia ja asiakastiedot alkavat 4. riviltä.

Pos

Kenttä

Selite

Tyyppi

Visma Nova -huomiot

1

CustNr

Numero

string*17

Asiakasnumero

2

CustID

ID

string*40

-

3

CustCustGroup

Asiakasryhmä, 0-9999 (0=Kaikki)

integer

Asiakasryhmä

4

CustDiscGroup

Asiakasalennusryhmä, 0-9999 (0=Kaikki)

integer

Asiakkaan aleryhmä

5

CustName1

Nimi 1

string*50

Asiakasnimi

6

CustName2

Nimi 2

string*50

Lisänimi

7

CustAddr

Lähiosoite

string*40

Lähiosoite

8

CustPostNrArea

Osoite

string*40

Osoite

9

CustCountry

Maa

string*20

Maa

10

CustTel1

Puhelin 1

string*20

Puhelin

11

CustTel2

Puhelin 2

string*20

-

12

CustFax

Fax

string*20

Fax

13

CustEmail

Sähköposti

string*60

-

14

CustComm

Huomioita

string*100

-

15

CustRef

Selite

string*40

-

16

CustPriceNr

Hinnastonumero

string*10

yleishinnastonumero

17

CustLanguage

Kieli

string*10

kielikoodi

18

CustCreditStop

Luottoesto, 0=Ei 1=Kyllä

integer

0

19

CustCreditLimit

Luottoraja

99999999

20

CustCreditOpen

= 0

21

CustCreditTtl1

Avoin saldo 1

currency

22

CustCreditTtl2

Avoin saldo 2

currency

23

CustCreditTtl3

Avoin saldo 3

Currency

24

CustCreditTtl4

Avoin saldo 4

currency

25

CustCreditTtl5

Avoin saldo 5

currency

26

CustPurchCnt1

= 0

27

CustPurchTtl1

= 0

28

CustPurchCnt2

= 0

29

CustPurchTtl2

= 0

30

CustPurchCnt3

= 0

31

CustPurchTtl3

= 0

32

CustBonusCnt1

= 0

33

CustBonusTtl1

= 0

34

CustBonusCnt2

= 0

35

CustBonusTtl2

= 0

36

CustBonusCnt3

= 0

37

CustBonusTtl3

= 0

38

CustPayment

= 0

39

CustResCnt1

= 0

40

CustResTtl1

= 0

41

CustResCnt2

= 0

42

CustResTtl2

= 0

43

CustResCnt3

= 0

44

CustResTtl3

= 0

Vastasiko tämä kysymykseesi?