Dannymh
Active member
Hi Again, annoying old me.
I need to check against a set of conditions in PreSave i.e. is incoming amount mor than existing amount
there will be conditions whereby it will cause an "error" or at least log a message that needs to return to the user.
Generally speaking
Is that possible or am I going to have to check this postSave and try to target the result I want with SQL
I need to check against a set of conditions in PreSave i.e. is incoming amount mor than existing amount
there will be conditions whereby it will cause an "error" or at least log a message that needs to return to the user.
Generally speaking
- User inputs amount
- amount is less than needed in preSave so holds a message "amount to low"
- Still saves amount and offer to DB
- Returns message and offers to allow them to up their ammount.
Is that possible or am I going to have to check this postSave and try to target the result I want with SQL