Mandatory fields are empty still data is inserted into table through import sets
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 01:31 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 02:14 PM
did you manage to figure it out? Im having hte same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 08:03 AM
facing the same issue