ChiSao Posted March 12, 2010 Posted March 12, 2010 Hi, when a User adds an item (every item is unique) to an invoice a script marks the item as "charged". Now my Problem if the user deletes the invoice the item should be marked as "uncharged". No Problem If I'm writing a delete script assigned to a button but what if the user clicks on "delete Record" in the FM Menu? Thanks by ChiSao
Søren Dyhr Posted March 12, 2010 Posted March 12, 2010 Deleting an Invoice is a fraudulent action, a raincheck needs to be issued... --sd
David Jondreau Posted March 12, 2010 Posted March 12, 2010 You can force a script instead of the default Delete Record[] action by using custom menus.
ChiSao Posted March 12, 2010 Author Posted March 12, 2010 You're right. But in my solution you can delete an invoice only in the creation process. But once the invoice is billed there is no possibility to delete the invoice
IdealData Posted March 12, 2010 Posted March 12, 2010 Once you have decided to take control of the basic FM functions (New/delete etc.) then you must protect the database by replacing the menu items with button driven scripts or possibly use the scripts menu. Custom menus will work admirably, but it's a lot easier to set the menu access level to EDIT only in the privileges.
Recommended Posts
This topic is 5371 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