Index: BL/Legacy/FLOWTOE.cls.xml
===================================================================
diff -u -r58561 -r58584
--- BL/Legacy/FLOWTOE.cls.xml (.../FLOWTOE.cls.xml) (revision 58561)
+++ BL/Legacy/FLOWTOE.cls.xml (.../FLOWTOE.cls.xml) (revision 58584)
@@ -158,217 +158,6 @@
]]>
-
-
-Ad hoc splitsing van bvb. specifieke te grote toeleveringen kan gebeuren door aan SortKey iets te appenden, zoals een kenmerk van een lade.
-1
-
-
-
-
-
-
-Ad hoc splitsing Versie 1 : deze is nog mogelijk, maar verouderde methode.
-Hierbij moet de implementatie van deze method aangepast worden, naargelang de gewenste splisting.
-1
-
-1
- "_SortKey)
-]]>
-
-
-
-
-Ad hoc splitsing Versie 2 :
-Hierbij wordt de splisting gedefinieerd in een mapping (Global/multidim local) en kan de splitsing eerst gesimuleerd worden (via method SimuleerToeleveringLijnenAdHocSplitsen).
-1
-
-%String
- Lijst Mogelijke KM-waarden --> Vraag GroepKey voor iedere KM-Waarde --> Toon overzicht "GroepKey Mapping" --> Confirm
- Simuleer Groepering : Voor alle geselecteerde lijnen : "GroepKey Mapping" toepassen indien mogelijk --> Nieuwe Groepkey "bewaren" --> Toon overzicht "LijnInfo" + "Aantal per Key"
- Keuze : "Nieuwe mapping bijvoegen" of "Groepering Toepassen" ?
- "Nieuwe mapping bijvoegen" (Optioneel) --> Toggle SelectLijnen : Kies GroepKey --> StartModifyStep (2) --> Simuleer Groepering
- Keuze : "Nieuwe mapping bijvoegen" of "Groepering Toepassen" ?
- "Groepering Toepassen" : PasAanSortKeyViaMapping() oproepen via "Wijzig Order" op basis van GroepKey mapping op LijnNr+Korttekst --> Tekst tonen aan User : "Wijzig Order in Admin"
- */
-]]>
-
-
-
-1
-
-1
-
-
-
-
-1
-TOENr:%String
-1
-%Boolean
-
-
-
-
-
-Oproepen via :
- Do ##class(BL.Legacy.FLOWTOE).SimuleerToeleveringLijnenAdHocSplitsen(TOENr)
-1
-ToeleveringId:%String,TonenMetVolledigeSortKey:%Boolean=""
-1
-%String
- 0 {
- Set Product = ProductAPI.GeefProduct(PRNr)
- If LEVNr=6332 {
- Set Leverdag = ##class(BL.Legacy.FLOWTOE).GeefLeverdag(Toelevering,TLNr)
- Set:($Length(Leverdag)) SortKey = ProductieService.GeefCategorie(Product.GeefID())_" "_ProductieService.GeefProductieGroep(KlantID,Product.GeefID())_" "_Leverdag
- }
- Else {
- Set SortKey = "LEVNr"_LEVNr_";"
- }
- If ##class(BL.Legacy.FLOWTOE).IsToeleveringLijnVoorSpaceTowerProduct(Toelevering,TLNr) Set SortKey = OrderLijnVolgnummer
- Set SortKeyViaMapping = SortKey
- Do ##class(BL.Legacy.FLOWTOE).PasAanSortKeyViaMapping(.SortKeyViaMapping,Product,TOENr,TLNr,KlantID)
- If $$$Not(TonenMetVolledigeSortKey) {
- Set SortKeyViaMapping = ##class(TECH.StringUtils).Replace(SortKeyViaMapping, SortKey, "")
- }
- }
- Else {
- Set SortKey=$G(LastSortKey)
- }
- Set:(SortKey="") SortKey="0000"
- Set LastSortKey = SortKey
-
- Set arSplit(SortKey,TLNr) = ""
-
- Set arSplit2($$$LabelSubTotaal, SortKeyViaMapping) = $G(arSplit2($$$LabelSubTotaal, SortKeyViaMapping)) + LijnAantal
- Set arSplit2($$$LabelGroepKey, SortKeyViaMapping, TLNr)=" #:"_$J(LijnAantal,2) _ " - " _ Product.GeefKorttekst()
- }
-
- Write !,!
- zw arSplit2
-]]>
-
-
1
Toelevering:DOM.AKP.Toelevering,ToeleveringLijnNr:%String