add new acitve flag for storage type.

Issue No: GRN-204
Created 9/3/2015 3:10:50 PM
Type Feature
Priority Major
Status Closed
Resolution Fixed
Fixed Version 15.4
Description New field in tblGRStorageType   ysnActiveType   NOTE: REMOVE OFFSITE FLAG from the data base. Use offsite flag on screen for the spot to put in active type, no screen change is needed.   ===========================================   on screen control this check box, it is active by default.   ===========================================   when flag is set to unchecked it should not show up in list for new activity.   This means in storage maintenance, cannot add new storage records.   This means scale cannot select that storage type. (will create scale jira)   On storage type maintnance screen, if remove used but there is an issue with records using this storage type so it will not allow delete, must pop message "This storage type may not be removed due to existing records using this type. Stroage type %type% may be set to inactive."   This must not allow inactive if   1) can't be the default on any commodity (invnetory)   !pastedImage_d42919_0.png! EG: above if commodity set this to open storage then that may not be set to inactive. 2) and can't be default deistribution on any ticket pool in scale.   intTicketType{color:#ff6600}ID in {color}tblSCDistributionOption   (don't know "default flag field name" for this)   !pastedImage_d42919_1.png! EG: above open storage may not be inactive if it is used by default on a scale.   NOTE: setting inactive does not change any existing storage records just cannot add new records under this type.