Hello Florian,
It is possible to set the extension fields as mandatory by writing the validation code in Vaidation-OnSave event of the extension BO. There you write a condition as below:
"if(x.IsInitial()){
return false;
raise Message.Create("E", "message");
}
return false will make sure save is not happening if the particular field is empty.
Now when the web service is triggered, and if the field is empty, the same validation will trigger and the web service request will fail with the message that you have raised.
Hope this helps,
Thanks & Regards,
Meghna
Add comment