This function allows you to determine the row ids of the subtable rows for this step in order to e.g. access specific rows.
Parameter |
Type |
Description |
|---|---|---|
$subtable |
string |
Subtable name |
This function returns an array, which contains the row ids of all entries in the subtable for this step. The row IDs correspond to the column row_id in the subtable.
Example:
…
// determining RowIds
$rowIds = $this->getSubtableRowIds('INVOICEITEMS');
// Loop over all rows
foreach ($rowIds as $rowId) {
$position = $this->getSubtableValue('RECHNUNGSPOSITIONEN', $rowId, 'POSITION');
}
…