I have implemented the validation callbacks for the validation points.
I understand that if the validation failed, the call back of the data validation should fail.
Since we work with external DB, we can have few validation point which one depends on the other and one depends on other configuration in the DB. For example, only when the data of validation point 1 and validation point 2 is given, we can check the validation together with the other external configuration.
we think that the best proceedure for us is to set the changed data in the data validation callback (we do it using the maapi iter utility). only when all is set we should check the dependent validation. When I tried to check the validity in validation stop callback I could not fail the valdiation if needed.
Do we have a knowledge how many data validation call backs should be called for the commit check? If so, it might be helpfull.
Do you have other suggestion of how to implement that - what we are trying to get is set the data for validity check and after all the data is set for all the validation points, only then to actually check the validation itself in the DB.