Für Syntax siehe hier.
Start GEVO:
EXEC TAA START GEVO SERVICE AG-GSTR-CTV1 SUSPEND FOR "2022-01-01-10.00.00.000000" STARTMODE DIRECT ATTACH DOCUMENTS STATE-ERROR = "ABBRUCH" STATE-OK = "OK" GEVOID = CONSECUTIVE GEVO-PROPERTIES ORDNUNGSBEGRIFF = "1234567", PRUEFTAGE = 7, INFODATUM = "2022-01-10", PARTNER-VORNAME = LOBJ-000-XX-TXT80, PARTNER-NACHNAME = "MUSTERMANN", AKTUELLER-OE = SYSTVAR-ORG-OE-K, GEVONAME = LOBJ-000-XX-GEVONAME , EINGANGSART = "EMAIL", EINGANGSSTELLE = "4106501014", ANGELEGT-VON = "POSTEIN", KUNDE = 123456, VERMITTLER = 987654 END-EXEC
{ var AgGstrCtv1_Udef = this.Start.AgGstrCtv1.Udef.New(Data.Pgformt._000PgTxt80); AgGstrCtv1_Udef.StartMode = ModuleCallOperationStartRequest.StartModeEnum.Direct; AgGstrCtv1_Udef.StateOk = Base.Gevo.Privat.PgGstrCtv1.StateEnum.Ok; AgGstrCtv1_Udef.StateError = Base.Gevo.Privat.PgGstrCtv1.StateEnum.Abbruch; AgGstrCtv1_Udef.SuspendFor = "2018-01-01-10.00.00.000000".FromTimestampString(); AgGstrCtv1_Udef.AttachDocuments = true; AgGstrCtv1_Udef.ConsecutiveIdentification = true; AgGstrCtv1_Udef.Properties.Ordnungsbegriff = "1234567"; AgGstrCtv1_Udef.Properties.Prüftage = 7; AgGstrCtv1_Udef.Properties.InfoDatum = "2022-01-10".FromDateString(); AgGstrCtv1_Udef.Properties.PartnerNachname = Data.Lobj._000XxTxt80; AgGstrCtv1_Udef.Properties.PartnerVorname = "GRAAVE"; AgGstrCtv1_Udef.Properties.AktuelleOE = Data.Systvar.OrgOeK; AgGstrCtv1_Udef.Properties.GevoName = Data.Lobj._000XxGevoname; AgGstrCtv1_Udef.Properties.Eingangsart = "EMAIL"; AgGstrCtv1_Udef.Properties.Eingangsstelle = "4106501014"; AgGstrCtv1_Udef.Properties.AngelegtVon = "POSTEIN"; AgGstrCtv1_Udef.Properties.Kunde = 123456; AgGstrCtv1_Udef.Properties.Vermittler = "987654"; LastCall.AgGstrCtv1State = AgGstrCtv1_Udef.Submit() ? Base.Gevo.Privat.AgGstrCtv1.StateEnum.Ok : Base.Gevo.Privat.AgGstrCtv1.StateEnum.Abbruch; }
Start MODL:
EXEC TAA START ASTR SERVICE AS-TSTR-ABBRUCH.OPERATION-1 SUSPEND FOR LOBJ-000-XX-TS STATE-OK = "ENDE" GEVO-PROPERTIES ORDNUNGSBEGRIFF = "ABC123", PRUEFTAGE = 7, KUNDE = 987654321, GEVO-VERANTWORTLICHER-OE = "0001100101", GEVONAME = "TESTGEVO" WITH FORML = FORML AND FORMT = FORMT END-EXEC
var AsTstrAbbruch_Operation1 = this.Start.PgTstrAbbruch.Operation1.New("TESTGEVO"); AsTstrAbbruch_Operation1.AssignMatchingArguments(); AsTstrAbbruch_Operation1.StartMode = ModuleCallOperationStartRequest.StartModeEnum.RegisterOnly; AsTstrAbbruch_Operation1.StateOk = Base.Astr.Twonly.PgTstrAbbruch.StateEnum.Ende; AsTstrAbbruch_Operation1.SuspendFor = Data.LObj._000XxTs; AsTstrAbbruch_Operation1.Properties.Ordnungsbegriff = "ABC123"; AsTstrAbbruch_Operation1.Properties.Prüftage = 7; AsTstrAbbruch_Operation1.Properties.Kunde = 987654321; AsTstrAbbruch_Operation1.Properties.GevoVerantwortlicheOE = "0001100101"; AsTstrAbbruch_Operation1.Properties.GevoName = "TESTGEVO"; if (PgTstrAbbruch_Operation1.Submit()) { LastCall.AsTstrAbbruchState = Base.Astr.Privat.AsTstrAbbruch.StateEnum.Ende; }
Alle nicht explizit zugewiesenen Parameter, werden wie im dotnet Wiki beschrieben durch die AssignMatchingArguments Methode bestückt. Danach folgt die Bestückung alle expliziten Zuweisungen. Der Status des ausgeführten Bausteins wird anschließend gespeichert.
Syntaktisch erkannt, aber von den Generatoren derzeit nicht unterstützt sind folgende Bestandteile: