Updateable BAQ with Job Header and Job Operation Fields

I have designed an updateable BAQ that pulls in job information from the job header, job operations and job operation detail.

I have added an Extended UDF for a field I call dispatch priority in the joboper table.

I have set the Job Engineered, Job Released, the dispatch priority, Extended UDF field and the Job Header Comment field to be updateable. I double click on the row and I un engineer, un release, make my updates to the desired fields hit ok and update and it saves properly.

I created a BAQ post processing BPM after the BASE update method to set the job released and job engineered fields back to true after the desired updates are made.

This is not working. The engineered and released fields do not update to true. I get no errors after the update talked about above, but these fields remain unchanged.

If I go back and do the update again to engineer and release the job from the BAQ, I get the following error:

Severity: Exception, Table: JobOper, Field: , RowID: ddc01546-ccd9-4389-b0d6-3a07aca17c7d, Text: Updates to Operations not allowed

If I go to Job Entry after using the BAQ, and change engineered and released to true and save. The job saves properly.

Has anyone ever done anything like this?

Any ideas on what I am doing wrong?

I have gotten the job to update, but have not been able to release the job after the changes have been made.

I am trying to use a BAQ BPM to release the job. I used a post process where I do a Job.GetByID. I use a Set field to change released to true then I use changejobheadjobreleased and then update.

I keep getting the following business logic error: JobHead has not changed.

Has anybody experienced this? What am I doing wrong? Any help would be greatly appreciated.