Index: vhDeploy/D20161205xCrmCustomerKlantLeverAdresOntkoppelaar.cls.xml =================================================================== diff -u --- vhDeploy/D20161205xCrmCustomerKlantLeverAdresOntkoppelaar.cls.xml (revision 0) +++ vhDeploy/D20161205xCrmCustomerKlantLeverAdresOntkoppelaar.cls.xml (revision 38260) @@ -0,0 +1,48 @@ + + + +vhDeploy.Deploy + + +%String +Klant leveradres ontkoppelaar + + + +1 +0){ + + #dim VerkoopAPI As DOM.VKP.VerkoopAPI = ##class(DOM.DomeinContext).Instance().GeefVerkoopAPI() + #dim Klant As DOM.VKP.VanHoeckeKlant = VerkoopAPI.GeefKlant("K||"_KlantId) + + #dim PartijAPI As DOM.PARTIJ.PartijAPI = ##class(DOM.DomeinContext).Instance().GeefPartijAPI() + #dim Partij As DOM.PARTIJ.Partij = PartijAPI.GeefPartij("K||"_KlantId) + + Set $piece(@Global,"\",2) = Partij.GeefNaam() + Set $piece(@Global,"\",3) = Partij.GeefToenaam() + Set $piece(@Global,"\",4) = Partij.GeefAanspreking() + Set $piece(@Global,"\",5) = Klant.GeefAdres().GeefStraat() + Set $piece(@Global,"\",6) = Klant.GeefAdres().GeefPostcode() + Set $piece(@Global,"\",7) = Klant.GeefAdres().GeefGemeente() + Set $piece(@Global,"\",8) = Klant.GeefAdres().GeefLandNr() + Set $piece(@Global,"\",9) = Partij.GeefTaal() + Set $piece(@Global,"\",13) = Partij.GeefTelefoon1() + Set $piece(@Global,"\",14) = Partij.GeefTelefoon2() + + Set $piece(@Global,"\",19) = "" + } + } +]]> + + + + +