Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Die Struktur ist dabei wie folgt:

Codeblock
titlesubBosAusschnitt aus einem Businessobject JSON
"subBos": {
	"insert": {
		"{refAttrId}": [
			{
				"boId": null,
				"boMetaId": "{boMetaId}",
				"attributes": {
					...
				}
			},
			{
				"boId": null,
				"boMetaId": "{boMetaId}",
				"attributes": {
					...
				}
			}
		]
	},
	"update": {
		"{refAttrId}": [
			{
				"boId": 000003,
				"boMetaId": "{boMetaId}",
				"attributes": {
					...
				}
			},
			{
				"boId": 000004,
				"boMetaId": "{boMetaId}",
				"attributes": {
					...
				}
			}
		]
	},
	"delete": {
		"{refAttrId}": [
			000001,
			000002
		]
	}
}

...

insert und update sind von der Struktur her identisch.

Codeblock
titleinsert (Ausschnitt aus einem Businessobject JSON)
"subBos": {
	"insert": {
		"{refAttrId}": [

Neue Unterformularzeilen können wie ein normales BO per Rohling erstellt werden. Siehe auch 5. Businessobjekt (BO) anlegen

Codeblock
titleupdate (Ausschnitt aus einem Businessobject JSON)
"subBos": {
	"update": {
		"{refAttrId}": [

...

delete benötigt nur die Ids der zu löschenden Unterformulardatensätze.

Codeblock
titledelete (Ausschnitt aus einem Businessobject JSON)
"subBos": {
	"delete": {
		"{refAttrId}": [

...