Check field is enabled

Check if update is allowed on a field

result := Get_Item_Property ( 'block.item', UPDATE_ALLOWED);
if result = 'TRUE' then
  --do your stuff
end if;

Check if insert is allowed on a field

result := Get_Item_Property ( 'block.item', INSERT_ALLOWED);
if result = 'TRUE' then
  --do your stuff
end if;

Leave a Reply