home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
testsoft
/
vatman
/
vatman.lzh
/
WZ_MAGAZ.DOK
< prev
next >
Wrap
Text File
|
1996-12-12
|
4KB
|
75 lines
*WZ typu M-,N-,Rw *
#DEFINICJE
Rdok=substr(slownik("S_K","KOD_OPER "+OBRGL->KOD_OPER),1,30)
Rdk =substr(slownik("S_K","KOD_DOK "+OBRGL->KOD_DOK),1,30)
Kd =" "+KOD_DOK
Nrm=len10(M->kod_magaz+"/"+ltrim(str(M->nr_dok,5)),8)
dn =dtoc(OBRGL->DATA)
S =str(M->str,3)
Ok =if(M->_R_LBL," ",if(OBRGL->SW,"KOPIA ","ORYGINA¥"))
Ifg=if(M->_WFO,alltrim(OBRGL->INFO),"")
Ifp=if(M->_WFO,"",alltrim(OBRGL->INFO))
Np =if(KOD_DOK="M-","DO MAGAZYNU:"+slownik("S_K","KOD_MAGAZ "+OBRGL->KONTRAHENT),OBRGL->KONTRAHENT)
L =str(Lpd,3)
Naz=len10(substr(INDEKS->NAZ_TOWARU,1,70),70)
Opim=len10(substr(OPIS,1,27),27)
Opn=if(M->_OPAK,"Il:w op. opak.","")
Op1=if(M->_OPAK.and.INDEKS->PRZEL2>0,str(INDEKS->PRZEL2,5,1)," ")
Op2=if(M->_OPAK.and.INDEKS->PRZEL2>0,str(M->ilosc_pocz/INDEKS->PRZEL2,6,1)," ")
Jm =substr(slownik("S_K","JM "+INDEKS->JM),1,5)
Ilo=if(.not.M->_COMA,str(M->ilosc_pocz,9),transform(if(KOD_DOK='NE'.and.ILOSC_POCZ<0,ILOSC_POCZ,M->ilosc_pocz),"@E 999999.99"))
Cn =transform(M->cp_op,"@E 9999,999.99")
Wn =transform(M->wcp_op,"@E 999,999,999.99")
V =if(INDEKS->ZWOL,"Zw",str(VAT_P,2))+" "
Vw =transform(M->vat,"@E 9999,999.99")
Wzv=transform(M->wcp_zv,"@E 999,999,999.99")
Cs =transform(if(M->_MPODAT,CENA/(1+VAT_P/100),CENA),"@E 9999,999.99")
Csv=transform(M->cs_zv,"@E 9999,999.99")
Wce=transform(M->wcs,"@E 999,999,999.99")
Wcv=transform(M->wcs_zv,"@E 999,999,999.99")
Wag=len10(if(M->_WAG,"Waga towaru: "+str(M->waga,6,0)+" kG",""),30)
Rnetto =transform(M->swcp_op,"@E 999,999,999.99")
Rvat =transform(M->svat7+M->svat12+M->svat22,"@E 9999,999.99")
Rbrutto =transform(M->swcp_zv,"@E 999,999,999.99")
Rnetto22=transform(M->swcp_op22,"@E 999,999,999.99")
Rvat22 =transform(M->svat22,"@E 9999,999.99")
Rbrutto22=transform(M->swcp_op22+M->svat22,"@E 999,999,999.99")
Rnetto12=transform(M->swcp_op12,"@E 999,999,999.99")
Rvat12 =transform(M->svat12,"@E 9999,999.99")
Rbrutto12=transform(M->swcp_op12+M->svat12,"@E 999,999,999.99")
Rnetto7 =transform(M->swcp_op7,"@E 999,999,999.99")
Rvat7 =transform(M->svat7,"@E 9999,999.99")
Rbrutto7=transform(M->swcp_op7+M->svat7,"@E 999,999,999.99")
Rnetto0 =transform(M->swcp_op0,"@E 999,999,999.99")
Rbrutto0=transform(M->swcp_op0,"@E 999,999,999.99")
RnettoZw=transform(M->swcp_opZw,"@E 999,999,999.99")
RbruttoZw=transform(M->swcp_opZw,"@E 999,999,999.99")
Opr =substr(slownik("S_K",'SYMB_OPER '+OBRGL->SYMB_OPER),1,20)
RnettoCs=transform(M->swcs,"@E 999,999,999.99")
RbrutoCs=transform(M->swcs_zv,"@E 999,999,999.99")
#NAGLOWEK
[M->ADR]
NIP:[M->Nip ]____________________________________________ Str:[S ]_________________________________________________
[Rdok ] [Kd] Nr:[Nrm ] Z dnia: [dn ]
[Rdk ] [Ok ]
[Ifg]
[Np]
[repl("-",120)]
Kod towaru SWW Nazwa towaru Rozliczenie w cenach sprzeda╛y [Opn ]
Poz. Opis j.m Iloÿå VAT% Cena netto Cena z VAT Wart. netto Wart.brutto
[repl("-",120)]
[Ifp]
#POZYCJE
[L] [KOD_TOWARU ] [INDEKS->SWW] [Naz ] [Op1 ] [Op2 ]
[opim ] [Jm ][Ilo ] [V] [Cs ] [Csv ] [Wce ][Wcv ]
#SUMY
[repl("-",120)]
[Wag ] Razem w cenach sprzeda╛y: [RnettoCs ][RbrutoCs ]
[repl("-",120)]
SporzÑdziê: [Opr ] Wydaê: Odebraê(os.uprawniona):
dn:........ podpis..... dn:........ podpis..... dn:........ podpis.....
#KONIEC