Disable Deleting on a Batch Row

I would like to disable deleting on a batch row. I've done something similar with a collection field in an Edit form using UI Model. However, I cannot seem to access .AllowDelete at the batch level (maybe I am missing it).

It occurred to me to simply remove the active code in the RecordOperation spec of the batch, which works, but the batch still appears to delete the record, then when it's reloaded it's still there.

What is the best way to turn off \\ disable deletion of a record at the batch level. Ideally I'd like to display a prompt \\ dialog box when this is attempted.

Thanks,

Ernie

Comments