Applied bug fix from trunk r1350356. Applied bug fix from jira issue - OFBIZ-4907 - Invalid relation name status item for Production Run. Could not find relation for relationName: StatusItem for value [GenericEntity:WorkEffort] Thanks Deepak for the contribution.