There is an issue when you use GET_ITEM_PROPERTY for certain properties on
an Item which is a subordinate mirror item.
Some values such as REQUIRED and MAX_LENGTH
are inherited implicitly from the Master Item, but are not returned by direct
calls to GET_ITEM_PROPERTY. The MASTER_MIRROR_ITEM property allows you to access
the master item from the subordinate. You can then get the properties you need
directly from the master.
Get through GET_ITEM_PROPERTY Built-in
Set not settable through SET_ITEM_PROPERTY Built-in.
Constant Name: MASTER_MIRROR_ITEM
if get_item_property(
get_item_property(:SYSTEM.CURSOR_ITEM,MASTER_MIRROR_ITEM),
REQUIRED) = 'TRUE' then
....