Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveGebruikersVelden.cls.xml =================================================================== diff -u -r72112 -r74411 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveGebruikersVelden.cls.xml (.../BatchNaarObjectiveGebruikersVelden.cls.xml) (revision 72112) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveGebruikersVelden.cls.xml (.../BatchNaarObjectiveGebruikersVelden.cls.xml) (revision 74411) @@ -14,7 +14,7 @@ -TECH.String +APPS.Halux.PPS.Document.impl.common.BatchNaarObjective.dto.BatchNaarObjectiveVlagVelden Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveTekstVelden.cls.xml =================================================================== diff -u -r74401 -r74411 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveTekstVelden.cls.xml (.../BatchNaarObjectiveTekstVelden.cls.xml) (revision 74401) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveTekstVelden.cls.xml (.../BatchNaarObjectiveTekstVelden.cls.xml) (revision 74411) @@ -108,26 +108,13 @@ - -%String - - - - -%String - - - - -%String - - - %Library.CacheSerialState BatchNaarObjectiveTekstVeldenState ^APPS.HaluxF90F.BatchNaarOb713FS +listnode + ToeleveringId @@ -147,7 +134,7 @@ OrderReferentie -CommisieReferentie +CommissieReferentie KlantOrderId @@ -159,47 +146,35 @@ KlantNaam -KlantId +KlantLogo -MultipersonalityKlant1 +KlantId -MultipersonalityKlant2 +KlantTaal -CommissieReferentie +Leveradres -KlantLogo +LeveradresDetails -KlantTaal +LeveradresLand -Leveradres +MultipersonalityKlant1 -PalletMateriaal +MultipersonalityKlant2 -TypeKarton +PalletMateriaal -IsExport +TypeKarton - -GebruikHalvePaletten - - -LeveradresDetails - - -LeveradresLand - - -Crossdocking - Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/HoofdDataGenerator.cls.xml =================================================================== diff -u -r74402 -r74411 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/HoofdDataGenerator.cls.xml (.../HoofdDataGenerator.cls.xml) (revision 74402) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/HoofdDataGenerator.cls.xml (.../HoofdDataGenerator.cls.xml) (revision 74411) @@ -95,7 +95,7 @@ Set GebruikersVelden = ##class(APPS.Halux.PPS.Document.impl.common.BatchNaarObjective.dto.BatchNaarObjectiveGebruikersVelden).%New() Set GebruikersVelden.DatumVelden = ..GeefDatumVelden(Toelevering) Set GebruikersVelden.TekstVelden = ..GeefTekstVelden(Batch, Toelevering, SequentieNummerToelevering) - Set GebruikersVelden.Vlag = "" + Set GebruikersVelden.Vlag = ..GeefVlagVelden(Batch, Toelevering, SequentieNummerToelevering) Set GebruikersVelden.NumeriekeVelden = "" Set BatchNaarObjectiveData.GebruikersVelden = GebruikersVelden @@ -169,16 +169,11 @@ #dim KlantInstellingen As DOM.Halux.AAP.Klantinstellingen #dim KlantInstellingenIterator = ..KlantinstellingenRepository.ZoekViaKlantId(Toelevering.GeefKlantID()) - Set TekstVelden.GebruikHalvePaletten = "false" - Set TekstVelden.IsExport = "false" Set TekstVelden.PalletMateriaal = "EUR" Set TekstVelden.TypeKarton = "VH" If (KlantInstellingenIterator.HasNext()) { Set KlantInstellingen = KlantInstellingenIterator.Next() - - Set TekstVelden.GebruikHalvePaletten = $Select(KlantInstellingen.HalvePallet : "true", 1:"false") - Set TekstVelden.IsExport = $Select(KlantInstellingen.IsExport : "true", 1:"false") Set TekstVelden.TypeKarton = $Select(KlantInstellingen.IsBlumXs : "Blum", 1:"VH") If (KlantInstellingen.WegwerpPallet) { @@ -192,6 +187,106 @@ ]]> + +Batch:APPS.Halux.common.Batch,Toelevering:DOM.AKP.Toelevering,SequentieNummerToelevering:%Integer +1 +APPS.Halux.PPS.Document.impl.common.BatchNaarObjective.dto.BatchNaarObjectiveTekstVelden + + + + +Order:DOM.VKP.Order,Toelevering:DOM.AKP.Toelevering +1 +%String + + + + + + + + +KLNr:%String,ORDNr:%String +30 FoutCode="Groot aantal "_SomVanAantal + + Set PRNr=$P(Lijn,"\",2) + Set GenTyp=$P($$GENTYP^HAD(PRNr),"\",1,2) + Set:(GenTyp="HAL")&&$$IsSpaceTower^PRODUKT2(PRNr) GenTyp="TBX",SomVanAantal=SomVanAantal+3 ; SPACETOWER voor KVIK moet als TBX beschouwd worden PV 22/11/2023 + + Set GenTyp=$S(GenTyp="":"*",1:GenTyp) + Set:$P(GenTyp,"\")?1(1"TBX",1"MVX",1"LBX",1"TAO") IsLade=1 + + Set:$P(GenTyp,"\")'?1(1"TBX",1"MVX",1"LBX",1"TAO") FoutCode="GenType geen lade "_GenTyp + Set:(MemGenTyp'="")&(MemGenTyp'=GenTyp) FoutCode="Verschillend GenType "_MemGenTyp_"="_GenTyp + Set MemGenTyp=GenTyp + } + Set OLNr=$O(^KOD(KLNr,"F",ORDNr,OLNr)) + } + + Set:'IsLade&&(FoutCode="") FoutCode="GenType geen Lade" + Set:(SomVanAantal< 2)&&(FoutCode="") FoutCode="Klein aantal "_SomVanAantal + Quit FoutCode +]]> + + Horolog:%String 1 Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveVlagVelden.cls.xml =================================================================== diff -u --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveVlagVelden.cls.xml (revision 0) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/dto/BatchNaarObjectiveVlagVelden.cls.xml (revision 74411) @@ -0,0 +1,47 @@ + + + +%SerialObject,%XML.Adaptor + + +%String +1 + + + +%String + + + + +%String + + + + +%String + + + + +%Library.CacheSerialState +BatchNaarObjectiveVlagVeldenState +^APPS.HaluxF90F.BatchNaarOb940CS + +listnode + + +IsExport + + +GebruikHalvePaletten + + +Crossdocking + + + + + + +