Main.Accert.get_current_COAs#

Accert.get_current_COAs(c, inp_id)[source]#

Get current Code of Accounts based on the input ID of Super Account.

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

  • inp_id (str) – COA ID

Returns:

  • coa_lst – List of COA’s.

  • coa_others – List of a COA’s other info, including ind, lft, rgt.