Bloccare documento emesso
Buongiorno...ho il seguente problema che non so come risolvere:
Ho creato un record (che rappresenta un documento fiscale contenente prezzi e date). Vorrei che una volta emesso e stampato, questo non fosse più in alcun modo modificato o aggiornato (prezzi, date, cliente, articoli, ecc.)
Esiste una maniera per poterlo fare tramite codice, formula o altro??
Grazie mille e fantastico Software!!!!!!
Alberto
5 replies
-
Bounggiorno Alberto
In short the answer is yes. You can lock records in various ways.
I personally use a number field that I input a code number into. then all other fields are set to "writable if" and will be editable if the correct code is entered - there are other ways to do this tho
ie at field level/form/table level and by users rights
So you could use the option "Writable if..." in the options of a table ("Edit fields").
If you implement a "Yes/No" field you can show it as a checkbox and set in the "Writable if..." field the function:
'Yes/No' = 1 (NOTE NO COLON!)
To make the record writable if it once locked, you can use a button with the formula:
'Yes/No' := 1
Ciao Mel
-
Forgot to say you could hide the unlock button on another tab which is what i tend to do
the above will lock all fields. formulas stiff function (as you would expect then to do as they are triggered by field info anyway) - images fields will no longer show the delete option on etc
Content aside
- 1 yr agoLast active
- 5Replies
- 78Views
-
3
Following