Looks like it’s pretty much Hard Coded into the Form. No BPM and no Server Side Code can save you.
public bool CheckReadyToProcessFlag()
{
if (!this.orderHedHR())
{
return true;
}
if ((bool) this.orderHedView.dataView[0]["ReadyToCalc"])
{
return true;
}
if ((bool) this.orderHedView.dataView[0]["LOCHold"])
{
return true;
}
bool flag = false;
switch (EpiMessageBox.Show(EpiString.GetString("readyToProcessQuestion"), string.Empty, MessageBoxButtons.YesNoCancel))
{
case DialogResult.Yes:
flag = true;
this.orderHedView.dataView[0]["ReadyToCalc"] = true;
if (!this.Update())
{
return false;
}
return flag;
case DialogResult.No:
return true;
}
return flag;
}
So short of meeting one of the first 3 criterias above… You are SOL.
- No Header Record
- Already Set
- LOCHold = true (WTF is LOCHold?