https://netsuiteprofessionals.com logo
n

NS Expert

03/29/2022, 8:45 PM
Hello everyone, I am having issues in creating records by using SS 2.0. Though I set parameter to ignore mandatory fields, it still needs to enter values in mandatory fields. What can be the reason? Thank you! Example: recNew.save(true, true);
s

Suite RK

03/29/2022, 8:57 PM
Did you use this?
Copy code
var recordId = objRecord.save({
    ignoreMandatoryFields: true
});
n

NS Expert

03/29/2022, 9:01 PM
Yes, exactly.
j

jen

03/29/2022, 11:52 PM
can you post your exact code, and a screenshot of the error?