Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_004_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_004_prn.txt (.../Productie_004_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_004_prn.txt (.../Productie_004_prn.txt) (revision 56819) @@ -10,9 +10,11 @@ | | | | | Frontbevestiging | |ZSF.35A2 FROB V500 BL | 4| | | | | | | +Afdekkap |Zwart |ZAA.532C.BTABD V1000 S | 4| | | | | | | Geleider, BLUMOTION | |578.3501B K LI V20 ZN | 2| | | | | | | +Geleider, BLUMOTION | |578.3501B K RE V20 ZN | 2| | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_008_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_008_prn.txt (.../Productie_008_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_008_prn.txt (.../Productie_008_prn.txt) (revision 56819) @@ -10,33 +10,44 @@ | | | | | Bodemsteun | |297.0500 L-WINK 250 ZN | 4| | | | | | | + | | | | | Frontbevestiging | |ZSF.39A2 FROB V500 BL | 6| | | | | | | | | | | | +Frontbevestiging | |ZSF.532E FROB V100 ZN | 4| | + | | | | | Afdekkap |Lichtgrijs |ZAA.532C.BTABD V1000 WGR | 6| | | | | | | | | | | | +Afdekkap |Zwart |ZAA.532C.BTABD V1000 S | 4| | + | | | | | Geleider, BLUMOTION | |576.5001B K LI V16 ZN | 2| | | | | | | +Geleider, BLUMOTION | |576.5001B K RE V16 ZN | 2| | | | | | | Geleider, BLUMOTION | |576.5501B K LI V16 ZN | 1| | | | | | | +Geleider, BLUMOTION | |576.5501B K RE V16 ZN | 1| | | | | | | Geleider, BLUMOTION | |578.5001B41K R+L EP6 ZN | 2| | | | | | | +Reling |Grijs |ZRG.437RSICREL*LAE L R906 | 2| | | | | | | Reling |Grijs |ZRG.437RSICREL*LAE R R906 | 2| | | | | | | Reling |Grijs |ZRG.487RSICREL*LAE L R906 | 1| | | | | | | +Reling |Grijs |ZRG.487RSICREL*LAE R R906 | 1| | | | | | | Boxcap |Zwart |Z37L490S.D BXCA R+L 1TERS*| 2| | | | | | | Inschuifelem. |ALU.MG |Z37A467C EIN SE V10R906 | 4| | | | | | | +Houder.set inschf |MG |Z36C0080 A-VHR+L V1 WGR | 2| | | | | | | DWV |MG |Z40L1077A QT-PR V16 R906 | 8| 114| | | | | | +DWVH |MG |Z40C0002Z QU-AUF 100 WGR*| 16| | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test004MultiVhoss/StartBatch/Productie_006_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test004MultiVhoss/StartBatch/Productie_006_prn.txt (.../Productie_006_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test004MultiVhoss/StartBatch/Productie_006_prn.txt (.../Productie_006_prn.txt) (revision 56819) @@ -10,6 +10,7 @@ | | | | | Reling |Grijs |ZRG.207RSICREL*LAE L R906 | 2| | | | | | | +Reling |Grijs |ZRG.207RSICREL*LAE R R906 | 2| | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_007_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_007_prn.txt (.../Productie_007_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_007_prn.txt (.../Productie_007_prn.txt) (revision 56819) @@ -10,9 +10,11 @@ | | | | | Afdekkap |Zijdewit |ZAA.532C.BTABD V1000SEIW | 4| | | | | | | +Boxcover |Zijdewit |Z36L002G1S BXC-V V80 SEIW*| 4| | | | | | | Boxcover |Zijdewit |Z36L002G2S BXC-H L 40SEIW*| 2| | | | | | | +Boxcover |Zijdewit |Z36L002G2S BXC-H R 40SEIW*| 2| | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_007_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_007_prn.txt (.../Productie_007_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_007_prn.txt (.../Productie_007_prn.txt) (revision 56819) @@ -10,25 +10,34 @@ | | | | | Bodemsteun | |297.0500 L-WINK 250 ZN | 3| | | | | | | + | | | | | Frontbevestiging | |ZSF.39A2 FROB V500 BL | 8| | | | | | | | | | | | + | | | | | +Afdekkap |Lichtgrijs |ZAA.532C.BTABD V1000 WGR | 2| | + | | | | | Afdekkap |Zwart |ZAA.532C.BTABD V1000 S | 4| | | | | | | +Geleider, BLUMOTION | |576.5001B K LI EP7 ZN | 2| | | | | | | Geleider, BLUMOTION | |576.5001B K LI V16 ZN | 1| | | | | | | Geleider, BLUMOTION | |576.5001B K RE EP7 ZN | 2| | | | | | | +Geleider, BLUMOTION | |576.5001B K RE V16 ZN | 1| | | | | | | Geleider, BLUMOTION | |578.5001B41K R+L EP6 ZN | 1| | | | | | | Reling |Zwart |ZRG.437RSICREL*LAE L TERS | 2| | | | | | | +Reling |Zwart |ZRG.437RSICREL*LAE R TERS | 2| | | | | | | Reling |Grijs |ZRG.437RSICREL*LAE L R906 | 2| | | | | | | + | | | | | Reling |Grijs |ZRG.437RSICREL*LAE R R906 | 2| | + | | | | | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file Index: HADTBXPrep.mac.rou =================================================================== diff -u -r56804 -r56819 --- HADTBXPrep.mac.rou (.../HADTBXPrep.mac.rou) (revision 56804) +++ HADTBXPrep.mac.rou (.../HADTBXPrep.mac.rou) (revision 56819) @@ -123,23 +123,41 @@ ///; 1 : Scheidingscode ; 2 : IdentNr ; 3 : KortTekst ; 4 : Qty ; 5 : NettoDim ; 6 : IsWerkVloer ; 10 : TOENr ; 11 : DossierID ; 12 : Qty ; 13 : NettoDim Convert(FabrPrep,Groep,Lijst) - New SortKey1,SortKey2,Cnt,EindFormat,HalfFormat + New SortKey1,SortKey2,Cnt,Reverse,EindFormat,HalfFormat,SubLijnNr Quit:$D(Groep(FabrPrep))<10 ; Geen subnodes Set Lijst($I(Lijst))=FabrPrep_D_D_"*** "_$LI($$$PrepTranslate,$LF($$$PrepKeys,FabrPrep))_" ***" Set:$LF($$$PrepKeyPageBreak,FabrPrep)&&(Lijst>1) $P(Lijst(Lijst),D,2)="" Set (SortKey1,SortKey2)="" Set Cnt=0 - For Set SortKey1=$Order(Groep(FabrPrep,SortKey1)) Quit:SortKey1="" Do - . Set:Cnt Lijst($Increment(Lijst))="" + For Set SortKey1=$O(Groep(FabrPrep,SortKey1)) Quit:SortKey1="" Do + . Set:Cnt Lijst($I(Lijst))="" . Set Cnt=Cnt+1 - . Set SortKey2=$Order(Groep(FabrPrep,SortKey1,SortKey2)) - . If (SortKey2'="") Do - . . If ($List(Groep(FabrPrep,SortKey1),1)="E") Do - . . . Set $Piece(Lijst($Increment(Lijst)),D,2)=$$HalfFormat(Groep(FabrPrep,SortKey1,SortKey2)) - . . . Set $Piece(Lijst(Lijst),D,10)=$$EindFormat(Groep(FabrPrep,SortKey1)) - . . Else Do - . . . Set $Piece(Lijst($Increment(Lijst)),D,2)=$$HalfFormat(Groep(FabrPrep,SortKey1)) - . . . Set $Piece(Lijst(Lijst),D,10)=$$EindFormat(Groep(FabrPrep,SortKey1,SortKey2)) + . Set Reverse=$LI(Groep(FabrPrep,SortKey1),1)="E" + . Set:Reverse EindFormat=$$EindFormat(Groep(FabrPrep,SortKey1)) + . Set:'Reverse HalfFormat=$$HalfFormat(Groep(FabrPrep,SortKey1)) + . Set SubLijnNr = 1 + . For Set SortKey2=$O(Groep(FabrPrep,SortKey1,SortKey2)) Quit:SortKey2="" Do + . . Set:'Reverse EindFormat=$$EindFormat(Groep(FabrPrep,SortKey1,SortKey2)) + . . If (('Reverse) && (SubLijnNr > 1)) { + . . Set $P(EindFormat,D,6) = "" + . . Set $P(EindFormat,D,7) = "" + . . } + . . Set:Reverse HalfFormat=$$HalfFormat(Groep(FabrPrep,SortKey1,SortKey2)) + . . ; 1 : Scheidingscode + . . ; 2 : IdentNr + . . ; 3 : KortTekst + . . ; 4 : Qty + . . ; 5 : NettoDim + . . ; 6 : IsWerkVloer + . . Set $P(Lijst($I(Lijst)),D,2)=HalfFormat ; Eerste steeds leeg + . . ; 10 : TOENr + . . ; 11 : DossierID + . . ; 12 : Qty + . . ; 13 : NettoDim + . . Set $P(Lijst(Lijst),D,10)=EindFormat + . . Set:'Reverse HalfFormat="" + . . Set:Reverse EindFormat="" + . . Set SubLijnNr = SubLijnNr + 1 Quit HalfFormat(List) Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_003_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_003_prn.txt (.../Productie_003_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_003_prn.txt (.../Productie_003_prn.txt) (revision 56819) @@ -10,26 +10,37 @@ | | | | | Bodemsteun | |297.0500 L-WINK 250 ZN | 1| | | | | | | +Frontbevestiging | |ZSF.35A2 FROB V500 BL | 4| | | | | | | + | | | | | Afdekkap |Zijdewit |ZAA.532C.BTABD V1000SEIW | 2| | | | | | | +Afdekkap |Zwart |ZAA.532C.BTABD V1000 S | 10| | | | | | | + | | | | | + | | | | | Geleider, TOB | |578.3501M K LI V20 ZN | 1| | | | | | | +Geleider, TOB | |578.3501M K RE V20 ZN | 1| | | | | | | Geleider, BLUMOTION | |578.4501B K LI V20 ZN | 1| | | | | | | +Geleider, BLUMOTION | |578.4501B K RE V20 ZN | 1| | | | | | | Geleider, BLUMOTION | |578.5001B41K R+L EP6 ZN | 4| | | | | | | + | | | | | TOB set | |T60B3530.1 TOB R+LV1R737 | 1| | | | | | | +TOB stang | |T60.1125W WELLE V40 GR | 1| 829| | | | | | TOB bodemstabilisering | |Z96.2011 BOD-ST 250R737 | 1| | | | | | | +TOB koppelstukken | |T60.000D ADAPT V80R735 | 2| | | | | | | TOB stanghouder | |T60B000H SW-HA 250 BL | 1| | | | | | | +Reling |Zijdewit |ZRG.287RSICREL*LAE L SEIW | 1| | | | | | | Reling |Zijdewit |ZRG.287RSICREL*LAE R SEIW | 1| | ------------------------|-----------|--------------------------|----|------| Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_006_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_006_prn.txt (.../Productie_006_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_006_prn.txt (.../Productie_006_prn.txt) (revision 56819) @@ -10,22 +10,29 @@ | | | | | Bodemsteun | |297.0500 L-WINK 250 ZN | 1| | | | | | | +Frontbevestiging | |ZSF.39A2 FROB V500 BL | 4| | | | | | | + | | | | | Afdekkap |Lichtgrijs |ZAA.532C.BTABD V1000 WGR | 4| | | | | | | + | | | | | Geleider, BLUMOTION | |576.4501B K LI V16 ZN | 1| | | | | | | +Geleider, BLUMOTION | |576.4501B K RE V16 ZN | 1| | | | | | | Geleider, BLUMOTION | |578.5001B41K R+L EP6 ZN | 1| | | | | | | Reling |Grijs |ZRG.387RSICREL*LAE L R906 | 1| | | | | | | +Reling |Grijs |ZRG.387RSICREL*LAE R R906 | 1| | | | | | | Reling |Grijs |ZRG.437RSICREL*LAE L R906 | 1| | | | | | | +Reling |Grijs |ZRG.437RSICREL*LAE R R906 | 1| | | | | | | Inschuifelem. |FZ8 |IIG.417 C MGLASANTARO FZ*| 2| | | | | | | +Houder.set inschf |MG |Z36C0080 A-VHR+L V1 WGR | 1| | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_002_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_002_prn.txt (.../Productie_002_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test002/StartBatch/Productie_002_prn.txt (.../Productie_002_prn.txt) (revision 56819) @@ -10,6 +10,7 @@ | | | | | Afdekkap |Zwart |ZAA.532C.BTABD V1000 S | 4| | | | | | | +Geleider, BLUMOTION | |578.5001B41K R+L EP6 ZN | 2| | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_008_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_008_prn.txt (.../Productie_008_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test007DeDeckerPallet/StartBatch/Productie_008_prn.txt (.../Productie_008_prn.txt) (revision 56819) @@ -10,12 +10,15 @@ | | | | | Bodemsteun | |297.0500 L-WINK 250 ZN | 1| | | | | | | +Frontbevestiging | |ZSF.39A2 FROB V500 BL | 2| | | | | | | Afdekkap |Zwart |ZAA.532C.BTABD V1000 S | 2| | | | | | | +Geleider, BLUMOTION | |576.5001B K LI EP7 ZN | 1| | | | | | | Geleider, BLUMOTION | |576.5001B K RE EP7 ZN | 1| | | | | | | +Reling |Zwart |ZRG.437RSICREL*LAE L TERS | 1| | | | | | | Reling |Zwart |ZRG.437RSICREL*LAE R TERS | 1| | ------------------------|-----------|--------------------------|----|------| Index: vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_009_prn.txt =================================================================== diff -u -r56813 -r56819 --- vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_009_prn.txt (.../Productie_009_prn.txt) (revision 56813) +++ vhTestFiles/IntegratieTests/Productie.Planning.ActieveBatches.Tandembox.Aansturing/Test003ProcomEnPallet/StartBatch/Productie_009_prn.txt (.../Productie_009_prn.txt) (revision 56819) @@ -10,9 +10,11 @@ | | | | | Afdekkap |Zijdewit |ZAA.532C.BTABD V1000SEIW | 2| | | | | | | +Boxcover |Zijdewit |Z36L002G1S BXC-V V80 SEIW*| 2| | | | | | | Boxcover |Zijdewit |Z36L002G2S BXC-H L 40SEIW*| 1| | | | | | | +Boxcover |Zijdewit |Z36L002G2S BXC-H R 40SEIW*| 1| | ------------------------|-----------|--------------------------|----|------| \ No newline at end of file