0

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

null
    • Mel_Charles
    • 5 mths ago
    • Reported - view

    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

    • Mel_Charles
    • 5 mths ago
    • Reported - view

    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

      • Alberto
      • 5 mths ago
      • Reported - view

       

      Thanks...I try immediately!!!!

      • Rafael Sanchis
      • Rafael_Sanchis
      • 5 mths ago
      • Reported - view

      Hi I use some similar Locked field.

      • Alberto
      • 5 mths ago
      • Reported - view

       

      thanks .... great idea!!!!

Content aside

  • 5 mths agoLast active
  • 5Replies
  • 74Views
  • 3 Following