Index: vhUnitTest/APPS/common/KlantKost/TestAfhalingKosten.cls.xml =================================================================== diff -u -r1933 -r1940 --- vhUnitTest/APPS/common/KlantKost/TestAfhalingKosten.cls.xml (.../TestAfhalingKosten.cls.xml) (revision 1933) +++ vhUnitTest/APPS/common/KlantKost/TestAfhalingKosten.cls.xml (.../TestAfhalingKosten.cls.xml) (revision 1940) @@ -22,7 +22,7 @@ Set ^KFAP("F",1,0,2) = "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" Set ^KFAP("F",1,0,3) = "\\\\\1000\\\\\\\\\\\\\\\##\12.19555\\\\\\\\\" Set ^KFAP("F",1,"U358178",0)="\" - Set ^KFAP("F",1,"U358178",1)="\12.10.01\\225398\\1000\OD1 #Door onze diensten 1\\\051-30 35 01\\\0.00##12.19555\\\12.10.01\\EUR\\\00\2\\###\M\\\F\F\\\\\\\61646\\OD1/3243\\\\OD1;61646;175696;58205\51834" + Set ^KFAP("F",1,"U358178",1)="\12.10.01\\225398\\1000\AFH #Door onze diensten 1\\\051-30 35 01\\\0.00##12.19555\\\12.10.01\\EUR\\\00\2\\###\M\\\F\F\\\\\\\61646\\OD1/3243\\\\OD1;61646;175696;58205\51834" Set ^KFAP("F",1,"U358178",2)="\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" Set ^KFAP("F",1,"U358178",3)="\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" Set ^KFAP("F",1,"U358178",4)=7 Index: APPS/common/KlantKost/impl/AfhalingKostCalculator.cls.xml =================================================================== diff -u -r1937 -r1940 --- APPS/common/KlantKost/impl/AfhalingKostCalculator.cls.xml (.../AfhalingKostCalculator.cls.xml) (revision 1937) +++ APPS/common/KlantKost/impl/AfhalingKostCalculator.cls.xml (.../AfhalingKostCalculator.cls.xml) (revision 1940) @@ -5,7 +5,7 @@ APPS.common.KlantKost.impl.KostCalculator 0 - + %String 1 1 @@ -16,12 +16,12 @@ - + Proformas of facturen overlopen en gegevens invullen. -Per unieke combinatie van datum en adres, het aantal bijhouden. +Per unieke combinatie van datum en verzendwijze (Afhaling of AfhalingConsument) Iterator:TECH.Iterator 1 Index: vhDeploy/JBL/Deploy20110830x1447.cls.xml =================================================================== diff -u -r1937 -r1940 --- vhDeploy/JBL/Deploy20110830x1447.cls.xml (.../Deploy20110830x1447.cls.xml) (revision 1937) +++ vhDeploy/JBL/Deploy20110830x1447.cls.xml (.../Deploy20110830x1447.cls.xml) (revision 1940) @@ -25,12 +25,10 @@ If ($zu(5) = "ADMIN1"){ - Write "Afhaling kosten berekening van laatste paar jaar wordt uitgevoerd :" + Write !,"Afhaling kosten berekening van laatste paar jaar wordt uitgevoerd.",! Set KlantKostService = ##class(APPS.common.KlantKost.impl.KlantKostService).%New() For Jaar = 2010 : 1 : 2011 { - w $c(9),"-",Jaar,! - For Maand = 1 : 1 : 12 { - //w $c(9),"-",Jaar," -> ",Maand,! + For Maand = 1 : 1 : 12 { If ((Jaar < 2011) || ((Jaar = 2011) && (Maand <= 8))) { Do KlantKostService.BerekenAfhalingKlantKosten(Jaar,Maand) } Index: APPS/common/KlantKost/impl/KostCalculator.cls.xml =================================================================== diff -u -r1426 -r1940 --- APPS/common/KlantKost/impl/KostCalculator.cls.xml (.../KostCalculator.cls.xml) (revision 1426) +++ APPS/common/KlantKost/impl/KostCalculator.cls.xml (.../KostCalculator.cls.xml) (revision 1940) @@ -27,5 +27,13 @@ 1 Jaar:%Integer,Maand:%Integer + + +1 +Jaar:%Integer,Maand:%Integer +%Date + + Index: DOM/OV/enu/VerzendWijze.cls.xml =================================================================== diff -u --- DOM/OV/enu/VerzendWijze.cls.xml (revision 0) +++ DOM/OV/enu/VerzendWijze.cls.xml (revision 1940) @@ -0,0 +1,31 @@ + + + +datatype +1 +%String +0 + + +,AFH ,AFC + + + +;Afhaling;Afhaling Consument + + + +1 +expression + + + + +1 +expression + + + + Index: APPS/common/KlantKost/impl/MonsterKostCalculator.cls.xml =================================================================== diff -u -r1618 -r1940 --- APPS/common/KlantKost/impl/MonsterKostCalculator.cls.xml (.../MonsterKostCalculator.cls.xml) (revision 1618) +++ APPS/common/KlantKost/impl/MonsterKostCalculator.cls.xml (.../MonsterKostCalculator.cls.xml) (revision 1940) @@ -16,8 +16,7 @@ Set KlantAPI = ##class(DOM.DomeinContext).Instance().GeefKlantAPI() Set AankoopPrijsAPI = ##class(DOM.DomeinContext).Instance().GeefAankoopPrijsAPI() - Set Datum = +$zdh("01/"_Maand_"/"_Jaar,4) - + Set Datum = ..GeefDatum(Jaar,Maand) Set StartDatum = ##class(TECH.DateTime).EersteDagVanMaand(Datum) Set EindDatum = ##class(TECH.DateTime).LaatsteDagVanMaand(Datum) Index: DOM/OV/impl/DataM/DataMBonAbstract.cls.xml =================================================================== diff -u -r1784 -r1940 --- DOM/OV/impl/DataM/DataMBonAbstract.cls.xml (.../DataMBonAbstract.cls.xml) (revision 1784) +++ DOM/OV/impl/DataM/DataMBonAbstract.cls.xml (.../DataMBonAbstract.cls.xml) (revision 1940) @@ -40,6 +40,20 @@ ]]> + + +AfhaalDatum, ingevuld door het afpunten bij afhaling. Opgelet : er wordt niet altijd afgepunt !!! +%Date + + + %Integer -%Date +DOM.OV.enu.VerzendWijze Index: APPS/common/KlantKost/impl/data/AfhalingKostItem.cls.xml =================================================================== diff -u -r1933 -r1940 --- APPS/common/KlantKost/impl/data/AfhalingKostItem.cls.xml (.../AfhalingKostItem.cls.xml) (revision 1933) +++ APPS/common/KlantKost/impl/data/AfhalingKostItem.cls.xml (.../AfhalingKostItem.cls.xml) (revision 1940) @@ -6,12 +6,12 @@ APPS.common.KlantKost.impl.data.IndividueelKostItem 0 - + %String -Datum:%Date,KlantNr:%Integer,Kost:%Integer,AantalAdressen:%String +Datum:%Date,KlantNr:%Integer,Kost:%Integer,AantalAfhalingen:%String 1 1 %Status @@ -20,7 +20,7 @@ Set ..KlantNr = KlantNr Set ..KostType = ##class(APPS.common.KlantKost.enu.KostType).Afhaling() Set ..Kost = Kost - Set ..AantalAdressen = AantalAdressen + Set ..AantalAfhalingen = AantalAfhalingen Quit ##super() ]]> @@ -43,6 +43,9 @@ AantalAdressen + +AantalAfhalingen +