Printed ABR-1000 Accounts by Levels

class utility_accert.Utility_methods

Utility class

print_leveled_abr_accounts(c, abr_fac, abr_lab, abr_mat, all=False, cost_unit='dollar', level=3)

Prints the output leveled abr accounts table.

Parameters

cMySQLCursor

MySQLCursor class instantiates objects that can execute MySQL statements.

abr_facfloat

Abr_fac is the ABR-1000 factor for factory cost.

abr_labfloat

Abr_lab is the ABR-1000 factor for labor cost.

abr_matfloat

Abr_mat is the ABR-1000 factor for material cost.

allbool, optional

All is the flag to print all accounts or not. (By default not, or false)

cost_unitstr, optional

Cost_unit is the cost unit. (By default ‘dollar’)

levelint, optional

Level is the level of the account. (By default 3)