Main.Accert.insert_COA#

Accert.insert_COA(c, sup_coa, user_added_coa, user_added_coa_desc, user_added_coa_total_cost)[source]#

Insert a new COA into the account table.

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

  • sup_coa (str) – Super account of the new inserted COA.

  • user_added_coa (str) – COA of the new inserted COA.

  • user_added_coa_desc (str) – Account description of the new inserted COA.

  • user_added_coa_total_cost (int) – Total cost of the new inserted COA.