Issue
I have created a record through suitelet. and in the end I m doing :
    objRec.save({
      enableSourcing: true,
      ignoreMandatoryFields: true
    });
But the mandatory column field are not getting ignored and script is throwing error while saving the objRec.
Solution
The ignoreMandatory field options does not ignore mandatory fields in the record.
There are some fields in the record that are mandatory because they are needed for the system to function correctly, e.g. if you have Location based inventory management, the Location field cannot be blank.