Index: APPS/Halux/Planning/Resource/impl/ConvertAll.cls.xml
===================================================================
diff -u -r56983 -r57301
--- APPS/Halux/Planning/Resource/impl/ConvertAll.cls.xml (.../ConvertAll.cls.xml) (revision 56983)
+++ APPS/Halux/Planning/Resource/impl/ConvertAll.cls.xml (.../ConvertAll.cls.xml) (revision 57301)
@@ -41,9 +41,10 @@
+DeleteAll:%Boolean=0
-
Index: APPS/Halux/Planning/Resource/impl/ConvertDIV.cls.xml
===================================================================
diff -u -r56901 -r57301
--- APPS/Halux/Planning/Resource/impl/ConvertDIV.cls.xml (.../ConvertDIV.cls.xml) (revision 56901)
+++ APPS/Halux/Planning/Resource/impl/ConvertDIV.cls.xml (.../ConvertDIV.cls.xml) (revision 57301)
@@ -34,7 +34,7 @@
Index: APPS/Halux/Planning/Resource/impl/ConvertASM.cls.xml
===================================================================
diff -u -r57131 -r57301
--- APPS/Halux/Planning/Resource/impl/ConvertASM.cls.xml (.../ConvertASM.cls.xml) (revision 57131)
+++ APPS/Halux/Planning/Resource/impl/ConvertASM.cls.xml (.../ConvertASM.cls.xml) (revision 57301)
@@ -4,7 +4,12 @@
ConvertProductAbstract
-
@@ -15,8 +20,10 @@
Index: APPS/Halux/Planning/Resource/impl/ResourceLijn.cls.xml
===================================================================
diff -u -r56901 -r57301
--- APPS/Halux/Planning/Resource/impl/ResourceLijn.cls.xml (.../ResourceLijn.cls.xml) (revision 56901)
+++ APPS/Halux/Planning/Resource/impl/ResourceLijn.cls.xml (.../ResourceLijn.cls.xml) (revision 57301)
@@ -41,6 +41,10 @@
%String
+
+%String
+
+
%String
@@ -49,6 +53,10 @@
%String
+
+%Boolean
+
+
%Decimal
@@ -101,6 +109,10 @@
%TimeStamp
+
+%Decimal
+
+
ToeleveringNr,UniekLijnNr
@@ -207,6 +219,15 @@
Klant
+
+Subgroep
+
+
+IsLeading
+
+
+TijdPerStuk
+
Index: APPS/Halux/Planning/Pitching/impl/BatchPitched.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Pitching/impl/BatchPitched.cls.xml (revision 0)
+++ APPS/Halux/Planning/Pitching/impl/BatchPitched.cls.xml (revision 57301)
@@ -0,0 +1,87 @@
+
+
+
+persistent
+1
+TECH.Persistent
+
+
+APPS.Halux.common.impl.BatchImpl
+
+
+
+%Integer
+
+
+
+%String
+
+
+
+%Integer
+
+
+
+
+Als de nieuwe ingelezen wordt deze per default op non actief gezet de oude staan actief.
+Daarna wordt de actief status geinverteerd waarna de oude, non-actieve verwijderd wordt.
+%Boolean
+
+
+
+%String
+
+
+
+%Decimal
+
+
+
+%Decimal
+
+
+
+Batch
+
+
+
+%Library.CacheStorage
+^APPS.Halux.Pl1A9E.BatchPitchedD
+BatchPitchedDefaultData
+^APPS.Halux.Pl1A9E.BatchPitchedD
+^APPS.Halux.Pl1A9E.BatchPitchedI
+^APPS.Halux.Pl1A9E.BatchPitchedS
+
+
+%%CLASSNAME
+
+
+Batch
+
+
+Lijn
+
+
+Pitchorde
+
+
+Actief
+
+
+Opmerking
+
+
+DuurTijd
+
+
+StartTijdstip
+
+
+ResourceId
+
+
+
+
+
+
+
Index: APPS/Halux/Planning/ResourcePitchingService.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/ResourcePitchingService.cls.xml (revision 0)
+++ APPS/Halux/Planning/ResourcePitchingService.cls.xml (revision 57301)
@@ -0,0 +1,142 @@
+
+
+
+
+Service voor de Halux pitching.
+Ondersteunt het visualiseren van het resourcegebruik voor alle toeleveringen die reeds ingegeven zijn.
+Import Pitching van Batches
+
+1
+TECH.RegisteredObject
+
+
+
+D ##class(APPS.Halux.Planning.ResourcePitchingService).%New().VerwerkAll()
+%Boolean
+
+
+
+Halux_Planning_ResourcePitchingService
+
+
+
+%Status
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+SQL Select * from APPS_Halux_Planning_Resource_impl.ResourceLijn
+
+
+
+
+
+SQL Select * from APPS_Halux_Planning_Capaciteit_impl.GeplandeCapaciteit
+
+
+
+
+
+SQL Select * from APPS_Halux_Planning_Resource_impl.ResourceTijd
+
+
+
+
+
+SQL Select * from APPS_Halux_Planning_Pitching_impl.BatchPitched
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: APPS/Halux/Planning/Pitching/impl/BerekenTijdenLeadingResources.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Pitching/impl/BerekenTijdenLeadingResources.cls.xml (revision 0)
+++ APPS/Halux/Planning/Pitching/impl/BerekenTijdenLeadingResources.cls.xml (revision 57301)
@@ -0,0 +1,119 @@
+
+
+
+TECH.RegisteredObject
+
+
+%Boolean
+
+
+
+APPS.Halux.Planning.Capaciteit.impl.WerktijdCalculator
+
+
+
+
+d ##class(APPS.Halux.Planning.Pitching.impl.BerekenTijdenLeadingResources).%New().Bereken()
+1
+1
+%Status
+1
+
+
+
+
+
+
+
+
+
+
+
+
+rs:%ResultSet,ResourceId:%String,Tijdstip:%TimeStamp
+ ",ResourcePitched.StartTijdstip,!
+
+ Do ResourcePitched.Save()
+ Quit ResourcePitched
+]]>
+
+
+
+TECH.Iterator
+
+
+
+
+
+
+
+
+
+
Index: APPS/Halux/Planning/Resource/impl/ImportTijdenFromXLS.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Resource/impl/ImportTijdenFromXLS.cls.xml (revision 0)
+++ APPS/Halux/Planning/Resource/impl/ImportTijdenFromXLS.cls.xml (revision 57301)
@@ -0,0 +1,84 @@
+
+
+
+TECH.RegisteredObject
+
+
+TECH.FileReader
+1
+
+
+
+%TimeStamp
+1
+
+
+
+
+d ##class(APPS.Halux.Planning.Resource.impl.ImportTijdenFromXLS).%New().ImportXLS()
+1
+1
+%Status
+1
+
+
+
+
+
+
+
+
+
+
+
+
+Hoofdgroep:%String,Groep:%String,Selector:%String,Tijd:%Decimal
+
+
+
+
+
+
+
+
+
+
Index: APPS/Halux/Planning/Pitching/impl/ImportFromXLS.cls.xml
===================================================================
diff -u -r52358 -r57301
--- APPS/Halux/Planning/Pitching/impl/ImportFromXLS.cls.xml (.../ImportFromXLS.cls.xml) (revision 52358)
+++ APPS/Halux/Planning/Pitching/impl/ImportFromXLS.cls.xml (.../ImportFromXLS.cls.xml) (revision 57301)
@@ -30,64 +30,56 @@
-BatchID:TECH.String
-Lijn:%Integer,Volgorde:%Integer,BatchLastKar:%String,Opmerking:%String
+Lijn:%Integer,Pitchorde:%Integer,BatchId:%String,Opmerking:%String
+
+overbodig, er wordt geen verkorte ingave gedaan van de batch id
BatchLastKar:%String
-
-
+
+
+
+
+
Index: APPS/Halux/Planning/Pitching/impl/ResourcePitched.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Pitching/impl/ResourcePitched.cls.xml (revision 0)
+++ APPS/Halux/Planning/Pitching/impl/ResourcePitched.cls.xml (revision 57301)
@@ -0,0 +1,127 @@
+
+
+
+persistent
+1
+TECH.Persistent
+
+
+APPS.Halux.common.impl.BatchImpl
+
+
+
+APPS.Halux.Planning.Resource.impl.ResourceLijn
+
+
+
+%String
+
+
+
+%Integer
+
+
+
+%String
+
+
+
+%String
+
+
+
+%Decimal
+
+
+
+%Decimal
+
+
+
+%Decimal
+
+
+
+%Decimal
+
+
+
+%TimeStamp
+
+
+
+%TimeStamp
+
+
+
+Batch
+
+
+
+ResourceLijn
+
+
+
+ToeleveringNr,UniekLijnNr
+
+
+
+ResourceId
+
+
+
+%Library.CacheStorage
+^APPS.Halux1A9E.ResourcePit22A7D
+ResourcePitchedDefaultData
+^APPS.Halux1A9E.ResourcePit22A7D
+^APPS.Halux1A9E.ResourcePit22A7I
+^APPS.Halux1A9E.ResourcePit22A7S
+
+
+%%CLASSNAME
+
+
+Batch
+
+
+Werkpost
+
+
+Pitchorde
+
+
+ToeleveringNr
+
+
+UniekLijnNr
+
+
+DuurTijd
+
+
+StartTijdstip
+
+
+EindTijdstip
+
+
+Aantal
+
+
+ResourceId
+
+
+StretchFactor
+
+
+CapaciteitStartTijd
+
+
+ResourceLijn
+
+
+
+
+
+
+
Index: APPS/Halux/Planning/Pitching/impl/BerekenTijdenAfhankelijkeResources.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Pitching/impl/BerekenTijdenAfhankelijkeResources.cls.xml (revision 0)
+++ APPS/Halux/Planning/Pitching/impl/BerekenTijdenAfhankelijkeResources.cls.xml (revision 57301)
@@ -0,0 +1,121 @@
+
+
+
+BerekenTijdenLeadingResources
+
+
+%Date
+1
+
+
+
+
+d ##class(APPS.Halux.Planning.Pitching.impl.BerekenTijdenAfhankelijkeResources).%New().Bereken()
+
+
+
+
+
+
+
+
+rs:%ResultSet,ResourceId:%String,Tijdstip:%TimeStamp
+ ",ResourcePitched.EindTijdstip,!
+
+ Do ResourcePitched.Save()
+ Quit ResourcePitched
+]]>
+
+
+
+BatchID:%String,ResourceId:%String
+
+
+
+
+ResourceId:%String
+
+
+
+
+TECH.Iterator
+
+
+
+
+
+
Index: APPS/Halux/Planning/Capaciteit/impl/WerktijdCalculator.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Capaciteit/impl/WerktijdCalculator.cls.xml (revision 0)
+++ APPS/Halux/Planning/Capaciteit/impl/WerktijdCalculator.cls.xml (revision 57301)
@@ -0,0 +1,305 @@
+
+
+
+TECH.RegisteredObject
+
+
+%Date
+
+
+
+%Decimal
+
+
+
+%Decimal
+
+
+
+%Decimal
+
+
+
+%String
+
+
+
+%Integer
+
+
+
+%Integer
+
+
+
+APPS.Halux.Planning.Pitching.impl.ResourcePitched
+
+
+
+%Boolean
+
+
+
+
+d ##class(APPS.Halux.Planning.Capaciteit.impl.WerktijdCalculator).%New().Test()
+NodeTest=1
+1
+1
+%Status
+1
+
+
+
+
+ResourceId
+%Date
+
+
+
+
+ResourcePitched:APPS.Halux.Planning.Pitching.impl.ResourcePitched
+
+
+
+
+ResourcePitched:APPS.Halux.Planning.Pitching.impl.ResourcePitched
+
+
+
+
+
+
+
+
+0
+ {
+ Do ..MinSeconden(..ResourcePitched.DuurTijd/..ResourcePitched.StretchFactor)
+ Set ..ResourcePitched.StartTijdstip=..VindVorigTijdstip()
+ Set ..ResourcePitched.CapaciteitStartTijd=..CapStartTijd
+ }
+ Else
+ {
+ Set ..ResourcePitched.StartTijdstip=""
+ }
+]]>
+
+
+
+0
+ {
+ Do ..AddSeconden(..ResourcePitched.DuurTijd/..ResourcePitched.StretchFactor)
+ Set ..ResourcePitched.EindTijdstip= ..VindVolgendTijdstip()
+ }
+ Else
+ {
+ Set ..ResourcePitched.EindTijdstip=""
+ }
+]]>
+
+
+
+
+
+
+
+%Date
+..RefTijd) ; valt in een pauze of na einde werkdag
+ { ; niet binnen een tijdslot
+ Set ..CapEindTijd=$O(^Halux.GeplandeCapaciteit(..NodeVroeger,..ResourceId,..RefDatum,..RefTijd),-1) ; eerst vroegere tijdslot
+ If (..CapEindTijd="") ; er zijn geen latere
+ {
+ w:..Debug 4,"volgende datum",!
+ Set ..RefDatum=$O(^Halux.GeplandeCapaciteit(..NodeVroeger,..ResourceId,..RefDatum),-1) ; eerst vorige datum
+ Set:..RefDatum ..CapEindTijd=$O(^Halux.GeplandeCapaciteit(..NodeVroeger,..ResourceId,..RefDatum,""),-1)
+ Set ..RefTijd=..CapEindTijd
+ }
+ Else
+ {
+ w:..Debug 3,"volgend interval",!
+ Set ..RefTijd=..CapEindTijd
+ }
+
+ }
+ Else
+ {
+ w:..Debug 2,"in interval",!
+ ;Set ..RefTijd=..CapEindTijd
+ }
+ }
+ Set:..RefDatum VorigTijdstip=..BuildTijdstip(..RefDatum,..RefTijd)
+ Quit $G(VorigTijdstip)
+]]>
+
+
+
+%Date
+
+
+
+
+1
+%Decimal
+
+
+
+
+Tijdstip
+
+
+
+
+Datum,Tijd
+
+
+
+
+Seconden:%Decimal
+1
+86399
+ {
+ Set ..RefDatum=..RefDatum+1
+ Set ..RefTijd=..RefTijd-86399
+ }
+]]>
+
+
+
+Tijdstip,Seconden
+
+
+
+
+Seconden:%Decimal
+1
+%Decimal
+
+
+
+
+
+
Index: APPS/Halux/Planning/Resource/impl/ConvertLBX.cls.xml
===================================================================
diff -u -r57131 -r57301
--- APPS/Halux/Planning/Resource/impl/ConvertLBX.cls.xml (.../ConvertLBX.cls.xml) (revision 57131)
+++ APPS/Halux/Planning/Resource/impl/ConvertLBX.cls.xml (.../ConvertLBX.cls.xml) (revision 57301)
@@ -9,7 +9,8 @@
Set ..BreedteCode=$S(..IngegevenKenmerken.Internebreedte>600:2,1:1)
Set ..DiepteCode=$S(..IngegevenKenmerken.LadeDiepte>550:2,1:1)
Set ..SpoelbakCode=$S(..IngegevenKenmerken.Toepassing="L":"",$zcvt(..IngegevenKenmerken.UitsparingUitsparingAantal,"U")="DUBBEL":2,1:1)
- Set ..FrontCode=$zcvt(..IngegevenKenmerken.IsBinnenlade,"U")="TRUE"
+ Set VoorWandType=$zcvt(..IngegevenKenmerken.VoorWandTypeVanCBinnenlade_..IngegevenKenmerken.VoorWandTypeVanKBinnenlade_..IngegevenKenmerken.VoorWandTypeVanMBinnenlade,"U")
+ Set ..FrontCode=$S($zcvt(..IngegevenKenmerken.IsBinnenlade,"U")="TRUE":$S(VoorWandType["GLAS":"GLAS",VoorWandType["RELING":"RELING",1:"BASIS"),1:"")
Set ..MatCode=..IngegevenKenmerken.MatMateriaal
Set ..VerpakCode=..IngegevenKenmerken.VerpakkingType
Set ..AantalCode=$S(..ProductieOrderLijn.Aantal<10:1,..ProductieOrderLijn.Aantal<50:2,1:3)
@@ -37,6 +38,7 @@
Do ..CreateResourceVoormontage()
Do ..CreateResourceSpoelbak()
Do ..CreateResourceSpeciaal()
+ Do ..CreateInkorten()
}
Else
{ Set ..SpeciaalCode="ZNDR KENMERK"
@@ -45,44 +47,73 @@
]]>
+
+
+
+
5)
Quit:..SpeciaalCode'=""
Set Lijn=$S(..VerpakCode="V1":"L1",1:"L2&3")
- Do ..CreateOneResource("LBX&TBX",Lijn,"F:LBX;S:"_..SpoelbakCode_";B:"_..BreedteCode)
+ Do ..CreateOneResource("LBX&TBX",Lijn,"LBX","F:LBX;S:"_$S(..SpoelbakCode="":0,1:1)_";B:"_..BreedteCode,,1)
]]>
5))
]]>
Index: APPS/Halux/Planning/Capaciteit/impl/GeplandeCapaciteit.cls.xml
===================================================================
diff -u -r52358 -r57301
--- APPS/Halux/Planning/Capaciteit/impl/GeplandeCapaciteit.cls.xml (.../GeplandeCapaciteit.cls.xml) (revision 52358)
+++ APPS/Halux/Planning/Capaciteit/impl/GeplandeCapaciteit.cls.xml (.../GeplandeCapaciteit.cls.xml) (revision 57301)
@@ -9,49 +9,29 @@
%Date
-
+
%Integer
-
-Werktijd
-list
+
+%Integer
-
-%Integer
+
+%String
-
+
%Decimal
+
+%Decimal
+
+
-1
-1
-Datum,Uur,Lijn
-1
+Datum,ResourceId
-
-
-%Library.CacheStorage
-^APPS.Halux8751.GeplandeCap83EFD
-GeplandeCapaciteitDefaultData
-^APPS.Halux8751.GeplandeCap83EFD
-^APPS.Halux8751.GeplandeCap83EFI
-^APPS.Halux8751.GeplandeCap83EFS
-
-
-%%CLASSNAME
-
-
-Capaciteit
-
-
-Werktijden
-
-
-
Index: APPS/Halux/Planning/Capaciteit/impl/ImportFromXLS.cls.xml
===================================================================
diff -u -r52358 -r57301
--- APPS/Halux/Planning/Capaciteit/impl/ImportFromXLS.cls.xml (.../ImportFromXLS.cls.xml) (revision 52358)
+++ APPS/Halux/Planning/Capaciteit/impl/ImportFromXLS.cls.xml (.../ImportFromXLS.cls.xml) (revision 57301)
@@ -23,7 +23,7 @@
+
+
+
+
BatchID:TECH.String
-Datum:%String,Uur:%Integer,Lijn:%Integer,Capaciteit:%Decimal
+Datum:%Date,TijdstipVan:%Integer,TijdstipTot:%Integer,ResourceId:%String,BaseFactor:%Decimal,CorrectieFactor:%Decimal
0
{
- If Capaciteit<1
- {
- Set sc=##class(GeplandeCapaciteit).%DeleteId(Key)
- }
- Else
- {
- Set GeplandeCapaciteit=##class(GeplandeCapaciteit).%OpenId(Key)
- Set GeplandeCapaciteit.Capaciteit=Capaciteit
- Do GeplandeCapaciteit.Save()
- }
+ Set ^Halux.GeplandeCapaciteit(1,$zcvt(ResourceId,"U"),Datum,TijdstipVan)=$LB(TijdstipTot,(BaseFactor+CorrectieFactor))
+ Set ^Halux.GeplandeCapaciteit(-1,$zcvt(ResourceId,"U"),Datum,TijdstipTot)=$LB(TijdstipVan,(BaseFactor+CorrectieFactor))
}
- ElseIf Capaciteit>0
- {
- Set GeplandeCapaciteit=##class(GeplandeCapaciteit).%New()
- Set GeplandeCapaciteit.Datum=Datum
- Set GeplandeCapaciteit.Uur=Uur
- Set GeplandeCapaciteit.Lijn=Lijn
- Set GeplandeCapaciteit.Capaciteit=Capaciteit
- Do GeplandeCapaciteit.Save()
- }
]]>
Index: APPS/Halux/Planning/Capaciteit/impl/WerktijdCalculatorTester.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Capaciteit/impl/WerktijdCalculatorTester.cls.xml (revision 0)
+++ APPS/Halux/Planning/Capaciteit/impl/WerktijdCalculatorTester.cls.xml (revision 57301)
@@ -0,0 +1,147 @@
+
+
+
+TECH.RegisteredObject
+
+
+%String
+
+
+
+APPS.Halux.Planning.Capaciteit.impl.WerktijdCalculator
+
+
+
+
+d ##class(APPS.Halux.Planning.Capaciteit.impl.WerktijdCalculatorTester).%New().Test()
+1
+1
+%Status
+1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Tijdstip,DuurTijd
+
+
+
+
+Tijdstip,DuurTijd
+
+
+
+
+
+
+
+
+Datum,Van,Tot,Factor
+
+
+
+
+
+
+
+
+
+
Index: APPS/Halux/Planning/Resource/impl/ConvertTAX.cls.xml
===================================================================
diff -u -r57131 -r57301
--- APPS/Halux/Planning/Resource/impl/ConvertTAX.cls.xml (.../ConvertTAX.cls.xml) (revision 57131)
+++ APPS/Halux/Planning/Resource/impl/ConvertTAX.cls.xml (.../ConvertTAX.cls.xml) (revision 57301)
@@ -32,6 +32,7 @@
Do ..CreateResourceMat()
Do ..CreateResourceLaserLogo()
Do ..CreateResourceSpoelbak()
+ Do ..CreateInkorten()
}
Else
{
@@ -41,29 +42,57 @@
]]>
+
+
+
+
-
Index: APPS/Halux/Planning/Resource/impl/ResourceTijd.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/Resource/impl/ResourceTijd.cls.xml (revision 0)
+++ APPS/Halux/Planning/Resource/impl/ResourceTijd.cls.xml (revision 57301)
@@ -0,0 +1,58 @@
+
+
+
+persistent
+1
+TECH.Persistent
+
+
+%String
+
+
+
+%String
+
+
+
+%String
+
+
+
+%Decimal
+
+
+
+Hoofdgroep,Groep,Selector
+
+
+
+%Library.CacheStorage
+^APPS.Halux.PlCE5B.ResourceTijdD
+ResourceTijdDefaultData
+^APPS.Halux.PlCE5B.ResourceTijdD
+^APPS.Halux.PlCE5B.ResourceTijdI
+^APPS.Halux.PlCE5B.ResourceTijdS
+
+listnode
+
+
+%%CLASSNAME
+
+
+Hoofdgroep
+
+
+Groep
+
+
+Selector
+
+
+Tijd
+
+
+
+
+
+
+
Index: APPS/Halux/Planning/Resource/impl/ConvertTBX.cls.xml
===================================================================
diff -u -r57131 -r57301
--- APPS/Halux/Planning/Resource/impl/ConvertTBX.cls.xml (.../ConvertTBX.cls.xml) (revision 57131)
+++ APPS/Halux/Planning/Resource/impl/ConvertTBX.cls.xml (.../ConvertTBX.cls.xml) (revision 57301)
@@ -8,7 +8,7 @@
Set ..BreedteCode=$S(..IngegevenKenmerken.Internebreedte>600:2,1:1)
Set ..DiepteCode=$S(..IngegevenKenmerken.LadeDiepte>550:2,1:1)
Set ..SpoelbakCode=$S("L"[..IngegevenKenmerken.Toepassing:"",$zcvt(..IngegevenKenmerken.UitsparingUitsparingAantal,"U")="DUBBEL":2,1:1)
- Set ..FrontCode=$zcvt(..IngegevenKenmerken.IsBinnenlade,"U")="TRUE"
+ Set ..FrontCode=$s($zcvt(..IngegevenKenmerken.IsBinnenlade,"U")="TRUE":$S(..HoogteCode?1(1"D",1"C",1"B"):"RELING",1:"BASIS"),1:"")
Set ..MatCode=..IngegevenKenmerken.MatMateriaal
Set ..VerpakCode=..IngegevenKenmerken.VerpakkingType
Set ..AantalCode=$S(..ProductieOrderLijn.Aantal<10:1,..ProductieOrderLijn.Aantal<50:2,1:3)
@@ -42,6 +42,7 @@
Do ..CreateResourceVoormontage()
Do ..CreateResourceSpoelbak()
Do ..CreateResourceSpeciaal()
+ Do ..CreateInkorten()
}
Else
{ Set ..SpeciaalCode="ZNDR KENMERK"
@@ -50,43 +51,68 @@
]]>
+
+
+
+
5)
Quit:..SpeciaalCode'=""
Set Lijn=$S(..VerpakCode="V1":"L1",1:"L4")
- Do ..CreateOneResource("LBX&TBX",Lijn,"F:TBX;S:"_$S(..SpoelbakCode:1,1:0)_";B:"_..BreedteCode)
+ Do ..CreateOneResource("LBX&TBX",Lijn,"TBX","F:TBX;S:"_$S(..SpoelbakCode="":0,1:1)_";B:"_..BreedteCode,,1)
]]>
5))
]]>
Index: APPS/Halux/Planning/Resource/impl/ConvertProductAbstract.cls.xml
===================================================================
diff -u -r56901 -r57301
--- APPS/Halux/Planning/Resource/impl/ConvertProductAbstract.cls.xml (.../ConvertProductAbstract.cls.xml) (revision 56901)
+++ APPS/Halux/Planning/Resource/impl/ConvertProductAbstract.cls.xml (.../ConvertProductAbstract.cls.xml) (revision 57301)
@@ -1,6 +1,7 @@
+Prod.Product
%RegisteredObject
@@ -117,17 +118,18 @@
-Hoofdgroep:%String,Groep:%String,Selector:%String,Lijn:%String=""
+Hoofdgroep:%String,Groep:%String,Subgroep:%String,Selector:%String,DefaultTijd:%Decimal=66,IsLeading:%Boolean=0
+
+DefaultTijd
+
+
+
+
+
+20:1,1:2)
+ }
+
+ If AantalSneden
+ {
+ Set BSKey=""
+ }
+ Else
+ {
+ Set BSKey=$O(^PRBS("BS",..PRNr,BSKey))
+ }
+ }
+ Quit AantalSneden
+]]>
+