//var hide_empty_list=true; //uncomment this line to hide empty selection lists

var disable_empty_list=true; //uncomment this line to disable empty selection lists

addListGroup("Direct materials", "category", "sub_category", "items");

addOption("category", "", "", "", 1); //Empty starter option
addList("category", "Electric fencing", "Electric fencing", "Electric fencing");
addList("category", "Stores", "Stores", "Stores");




addOption("Electric fencing", "", "", "", 1); //Empty starter option
addList("Electric fencing", "Timber", "Timber", "");
addList("Electric fencing", "Mitek", "Mitek", "");
addList("Electric fencing", "Sundries", "Sundries", "");


addOption("Stores", "", "", "", 1); //Empty starter option
addList("Stores", "PPE", "PPE", "");
addList("Stores", "Welding and Engineering", "Welding and Engineering", "");
addList("Stores", "Vortex Spares", "Vortex Spares", "");
addList("Stores", "Tools", "Tools", "");
addList("Stores", "Consumables", "Consumables", "");
addList("Stores", "Cleaning Materials", "Cleaning Materials", "");
addList("Stores", "Lubricants", "Lubricants", "");
addList("Stores", "Machine Spares", "Machine Spares", "");
addList("Stores", "Fuel", "Fuel", "");
addList("Stores", "Old", "Old", "");
