I have a custom form that includes several data blocks. In one of the header/detail block, header is set to delete_allowed=false, while the detail block is delete_allowed=true.
But in when I run it in R12 environment, the delete button is disabled in the detail block. But if I navigate to Help > Diagnostic > Item > Properties, and go back to the detail block immediately, the delete button will become enabled. I suspect that it is the button not being updated/refreshed properly. I tried to add synchronize in WHEN-NEW-BLOCK-INSTANCE / PRE-BLOCK, but it didn't work. Any ideas?
Since you are dealing with a CUSTOM form for the Enterprise Business Suite (EBS) I recommend you post your question in the EBS General Discussion forum. Do you have all of the required EBS objects in your CUSTOM form?