Suppress Changes Dialog for Job Entry Audit Log

I am trying to suppress the Changes dialog when a job is released for the first time. We have “Create Audit Log” marked for Engineered jobs in company configuration which causes the Changes dialog to display when releasing a job.

I have tried a couple routes with BPMs, but so far cannot get the dialog to not display without also getting a “Change Description Blank” error. My intention to record an initial release is to set UserDate1 when JobReleased is updated on JobHed. If I could suppress the changes dialog and just set the ChangeDescription or populate the JobAudit with “Initial Release”, it seems that would be ideal.

Any insight would be greatly appreciated.

You have to create two BPM.

  1. Post Processing Erp.JobEntry.CheckForChanges using below code
if(lJobRel)
{
  var jobAudit = Db.JobAudit.Where(JA => JA.Company == cCompany && JA.JobNum == cJobNum).FirstOrDefault();
  if(jobAudit == null)
  {
    opChangeDescription = false;
  }
}
  1. Pre Processing Erp.JobEntry.Update using below code
var ttjobHead = ttJobHead.Where(JA => JA.JobReleased && (JA.Added() || JA.Updated())).FirstOrDefault();
if(ttjobHead != null)
{
  var changeDescription = ttjobHead.ChangeDescription;
  if(String.IsNullOrEmpty(changeDescription))
  {
    ttjobHead.ChangeDescription = "Initial Release";
  }
}