auto increment SPG ID based on Warehouse code, and added auto capitalize for code and name on some forms