New system generated Unique Quantity Code added in unitofmeasurement table.
-
New fields 'description' and 'sysunit' are added in unitofmeasurement table, for system generated units sysunit is 1 and for user created units sysunit is 0.
-
In initdb.py, '84' system generated unit of measurement are created under unitofmeasurement table when install gnukhata.
-
In gkUpgrade function, there is list of uqc if any uqc is already in database then updated its 'description' and 'sysunit' otherwise added new unit in unitofmeasurement table for old users.
-
'getUnitOfMeasurement' also returns 'description' and 'sysunit' of requested unit.
-
'getAllunitofmeasurements' also returns 'sysunit' of all units.
closes #390 (closed)
Edited by Nitesh Laxman Chaughule