I'm trying to save a record which has a field of type 'Phone Number'.
When I enter a number in that field (ex: '5551231234') and save the record in the Netsuite UI, I see that the number gets formatted to the preferred phone number format automatically (ex: '
555-123-1234').
But when I do the same via Suitescript (2.0), the number stays as it was entered. (ex: stays as '5551231234').
Can we not enable auto formatting when saving a record via SuiteScript?
I've tried using dynamic mode and also tried setting enableSourcing to true while saving the record, both did not work.