in first screen when status is succeeded the create button disabled but when i move to new line the create button enabled like second image i need solution for this to make the button disabled because their status succeeded but enable the button when i move to new line
this the code i made it in trigger WHEN-NEW-RECORD-INSTANCE
BEGIN
IF :XXX_LG_LINES_V.status = 'Succeded' THEN
SET_ITEM_PROPERTY('XXX_LG_LINES_V.CREATE_BTN', ENABLED, PROPERTY_FALSE);
ELSE
SET_ITEM_PROPERTY('XXX_LG_LINES_V.CREATE_BTN', ENABLED, PROPERTY_TRUE);
SET_ITEM_PROPERTY('XXX_LG_LINES_V.CREATE_BTN',Navigable,PROPERTY_TRUE);
END IF;
END;

