Update Account Before Insert

class Main.Accert(input_path, accert_path)
update_account_before_insert(c, max_ind, max_rgt)

Updates the current COAs ind, lft, rgt.

Parameters

cMySQLCursor

MySQLCursor class instantiates objects that can execute MySQL statements.

max_indint

Original index of the account next to the inserted COA.

max_rgtint

Original rgt of the account next to the inserted COA.