March 26, 201312 yr I have a record with several portals, is there a way to prevent editing of all the portal rows, if a field in the record is set to locked?
March 26, 201312 yr Safest way is to modify privilege on those portal tables . Boolean true would allow edit. Calculation might look something like this: not parentTable::Lock
March 28, 201312 yr Solution When a parent record receives a 1 (lock) then children can be protected from change by using Privilege Settings. So if we assume you have a privilege set called Staff (you have duplicated the basic data entry privilege set) and you want to stop staff from changing LineItems on an Invoice which has been flagged with a 1 in the invoice's IsLocked field, the setting steps would look like this: In File > Manage > Security, go to Privileges tab and select Staff, then Edit. Open the Records pop-up and specify Custom Select Invoices, below select Edit and change it Limited In the calculation dialog, it would be: not IsLocked Select your LineItems table, Edit and select Limited as well. Calc here would be: not Invoices::IsLocked Failure at this point is good ... 0 or empty means Users can proceed whereas 1 means they will be stopped at all levels.
Create an account or sign in to comment