Employee Expense Source Type

This transaction is available when the Expense Report feature is enabled at Setup > Company > Enable Features, on the Employees subtab.

For help working with this record in the UI, see Expense Reporting.

The internal ID for this record is employeeexpensesourcetype.

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

For information about scripting with this record in SuiteScript, see the following help topics:

Supported Script Types

The employee expense source type record is scriptable in both client and server SuiteScript.

Supported Functions

The employee expense source type record is fully scriptable. It can be created, updated, copied, deleted, and searched using SuiteScript. It can also be transformed.

Sample Codes

          require(['N/record'], function(record) {

  var srcTypeObj= record.create({type: 'employeeexpensesourcetype', isDynamic: true});

   srcTypeObj.setValue({fieldId: 'name', value: My Source Type'});

   srcTypeObj.setValue({fieldId: 'description', value: 'My Description'});

   var sourceTypeId = srcTypeObj.save();

}); 

        

Related Topics

General Notices