ANNOUNCEMENT: community.oracle.com is currently Read only due to planned upgrade until 29-Sep-2020 9:30 AM Pacific Time. Any changes made during Read only mode will be lost and will need to be re-entered when the application is back read/write.
I have an interactive grid on a page. I have written code to override the default save action with action to validate data in the grid before saving. This code works superbly.
However, when a user creates a private report and/or a public report, the code fails. It fails on the line where its checking to see if a row is deleted. LN_BORWR_ID is the primary key to the table. Is it because there are many saved reports and the model does not know which report it is referring to? Any hep would be greatly appreciated.
var model = apex.region("borrower").widget().interactiveGrid("getViews", "grid").model;
recId = r[model.getFieldKey("LN_BORWR_ID")];
isDeleted = model.getRecordMetadata(recId).deleted; ----------> FAILS ON THIS LINE