home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
testsoft
/
vatman
/
vatman.lzh
/
PZ_MALY.DOK
< prev
next >
Wrap
Text File
|
1996-12-12
|
3KB
|
66 lines
*PZ typu M+,N+,Ni
#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+","Z MAGAZYNU:"+slownik("S_K","KOD_MAGAZ "+OBRGL->KONTRAHENT),"KONTRAHENT:"+len10(KONTRAH->NAZWA_PLAT,40))
Ap =if(KOD_DOK="M+","","ADRES :"+len10(KONTRAH->ADRES_PLAT,40))
L =str(NR_POZ,3)
Naz=len10(substr(INDEKS->NAZ_TOWARU,1,50),50)
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(ILOSC_POCZ/INDEKS->PRZEL2,6,1)," ")
Jm =substr(slownik("S_K","JM "+INDEKS->JM),1,5)
Ilo=if(M->_COMA,transform(ILOSC_POCZ,"@E 9999.99"),str(ILOSC_POCZ,7))
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))+" "
Cs =transform(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")
RnettoCs=transform(M->swcs,"@E 999,999,999.99")
RbrutoCs=transform(M->swcs_zv,"@E 999,999,999.99")
Opr =substr(slownik("S_K",'SYMB_OPER '+OBRGL->SYMB_OPER),1,20)
#NAGLOWEK
[M->ADR] NIP:[M->Nip ] Str:[S ]
[Rdok ] [Kd] Nr:[Nrm ] Z dnia: [dn ] [Np]
[repl("_",128)]
Poz. Kod towaru Nazwa towaru Opis Iloÿå Cena WARTOùÅ
[repl("_",128)]
[Ifp]
#POZYCJE
[L] [KOD_TOWARU ] [Naz ][OPIm ][Ilo ][Cn ] [Wn ]
#SUMY
[repl("_",128)]
[Wag ] Razem: [Rnetto ]
SporzÑdziê: [Opr ] Wydaê: Odebraê:
dn:........ podpis..... dn:........ podpis..... dn:........ podpis.....
#KONIEC