Added in a check for the active flag when adding an operation to a lot. Added in material handler group to the CanUserModifyLot check.
Given the addition of a check for the active flag to allow adding an operation. I checked all OPERATION records to ensure that flag has already been set. The only operations that had a value other than true were the OPERATION records related to Return To Fab Lot processing.
Tested and verified creating test wafer lots, and creating RTF forms.