Mandatory fields are empty still data is inserted into table through import sets

Afrin12
Tera Contributor

Hi
When transfroming an import set, Mandatory fields are empty then it should show an error and do not insert the data.
It is not working for me, also checked with enforce mandatory fields still not working . not working with OnBefore transform script.

 

(function runTransformScript(source, map, log, target /*undefined onStart*/ ) {
if (source.model_category == ''&&source.quantity == ' ' && source.assigned_to == ''&& source.u_office_number == '') {
ignore = true;
}

// Add your code here

})(source, map, log, target);

 

How to figure out this.



2 REPLIES 2

Mario29
Tera Contributor

did you manage to figure it out? Im having hte same issue

priyankaama
Tera Contributor

facing the same issue