How do I prevent a line item from being edited after it is entered?
Posted on 2013-06-02
I have a master-detail form ( a sales form with sales line items ). After a user completes a line item, I want to prevent that user from editing it. They can go ahead and click on the delete button and re-enter if they have to. I am creating an audit trail for the sales form. I modded the delete button script to insert a record to the audit database when clicked, but I want to "lock" the fields from being modified after the line item is completed. This is using FM 6, so we are going pretty far back.