4Site
Support Request System
View Patch #50.012.002
Description
Patch ID:
Date Implemented:
Patch Title:
Patch Type:
Request IDs:
Bug
Enhancement
Other
02182 -
WO - subtask crew left blank. Update WO status allows inactive crew.
01653 -
Add active/inactive status to org units
Symptoms:
There were a few cases where task.providertype = C yet the providerid = blank. The crew had been showing in the combo box. This could happen by adding a new task or changing an existing task that had a blank crew on it (blank crews can come from WO tasks created from Spares. See 50.009.003).
Solution:
woTask was changed in a few places to load sProviderId from cboCrew if ProviderType = C or cboProvider if it was a Contractor - ProviderType = S. What was happening was both cboCrew and cboProvider were enabled and the code was blanking out the sProviderId when it was a crew. I changed it to check sProviderType and setup from cboCrew or cboProvider. The initial setup for Change mode would also set the values wrong if the task.providerid was blank - always got setup on the screen as type "S" - contractor. If the type was in error the error msg wasn't set up - did a resume next and didn't display the error. It will now display the error msg. It also sets up correctly if the provider type = C and the crew is blank. There was another scenario where the providertype = C, the providerid = "", the code setup the cboCrew with a default crew but when the task was saved it did not save that crew because the value is sProviderId was blanked out. That's fixed.
Browse Patches
Find a Patch
Return to Request System Menu