Hi all,
In the codeunit that releases a Transfer document, it does the following:
VALIDATE(Status,Status::Released)
We have an addon (Chargelogic Shipping) that has added some event trigger code in the OnAfterValidate event. It does, among other things, a TESTFIELD command. We've observed if this TESTFIELD fails (generating a message), that the Status field still changes.
So, my question is: Can anyone confirm that an error generated in an OnAfterValidate event does NOT cause the VALIDATE to fail? It would seem reasonable that this is the case, but I'd sure like to know.
Thanks
Ron
In the codeunit that releases a Transfer document, it does the following:
VALIDATE(Status,Status::Released)
We have an addon (Chargelogic Shipping) that has added some event trigger code in the OnAfterValidate event. It does, among other things, a TESTFIELD command. We've observed if this TESTFIELD fails (generating a message), that the Status field still changes.
So, my question is: Can anyone confirm that an error generated in an OnAfterValidate event does NOT cause the VALIDATE to fail? It would seem reasonable that this is the case, but I'd sure like to know.
Thanks
Ron