bens Posted March 26, 2013 Posted March 26, 2013 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?
LaRetta Posted March 26, 2013 Posted March 26, 2013 Safest way is to modify privilege on those portal tables . Boolean true would allow edit. Calculation might look something like this: not parentTable::Lock
bens Posted March 27, 2013 Author Posted March 27, 2013 Thanks for the reply, i just don't know how it can be done?
LaRetta Posted March 28, 2013 Posted March 28, 2013 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.
Recommended Posts
This topic is 4258 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now