Adds up all values of a column in a sub-table of the Appointment.

Parameters

id

The ID of the Appointment.

name

The column to edit. This is in a text form like 'formname.columnname'.

Example

FM_api('Appointment_getTableColumnSum', ['id' => '222402', 'name' => 'subform.mult1']);

Result

On Success

{'tableName':'subform','columnName':'mult1','sum':10}

On Failure

{'error':'Could not find table for field entry "subform"'}