Please enable JavaScript to view this site.

Process Designer

Navigation: PHP API > Work with Subtables

Delete a row (deleteSubtableRow)

Scroll Prev Top Next More

This function deletes a specific subtable row using the ID.

Parameter

Type

Description

$subtable

string

Subtable name

$row

int

Row ID

The function does not return a value.

Example:

$this->deleteSubtableRow('INVOICEITEMS', 5);

Please note: If you want to change subtable values within a form or step initialisation function, you have to call the save() method in addition to this function to write data into the sub-table during step processing.