Main.Accert.update_total_cost_on_name#

Accert.update_total_cost_on_name(c, tc_id, u_i_tc_value)[source]#

Updates the total cost based on a total cost ID, without checking for unit conversion.

Parameters:
  • c (MySQLCursor) – MySQLCursor class instantiates objects that can execute MySQL statements.

  • tc_id (str) – COA of the total cost.

  • u_i_tc_value (float) – Total cost’s value.

  • u_i_tc_unit (str) – Total cost’s unit.

Return type:

None