Jira Code: OSI-85
Answer Id: 46204
The standard Source field is the field on the Sales Order that indicates where it originated from. The values of this field could either be Web, Customer Center, CSV, or Web Services.
- Web – the record is created from a website via Site Builder/SCA.
- Customer Center – the record is created when a customer logs into their customer centre role.
- CSV – the record is created via CSV import.
- Web Services – the record is created via web services integration.
This field’s value can not be set to any other value using the nlapiSetFieldValue or nlobjRecord.setFieldValue() as this field is Read-Only field.
This field only appears when the record was not created via UI.
An alternative would be to use a Custom List and we enter the Sources into it. And we can set the value on this list whenever we create Sales Order.