Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/DataVoorToeleveringGenerator.cls.xml =================================================================== diff -u -r71486 -r71488 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/DataVoorToeleveringGenerator.cls.xml (.../DataVoorToeleveringGenerator.cls.xml) (revision 71486) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/DataVoorToeleveringGenerator.cls.xml (.../DataVoorToeleveringGenerator.cls.xml) (revision 71488) @@ -3,6 +3,11 @@ TECH.RegisteredObject + +APPS.Halux.Planning.Pitching.impl.BatchPitchedRepository +1 + + DOM.VKP.OrderAPI 1 @@ -19,26 +24,30 @@ -OrderApi:DOM.VKP.OrderAPI="",PartijApi:DOM.PARTIJ.PartijAPI="" +BatchPitchedRepository:APPS.Halux.Planning.Pitching.impl.BatchPitchedRepository="",OrderApi:DOM.VKP.OrderAPI="",PartijApi:DOM.PARTIJ.PartijAPI="",LegacyPartijApi:DOM.PARTIJ.LegacyPartijAPI="" 1 1 %Status 1 -Batch:APPS.Halux.common.Batch,Toelevering:DOM.AKP.Toelevering +Batch:APPS.Halux.common.Batch,Toelevering:DOM.AKP.Toelevering,SequentieNummerToelevering:%Integer APPS.Halux.PPS.Document.impl.common.BatchNaarObjective.dto.BatchNaarObjectiveData @@ -78,6 +84,44 @@ Quit Datum _ "T" _ Tijdstip _ "Z" ]]> + + +BatchId:%String,SequentieNummerToelevering:%Integer +1 +%String + 1) { + Set Exception = ##class(TECH.Exceptions.DataCorruptException).%New("De rangorde kan niet worden bepaald, aangezien er meerdere batches zijn gepitcht.") + Do ##class(TECH.ExceptionHandler).Throw(Exception) + } Else { + Set Exception = ##class(TECH.Exceptions.DataNotFoundException).%New("Rangorde kan niet gevonden worden aangezien de batch nog niet gepitcht is.") + Do ##class(TECH.ExceptionHandler).Throw(Exception) + } + + Quit Rangorde +]]> + + + +Getal:%String,Lengte:%Integer=5 +%String + +