Get Current COAs

class Main.Accert(input_path, accert_path)
get_current_COAs(c, inp_id)

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

Parameters

cMySQLCursor

MySQLCursor class instantiates objects that can execute MySQL statements.

inp_idstr

COA ID

Returns

coa_lst

List of COA’s.

coa_others

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