×

Please give details of the problem

Skip to content

Summing Array

Note: This example is only valid for the Application Runner engine.

Here's the configuration of the array widget:

Code in the script window:

var my_subtotal = parseFloat([[array_po.quantity]][P_index]) * parseFloat([[array_po.unit_price]][P_index]);  
id_array_po.id_subtotal[P_index].setText("" + my_subtotal);  
id_array_po.id_subtotal[P_index].setActive(false);