on 11-08-2018 5:27 PM
I have some validation that has been placed in the Validation-OnSave.absl of the SalesOrder business object.
The validation is simple and just checks that the FreightChargeAmount is not zero. If it is zero then it stops the save of the sales order.
var currenttotalvalues = this.TotalValues.GetFirst();
if (currenttotalvalues.FreightChargeAmount.content == 0)
{
raise Freight_Message.Create("E");
return false;
}
return true;
I've been asked to change this so that instead of blocking the save it opens a window which asks the user if this is acceptable or not. If it is acceptable then the save should go ahead, if not the save should be blocked as it is currently.
Is this possible?
If it is how would I do it?
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.