Index: AXimpl/Admin/TRANSPORT/Levbon/Processor.cls.xml =================================================================== diff -u -r62525 -r63276 --- AXimpl/Admin/TRANSPORT/Levbon/Processor.cls.xml (.../Processor.cls.xml) (revision 62525) +++ AXimpl/Admin/TRANSPORT/Levbon/Processor.cls.xml (.../Processor.cls.xml) (revision 63276) @@ -132,6 +132,10 @@ Set Verschillen=..ObjectDiff.GetDifferences(BonLevering,BestaandeBonLevering) If Verschillen.Count() { + + ;Do DumpObject^%apiOBJ(BestaandeBonLevering) + ;Do DumpObject^%apiOBJ(BonLevering) + ;Do DumpObject^%apiOBJ(Verschillen) If (Verschillen.Count()>1) || (Verschillen.GetAt(1)'["CreatieDatum") { Do ##class(AXimpl.Admin.TRANSPORT.Levbon.BonLevering).%DeleteId(BonLevering.AXOrderID_"||"_BonLevering.LeveringBonNr) @@ -225,10 +229,48 @@ Set ..BonLevering.AantalLanggoed=$P($G(^TRANSP("D",TRANSNr,"D",GroepBONNr,"Q","L")),"\") } Do ..VulAanTrackAndTrace() + Do ..VulAanBarcodeID() } ]]> + + + + + + + + LandID:%String + +w ##class(APPS.OV.impl.TrackAndTraceService).%New().GeefPrivateTrackAndTraceURL(399379) 5)) + Set AantalSpoelbak=##class(APPS.Halux.Planning.Resource.impl.IsOrderVolledigSpoelbak).%New().AantalSpoelbakLadenInOrder(..ProductieOrderLijn.ToeleveringNr) + Do ..CreateOneResource("LBX&TBX","Spoelbak LBX&TBX","Lade","TBX","S:"_..SpoelbakCode, ,(AantalSpoelbak>7)) ]]> Index: APPS/Halux/Planning/Resource/impl/ConvertLBX.cls.xml =================================================================== diff -u -r62511 -r63276 --- APPS/Halux/Planning/Resource/impl/ConvertLBX.cls.xml (.../ConvertLBX.cls.xml) (revision 62511) +++ APPS/Halux/Planning/Resource/impl/ConvertLBX.cls.xml (.../ConvertLBX.cls.xml) (revision 63276) @@ -112,7 +112,8 @@ 5)) + Set AantalSpoelbak=##class(APPS.Halux.Planning.Resource.impl.IsOrderVolledigSpoelbak).%New().AantalSpoelbakLadenInOrder(..ProductieOrderLijn.ToeleveringNr) + Do ..CreateOneResource("LBX&TBX","Spoelbak LBX&TBX","Lade","LBX","S:"_..SpoelbakCode,,(AantalSpoelbak>7)) ]]> Index: WS/Halux/Planning/ActiviteitPerBatchService/Queries.cls.xml =================================================================== diff -u -r62511 -r63276 --- WS/Halux/Planning/ActiviteitPerBatchService/Queries.cls.xml (.../Queries.cls.xml) (revision 62511) +++ WS/Halux/Planning/ActiviteitPerBatchService/Queries.cls.xml (.../Queries.cls.xml) (revision 63276) @@ -13,7 +13,10 @@ Quit:QueryNaam="SQL2" ..GeefSQLMattenIntern() Quit:QueryNaam="VOORMONTAGE INTERN" ..GeefSQLVoormontageIntern() Quit:QueryNaam="VOORMONTAGE KLANTORDER" ..GeefSQLVoormontageKlant() + Quit:QueryNaam="SPOELBAK INTERN" ..GeefSQLSpoelbakIntern() + Quit:QueryNaam="SPOELBAK KLANTORDER" ..GeefSQLSpoelbakKlant() Quit:QueryNaam="MAT INTERN" ..GeefSQLMattenIntern() + Quit:QueryNaam="MAT INTERNTAX" ..GeefSQLMattenInternEnTAX() Quit:QueryNaam="MAT KLANTORDER" ..GeefSQLMattenKlant() Quit:QueryNaam="OMPAK KLANTORDER" ..GeefSQLOmpakKlant() Quit:QueryNaam="LIJN1" ..GeefSQLLBXTBXLijn("Lijn 1") @@ -93,14 +96,61 @@ _"left outer join APPS_Halux_Planning_Activiteit_dto.ActiviteitPerBatch AB3 on AB.Batch=AB3.Batch and RCM.ActiviteitPerBatchTijdstip = AB3.RecalcTijdstip and AB3.Resource='Voormontage' and AB3.Activiteit='ZijStab' " _"left outer join APPS_Halux_Planning_Activiteit_dto.ActiviteitPerBatch AB4 on AB.Batch=AB4.Batch and RCM.ActiviteitPerBatchTijdstip = AB4.RecalcTijdstip and AB4.Resource='Voormontage' and AB4.Activiteit='DwarsVerd' " _"left outer join APPS_Halux_Planning_Activiteit_dto.ActiviteitPerBatch AB5 on AB.Batch=AB5.Batch and RCM.ActiviteitPerBatchTijdstip = AB5.RecalcTijdstip and AB5.Resource='Voormontage' and AB5.Activiteit='Glas' " - _"where AB.RecalcTijdstip = RCM.ActiviteitPerBatchTijdstip and AB.IsLeading>0 " + _"where AB.Productgroep <>'TAX' and AB.RecalcTijdstip = RCM.ActiviteitPerBatchTijdstip and AB.IsLeading>0 " _") " _"where (ActiviteitID_1 is not null or ActiviteitID_2 is not null or ActiviteitID_3 is not null or ActiviteitID_4 is not null or ActiviteitID_5 is not null) " _" and ( (isnull(Status_1,'')<>'F' and isnull(Aantal_1,0)>0) or (isnull(Status_2,'')<>'F' and isnull(Aantal_2,0)>0) or (isnull(Status_3,'')<>'F' and isnull(Aantal_3,0)>0) or (isnull(Status_4,'')<>'F' and isnull(Aantal_4,0)>0) or (isnull(Status_5,'')<>'F' and isnull(Aantal_5,0)>0) )" _"order by Eindtijdstip " ]]> + +1 +'F' and isnull(Aantal,0)>0) )" + _"order by Eindtijdstip " +]]> + + + +1 +'F' and isnull(Aantal,0)>0) )" + _"order by Eindtijdstip " +]]> + + 1 + +1 +0" + _") " + _"where (ActiviteitID_1 is not null or ActiviteitID_2 is not null or ActiviteitID_3 is not null) " + _" and ( (isnull(Status_1,'')<>'F' and isnull(Aantal_1,0)>0) or (isnull(Status_2,'')<>'F' and isnull(Aantal_2,0)>0) or (isnull(Status_3,'')<>'F' and isnull(Aantal_3,0)>0) )" + _"order by Eindtijdstip " +]]> + + 1 1 -d ##class(AX.Uitgaand.MAG.impl.ExportOutbound).%New().VerwerkAlle() +d ##class(AX.Uitgaand.MAG.impl.ExportOutbound).%New(3).VerwerkAlle() 0 px:AX.Uitgaand.MAG.dto.BewegingOutbound %Boolean PickDatum 0 Index: APPS/Halux/Planning/Resource/impl/IsOrderVolledigSpoelbak.cls.xml =================================================================== diff -u --- APPS/Halux/Planning/Resource/impl/IsOrderVolledigSpoelbak.cls.xml (revision 0) +++ APPS/Halux/Planning/Resource/impl/IsOrderVolledigSpoelbak.cls.xml (revision 63276) @@ -0,0 +1,113 @@ + + + +%RegisteredObject + + +Flow.Toelev.Lijn +1 + + + +TECH.Iterator +1 + + + +%String + + + +%String + + + +%String + + + +AXimpl.PM.Kenmerk.Kenmerken + + + + + + + + +Indien ALLE laden in het productdieorder spoelbakken zijn wordt het aantal teruggeven +TOENr:%String + + + + +0) && (..VerpakCode'="V1") && (..SpeciaalCode="") + { + Set IsSpoelbak=1 + } + } + + } Catch { + #dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch() + } + + Quit IsSpoelbak +]]> + + + + + + + + + Index: AXimpl/Controle/OrdDiff/VergelijkLijn.cls.xml =================================================================== diff -u -r49434 -r63276 --- AXimpl/Controle/OrdDiff/VergelijkLijn.cls.xml (.../VergelijkLijn.cls.xml) (revision 49434) +++ AXimpl/Controle/OrdDiff/VergelijkLijn.cls.xml (.../VergelijkLijn.cls.xml) (revision 63276) @@ -61,7 +61,7 @@ Set ..Diff=##class(AXimpl.Controle.OrdDiff.DiffData).%New() Do ..ControleerAanwezig() - If ..Diff.GekendInAX&&..Diff.GekendInAdmin + If ..Diff.GekendInAX&&..Diff.GekendInAdmin&&(..OrderLijn.Admin.ProductNr'=1793108) { Do ..ControleerAantal() Do ..ControleerProduct() @@ -73,6 +73,8 @@ Index: AX/Uitgaand/MAG/dto/BewegingInbound.cls.xml =================================================================== diff -u -r52359 -r63276 --- AX/Uitgaand/MAG/dto/BewegingInbound.cls.xml (.../BewegingInbound.cls.xml) (revision 52359) +++ AX/Uitgaand/MAG/dto/BewegingInbound.cls.xml (.../BewegingInbound.cls.xml) (revision 63276) @@ -139,7 +139,7 @@ Set ..ReceptieID=$P(HistRec,"\",10) Set:..ReceptieID="" ..ReceptieID=$P(HistRec,"\",7) Set ..Leverancier=..Product.Prijs.Leverancier.%Id() - Set ..Retour=$P(HistRec,"\",4)="R" + Set ..Retour=($P(HistRec,"\",4)="R") || ($P(HistRec,"\",6)=6051) Do ..VerdeelAantal($P(HistRec,"\",2)) ]]> Index: AXimpl/Admin/TRANSPORT/Levbon/BonLevering.cls.xml =================================================================== diff -u -r62525 -r63276 --- AXimpl/Admin/TRANSPORT/Levbon/BonLevering.cls.xml (.../BonLevering.cls.xml) (revision 62525) +++ AXimpl/Admin/TRANSPORT/Levbon/BonLevering.cls.xml (.../BonLevering.cls.xml) (revision 63276) @@ -121,6 +121,15 @@ + +%String + + + + +%TimeStamp + + %Date @@ -231,6 +240,12 @@ CreatieDatum + +BarcodeReferenties + + +BarcodeAanmaakTijdstip + Index: APPS/Halux/Planning/Resource/impl/ProductieOrderIterator.cls.xml =================================================================== diff -u -r56901 -r63276 --- APPS/Halux/Planning/Resource/impl/ProductieOrderIterator.cls.xml (.../ProductieOrderIterator.cls.xml) (revision 56901) +++ APPS/Halux/Planning/Resource/impl/ProductieOrderIterator.cls.xml (.../ProductieOrderIterator.cls.xml) (revision 63276) @@ -10,35 +10,47 @@ +TOENr:%String 1 1 %Status 1 -VanafDatum:%Date="" +TOENr:%String="" 1 %Boolean - 0) + 0) + ;Do DisplayError^%apiOBJ(sc) ]]> Index: AX/Uitgaand/EC/ServiceAX.cls.xml =================================================================== diff -u -r53262 -r63276 --- AX/Uitgaand/EC/ServiceAX.cls.xml (.../ServiceAX.cls.xml) (revision 53262) +++ AX/Uitgaand/EC/ServiceAX.cls.xml (.../ServiceAX.cls.xml) (revision 63276) @@ -76,7 +76,7 @@ { Do ##class(vhLib.Logger).%New("VHISIE").Warning("EC Nachtelijke bestanden","Job heeft gelopen minstens 1 XML maar niet alle 4 zijn aanwezig") } - Do ##class(vhLib.Logger).%New("VHISIE").Warning("EC Nachtelijke bestanden","Job heeft gelopen geen bestand aanwezig") + Do ##class(vhLib.Logger).%New("VHISIE").Error("EC Nachtelijke bestanden","Job heeft gelopen geen bestand aanwezig") Set Status='$$$OK }