USERREPORT { NAME = "WAVG001"; CAPTION = "ΨΗηΗέ ³ρΣ³ΟαυρΉ³ΫΗέΗ Ρ³ίν³ρΟ (4.8.8 ο³ρ΅»ρ³Οαν)"; SOURCE = "WgDataW2"; REPORTMODE = "1"; EXCELMODE = 0; FILE = ""; FILESHABLON = ""; SHEET = ""; POSITIONX = ""; POSITIONY = ""; POSITIONXEND = ""; POSITIONYEND = ""; COLUMN {NAME = CODE; CAPTION = ". "; TYPE = "C(12)"; ECAPTION = "Table number "; GROUP = 1; }; COLUMN {NAME = COM; CAPTION = "²½·³έαυέ,³έαυέ,Ρ³Ϋρ³"; TYPE = "C(24)"; ECAPTION = "Last name, first nam"; SORTORDER = 1; GROUP = 1; }; COLUMN {NAME = GODMES; CAPTION = "Π³ίν³ρΟ³ΫΗέ ο³ρΗ/³ΩΗ"; TYPE = "C(7)"; ECAPTION = "Year/Month "; GROUP = 1; }; COLUMN {NAME = CODR; CAPTION = "ΞαΉ "; TYPE = "Folder(WgCodRs,3)"; ECAPTION = "Code "; }; COLUMN {NAME = CODN; CAPTION = "²έν³έαυΩ "; TYPE = "C(24)"; ECAPTION = "Name "; }; COLUMN {NAME = VCODR; CAPTION = "ξΗε "; TYPE = "C(1)"; ECAPTION = "Type "; }; COLUMN {NAME = SUMMA; CAPTION = "Π³ίν³ρΟν³Ν ·αυΩ³ρ "; TYPE = "N(13,2)"; ECAPTION = "Calculated sum "; TOTAL = 1; }; COLUMN {NAME = NTB; CAPTION = "ϊρ "; TYPE = "C(3)"; ECAPTION = "Day "; }; COLUMN {NAME = TABELM; CAPTION = "Ψ³ωλ-ϊρ "; TYPE = "N(3,0)"; ECAPTION = "Max-Day "; }; COLUMN {NAME = NSUM; CAPTION = "Π³ν»ΙαυΩ"; TYPE = "Summa"; SOURCE = 1; FORMULA = "Func1"; TOTAL = 1; SCALAR = 1; }; COLUMN {NAME = NARDBUL; CAPTION = "²ρΣ³ΟαυρΉ Ο³Ω ΡΗν³έΉ³Γ»ρΓΗΟ "; TYPE = "N(2,0)"; SOURCE = 1; FORMULA = "Func4"; SCALAR = 1; }; COLUMN {NAME = NMTERKU; CAPTION = "δ³ρ·¨³ορΩ³έ 1/12"; TYPE = "Summa"; SOURCE = 1; FORMULA = "Func2"; TOTAL = 1; SCALAR = 1; }; COLUMN {NAME = NMTERKU3; CAPTION = "δ³ρ·¨³ορΩ³έ ·αυΩ³ρ"; TYPE = "Summa"; SOURCE = 1; FORMULA = "Func5"; TOTAL = 1; SCALAR = 1; }; COLUMN {NAME = SOC1; CAPTION = "Ξ»έλ³Γαί³Ο³ΫΗέ ύαέΉ"; TYPE = "boolean"; ECAPTION = "Deduct pension fund "; }; COLUMN {NAME = SOC2; CAPTION = "ΆαρΝ³οαυΗ λασ- ³εΑ "; TYPE = "boolean"; ECAPTION = "Deduct employer soci"; }; PARAMETER {NAME = PARAM04; CAPTION = "»Ι³ΫΗέ Ρ³Ω³ρ"; TYPE = "Folder(Employee,12)"; UI = 1; REQUIRED = 1; PARAMETER = """000050"""; }; PARAMETER {NAME = PARAM01; CAPTION = "κΟ½΅Η ³Ωλ³ΓΗν"; TYPE = "Date"; UI = 1; PARAMETER = """01/08/09"""; }; PARAMETER {NAME = PARAM02; CAPTION = "μ»ρηΗ ³Ωλ³ΓΗν"; TYPE = "Date"; UI = 1; PARAMETER = """31/07/10"""; }; PARAMETER {NAME = DPRT1; CAPTION = "κοαρ³΅³Ε³έαυΩ"; TYPE = "C(3)"; }; PARAMETER {NAME = PARAM05; CAPTION = "ΨΗ³Ϋέ ονΫ³Ι Π/δ"; TYPE = "C(3)"; }; PARAMETER {NAME = PARAM06; CAPTION = "ΚΩ΅³ναρΗγ1 (Β»Ω³)"; TYPE = "C(3)"; }; PARAMETER {NAME = PARAM07; CAPTION = "ΚΩ΅³ναρΗγ2 (²ρο³Ήρ³έω)"; TYPE = "C(3)"; }; PARAMETER {NAME = PARAM08; CAPTION = "δ³ΫΩ³έ³·Ηρ"; TYPE = "C(2)"; }; PARAMETER {NAME = PARAM09; CAPTION = "Ξ³ο»·αρΗ³"; TYPE = "C(2)"; }; PARAMETER {NAME = PARAM10; CAPTION = "ΐέΉΙ³Ϋέν³Ν"; TYPE = "C(9)"; PARAMETER = """1111111111"""; }; PARAMETER {NAME = PARAM11; CAPTION = "ΚΩ΅³ναρΗγ3"; TYPE = "C(8)"; }; PARAMETER {NAME = DPRT2; CAPTION = "κοαρ³΅³Ε³έαυΩ"; TYPE = "C(3)"; }; PARAMETER {NAME = PARAM13; CAPTION = "΄³σΗ ονΫ³Ι Π/δ"; TYPE = "C(3)"; }; PARAMETER {NAME = FILIAL; CAPTION = "Ψ³λέ³ΧΫαυΥ"; TYPE = "C(3)"; }; PARAMETER {NAME = DPRTTREE; CAPTION = "ΨΗ³ναραυΩ"; TYPE = "C(12)"; }; PARAMETER {NAME = PPARCDS; CAPTION = "δ³ρ·¨³ορΩ³έ ΟαΉ»ρΑ, αραέω Οέ»ρ³ιν»έ 1/12-Η Ω³λαν"; TYPE = "C(50)"; ECAPTION = "."; SOURCE = 1; UI = 1; PARAMETER = """500,505,552,555"" "; }; SCRIPT {Function Func1 If instr(parameters("PPARCDS"),value("CODR")) > 0 then Func1 = 0 Else Func1 = 0 if (value("CODR") = "931" or value("CODR") = "932" or value("CODR") = "933"_ or value("CODR") = "934") then Func1 = value("SUMMA") elseif (value("CODR") >= "915" and value("CODR") <= "920") and value("VCODR") = "1" and value("SOC1") and value("SOC2") then Func1 = value("SUMMA") elseif (value("CODR") >= "915" and value("CODR") <= "920") and value("VCODR") = "0" and value("SOC1") and value("SOC2") then Func1 = -1 * value("SUMMA") elseif value("VCODR")="1" and left(value("CODR"),1) <> "9" and value("SOC1") and value("SOC2") then Func1 = value("SUMMA") elseif value("VCODR")="0" and left(value("CODR"),1) <> "9" and value("SOC1") and value("SOC2") then Func1 = -1 * value("SUMMA") end if End if End function Function Func2 If instr(parameters("PPARCDS"),value("CODR")) > 0 then if value("VCODR") = "1" then Func2 = value("SUMMA")/12 elseif value("VCODR") = "0" then Func2 = -1*value("SUMMA")/12 end if Else Func2 = 0 End if End function Function Func5 If instr(parameters("PPARCDS"),value("CODR")) > 0 then if value("VCODR") = "1" then Func5 = value("SUMMA") elseif value("VCODR") = "0" then Func5 = -1*value("SUMMA") end if Else Func5 = 0 End if End function Function Func4 Func4 = 0 If instr("941,943,945,946",value("CODR")) > 0 then Func4 = 1 End if End function }; };