Update Total Cost

class Main.Accert(input_path, accert_path)
update_total_cost(c, tc_id, u_i_tc_value, u_i_tc_unit)

Updates the total cost based on a total cost ID. (Checks if unit conversion is needed)

Parameters

cMySQLCursor

MySQLCursor class instantiates objects that can execute MySQL statements.

tc_idstr

COA of the total cost.

u_i_tc_valuefloat

Total cost’s value.

u_i_tc_unitstr

Total cost’s unit.