Inhaltsverzeichnis

EXEC TAA START Statement

Für Syntax siehe hier.

Beispiele

Start GEVO:

  1. EXEC TAA START GEVO SERVICE AG-GSTR-CTV1
  2. SUSPEND FOR "2022-01-01-10.00.00.000000"
  3. STARTMODE DIRECT
  4. ATTACH DOCUMENTS
  5. STATE-ERROR = "ABBRUCH"
  6. STATE-OK = "OK"
  7. GEVOID = CONSECUTIVE
  8. GEVO-PROPERTIES
  9. ORDNUNGSBEGRIFF = "1234567",
  10. PRUEFTAGE = 7,
  11. INFODATUM = "2022-01-10",
  12. PARTNER-VORNAME = LOBJ-000-XX-TXT80,
  13. PARTNER-NACHNAME = "MUSTERMANN",
  14. AKTUELLER-OE = SYSTVAR-ORG-OE-K,
  15. GEVONAME = LOBJ-000-XX-GEVONAME ,
  16. EINGANGSART = "EMAIL",
  17. EINGANGSSTELLE = "4106501014",
  18. ANGELEGT-VON = "POSTEIN",
  19. KUNDE = 123456,
  20. VERMITTLER = 987654
  21. 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:

  1. EXEC TAA START ASTR SERVICE AS-TSTR-ABBRUCH.OPERATION-1
  2. SUSPEND FOR LOBJ-000-XX-TS
  3. STATE-OK = "ENDE"
  4. GEVO-PROPERTIES
  5. ORDNUNGSBEGRIFF = "ABC123",
  6. PRUEFTAGE = 7,
  7. KUNDE = 987654321,
  8. GEVO-VERANTWORTLICHER-OE = "0001100101",
  9. GEVONAME = "TESTGEVO"
  10. WITH FORML = FORML
  11. AND FORMT = FORMT
  12. 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;
				}

Beschreibung

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.

Sonderfälle

TODO Liste

Syntaktisch erkannt, aber von den Generatoren derzeit nicht unterstützt sind folgende Bestandteile: