home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 mARCH
/
PCWK3A99.iso
/
Polskie
/
Insert
/
WZORCE2.ARJ
/
PIT-40.WVR
< prev
next >
Wrap
Text File
|
1998-03-05
|
8KB
|
172 lines
p1 = IIF(podmioty.osobafiz,ALLTRIM(podmioty.pnip),ALLTRIM(podmioty.nip)) ; ; 20
p4 = STR(l1_rok,4);;
p5 = dbf_pole("pracow","urzad_nr","pracow.id=m.id"); ;
p5 = alltrim(dbf_pole("urzedy","us_nazwa","us_id=pracow.urzad_nr"))+', '+alltrim(dbf_pole("urzedy","us_ulica","us_id=pracow.urzad_nr"))+' '+alltrim(dbf_pole("urzedy","us_nrdomu","us_id=pracow.urzad_nr"))+', '+ alltrim(dbf_pole("urzedy","us_miasto","us_id=pracow.urzad_nr")) ; ; 116
p6 = IIF(podmioty.osobafiz,.T.,.F.) ; ;
p7 = IIF(~p6~,ALLTRIM(podmioty.pnazwisko)+' '+ALLTRIM(podmioty.pimie1)+' '+DTOC(podmioty.pdataur),podmioty.nazwa) ; ; 116
p8 = IIF(~p6~,ALLTRIM(podmioty.pojciec)+' '+podmioty.pmatka,podmioty.nazwaskr) ; ; 40
p9 = podmioty.regon ; ; 30
p10 = IIF(~p6~,podmioty.pkraj,podmioty.kraj) ; ; 22
p11 = IIF(~p6~,podmioty.pwojewod,podmioty.wojewod) ; ; 26
p12 = IIF(~p6~,podmioty.pgmina,podmioty.gmina) ; ; 40
p13 = IIF(~p6~,podmioty.pulica,podmioty.adres) ; ; 60
p14 = IIF(~p6~,podmioty.pnr_domu,podmioty.nr_domu) ; ; 8
p15 = IIF(~p6~,podmioty.pnr_lokalu,podmioty.nr_lokalu) ; ; 6
p16 = IIF(~p6~,podmioty.pmiasto,podmioty.miasto) ; ; 30
p17 = IIF(~p6~,podmioty.pkod,podmioty.kod) ; ; 6
p18 = IIF(~p6~,podmioty.ppoczta,podmioty.poczta) ; ; 30
p19 = m.pd19 ; ; 15
p20 = m.pd20 ; ; 55
p21 = m.pd21 ; ; 40
p22 = m.pd22 ; ;
p23 = m.pd23 ; ; 23
p24 = m.pd24 ; ; 24
p25 = m.pd25 ; ; 47
p26 = m.pd26 ; ; 60
p27 = m.pd27 ; 999 ; 8
p28 = m.pd28 ; 999 ; 6
p29 = m.pd29 ; ; 30
p30 = m.pd30 ; ; 6
p31 = m.pd31 ; ; 30
p32 = m.pd32 ; ;
p33 = m.pd33 ; ;
p34 = dbf_suma("wyplaty","brutto", "YEAR(dataw)=l1_rok and wyplaty.idprac=m.id") ; ;
p35 = dbf_suma("wyplaty","koszt", "YEAR(dataw)=l1_rok and wyplaty.idprac=m.id") ; ;
p37 = dbf_suma("wyplaty","zaliczka", "YEAR(dataw)=l1_rok and wyplaty.idprac=m.id") ; ;
p38 = m.pd38 ;9,999,999,999.99;16
p39 = m.pd39 ;9,999,999,999.99;16
p36 = ~p34~ - ~p35~ + ~p38~ - ~p39~; ;
p40 = m.pd40 ; ;
p41 = ~p40~ ; ;
p42 = m.pd42 ; ;
p43 = m.pd43 ; ;
p44 = ~p43~ ; ;
p45 = m.pd45 ; ;
p46 = m.pd46 ; ;
p47 = ~p46~ ; ;
p48 = m.pd48 ; ;
p49 = m.pd49 ; ;
p50 = ~p49~ ; ;
p51 = m.pd51 ; ;
p52 = m.pd52 ; ;
p53 = m.pd53 ; ;
p54 = ~p52~ - ~p53~ ; ;
p55 = m.pd55 ; ;
p56 = m.pd56 ; ;
p57 = ~p56~ ; ;
p58 = m.pd58 ; ;
p59 = m.pd59 ; ;
p60 = m.pd60 ; ;
p61 = ~p59~ - ~p60~ ; ;
p62 = m.pd62 ; ;
p63 = m.pd63 ; ;
p64 = ~p63~ ; ;
p65 = m.pd65 ; ;
p66 = dbf_suma("zlecenie","brutto","zlecenie.idprac=m.id AND YEAR(dataw)=l1_rok AND !aktualna") ; ;
p67 = dbf_suma("zlecenie","brutto*koszt_s/100","zlecenie.idprac=m.id AND YEAR(dataw)=l1_rok AND !aktualna") ; ;
p68 = ~p66~ - ~p67~ ; ;
p69 = dbf_suma("zlecenie","podatek","zlecenie.idprac=m.id AND YEAR(dataw)=l1_rok AND !aktualna") ; ;
p70 = m.pd70 ; ;
p71 = m.pd71 ; ;
p72 = ~p70~ - ~p71~ ; ;
p73 = m.pd73 ; ;
p74 = m.pd74 ; ;
p75 = m.pd75 ; ;
p76 = ~p74~ - ~p75~ ; ;
p77 = m.pd77 ; ;
p78 = ~p34~+~p38~+~p40~+~p43~+~p46~+~p49~+~p52~+~p56~+~p59~+~p63~+~p66~+~p70~+~p74~ ; ;
p79 = ~p35~+~p39~+~p53~+~p60~+~p67~+~p71~+~p75~ ; ;
p80 = ~p78~-~p79~ ; ;
p81 = ~p37~+~p42~+~p45~+~p48~+~p51~+~p55~+~p58~+~p62~+~p65~+~p69~+~p73~+~p77~ ; ;
p82 = m.pd82 ; ;
p83 = m.pd83 ; ;
p84 = ~p80~-~p82~-~p83~
p84 = IIF(~p84~<0,0,ROUND(~p84~,0))
p85 = MAX(liczpod(~p84~,CTOD("31.12."+STR(l1_rok,4))),0) ; ;
p86 = ~p81~
p87 = MAX(~p85~-~p86~,0) ; ;
p88 = MAX(~p86~-~p85~,0) ; ;
p89 = m.pd89 ; ;
p90 = ~p87~-~p89~ ; ;
p91 = m.pd91 ; ;
p92 = ~p88~-~p91~ ; ;
p93 = m.pd93 ; ;
p94 = m.pd94 ; ;
p95 = m.pd95 ; ; 38
p96 = m.pd96 ; ; 38
p97 = m.pd97 ; ;
p98 = m.pd98 ; ;
p201 = iif( ~p33~=1, 'X', ' ' ) ; ; 1
p202 = iif( ~p33~=2, 'X', ' ' ) ; ; 1
p203 = iif( ~p33~=3, 'X', ' ' ) ; ; 1
p204 = iif( ~p33~=4, 'X', ' ' ) ; ; 1
p205 = iif( ~p33~=5, 'X', ' ' ) ; ; 1
p206 = iif( ~p6~, ' ', 'X' ) ; ; 1
p207 = iif( ~p6~, 'X', ' ' ) ; ; 1
p208 = iif( ~p32~=1, 'X', ' ' ) ; ; 1
p209 = iif( ~p32~=2, 'X', ' ' ) ; ; 1
p210 = iif( ~p32~=3, 'X', ' ' ) ; ; 1
p211 = iif( ~p94~=1, 'X', ' ' ) ; ; 1
p212 = iif( ~p94~=2, 'X', ' ' ) ; ; 1
p234 = iif(~p34~<>0, transform(~p34~,'9,999,999,999.99'),' ') ; ; 16
p235 = iif(~p35~<>0, transform(~p35~,'9,999,999,999.99'),' ') ; ; 16
p236 = iif(~p36~<>0, transform(~p36~,'9,999,999,999.99'),' ') ; ; 16
p237 = iif(~p37~<>0, transform(~p37~,'9,999,999,999.99'),' ') ; ; 16
p238 = iif(~p38~<>0, transform(~p38~,'9,999,999,999.99'),' ') ; ; 16
p239 = iif(~p39~<>0, transform(~p39~,'9,999,999,999.99'),' ') ; ; 16
p240 = iif(~p40~<>0, transform(~p40~,'9,999,999,999.99'),' ') ; ; 16
p241 = iif(~p41~<>0, transform(~p41~,'9,999,999,999.99'),' ') ; ; 16
p242 = iif(~p42~<>0, transform(~p42~,'9,999,999,999.99'),' ') ; ; 16
p243 = iif(~p43~<>0, transform(~p43~,'9,999,999,999.99'),' ') ; ; 16
p244 = iif(~p44~<>0, transform(~p44~,'9,999,999,999.99'),' ') ; ; 16
p245 = iif(~p45~<>0, transform(~p45~,'9,999,999,999.99'),' ') ; ; 16
p246 = iif(~p46~<>0, transform(~p46~,'9,999,999,999.99'),' ') ; ; 16
p247 = iif(~p47~<>0, transform(~p47~,'9,999,999,999.99'),' ') ; ; 16
p248 = iif(~p48~<>0, transform(~p48~,'9,999,999,999.99'),' ') ; ; 16
p249 = iif(~p49~<>0, transform(~p49~,'9,999,999,999.99'),' ') ; ; 16
p250 = iif(~p50~<>0, transform(~p50~,'99,999,999,999.99'),' ') ; ; 17
p251 = iif(~p51~<>0, transform(~p51~,'99,999,999,999.99'),' ') ; ; 17
p252 = iif(~p52~<>0, transform(~p52~,'99,999,999,999.99'),' ') ; ; 17
p253 = iif(~p53~<>0, transform(~p53~,'99,999,999,999.99'),' ') ; ; 17
p254 = iif(~p54~<>0, transform(~p54~,'99,999,999,999.99'),' ') ; ; 17
p255 = iif(~p55~<>0, transform(~p55~,'99,999,999,999.99'),' ') ; ; 17
p256 = iif(~p56~<>0, transform(~p56~,'99,999,999,999.99'),' ') ; ; 17
p257 = iif(~p57~<>0, transform(~p57~,'99,999,999,999.99'),' ') ; ; 17
p258 = iif(~p58~<>0, transform(~p58~,'99,999,999,999.99'),' ') ; ; 17
p259 = iif(~p59~<>0, transform(~p59~,'99,999,999,999.99'),' ') ; ; 17
p260 = iif(~p60~<>0, transform(~p60~,'99,999,999,999.99'),' ') ; ; 17
p261 = iif(~p61~<>0, transform(~p61~,'99,999,999,999.99'),' ') ; ; 17
p262 = iif(~p62~<>0, transform(~p62~,'99,999,999,999.99'),' ') ; ; 17
p263 = iif(~p63~<>0, transform(~p63~,'99,999,999,999.99'),' ') ; ; 17
p264 = iif(~p64~<>0, transform(~p64~,'99,999,999,999.99'),' ') ; ; 17
p265 = iif(~p65~<>0, transform(~p65~,'99,999,999,999.99'),' ') ; ; 17
p266 = iif(~p66~<>0, transform(~p66~,'99,999,999,999.99'),' ') ; ; 17
p267 = iif(~p67~<>0, transform(~p67~,'99,999,999,999.99'),' ') ; ; 17
p268 = iif(~p68~<>0, transform(~p68~,'99,999,999,999.99'),' ') ; ; 17
p269 = iif(~p69~<>0, transform(~p69~,'99,999,999,999.99'),' ') ; ; 17
p270 = iif(~p70~<>0, transform(~p70~,'99,999,999,999.99'),' ') ; ; 17
p271 = iif(~p71~<>0, transform(~p71~,'99,999,999,999.99'),' ') ; ; 17
p272 = iif(~p72~<>0, transform(~p72~,'99,999,999,999.99'),' ') ; ; 17
p273 = iif(~p73~<>0, transform(~p73~,'99,999,999,999.99'),' ') ; ; 17
p274 = iif(~p74~<>0, transform(~p74~,'99,999,999,999.99'),' ') ; ; 17
p275 = iif(~p75~<>0, transform(~p75~,'99,999,999,999.99'),' ') ; ; 17
p276 = iif(~p76~<>0, transform(~p76~,'99,999,999,999.99'),' ') ; ; 17
p277 = iif(~p77~<>0, transform(~p77~,'99,999,999,999.99'),' ') ; ; 17
p278 = iif(~p78~<>0, transform(~p78~,'99,999,999,999.99'),' ') ; ; 17
p279 = iif(~p79~<>0, transform(~p79~,'99,999,999,999.99'),' ') ; ; 17
p280 = iif(~p80~<>0, transform(~p80~,'99,999,999,999.99'),' ') ; ; 17
p281 = iif(~p81~<>0, transform(~p81~,'99,999,999,999.99'),' ') ; ; 17
p282 = iif(~p82~<>0, transform(~p82~,'99,999,999,999.99'),' ') ; ; 17
p283 = iif(~p83~<>0, transform(~p83~,'99,999,999,999.99'),' ') ; ; 17
p284 = iif(~p84~<>0, transform(~p84~,'99,999,999,999.99'),' ') ; ; 17
p285 = iif(~p85~<>0, transform(~p85~,'99,999,999,999.99'),' ') ; ; 17
p286 = iif(~p86~<>0, transform(~p86~,'99,999,999,999.99'),' ') ; ; 17
p287 = iif(~p87~<>0, transform(~p87~,'99,999,999,999.99'),' ') ; ; 17
p288 = iif(~p88~<>0, transform(~p88~,'99,999,999,999.99'),' ') ; ; 17
p289 = iif(~p89~<>0, transform(~p89~,'99,999,999,999.99'),' ') ; ; 17
p290 = iif(~p90~<>0, transform(~p90~,'99,999,999,999.99'),' ') ; ; 17
p291 = iif(~p91~<>0, transform(~p91~,'99,999,999,999.99'),' ') ; ; 17
p292 = iif(~p92~<>0, transform(~p92~,'99,999,999,999.99'),' ') ; ; 17