Job Requisition
The Job Requisitions feature must be enabled to script with this record.
The internal ID for this record is jobrequisition
.
For help working with this record in the user interface, see Job Requisitions.
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:
Supported Script Types
The job requisition record is scriptable in both client and server SuiteScript.
Supported Functions
The job requisition record can be read, created, updated, searched, and deleted using SuiteScript. It cannot be copied or transformed.
Code Samples
function beforeLoad(type, form, request){
// rec in all following statements has been previous defined (created/loaded) as a Job Requisition record
rec.setValue({
fieldId: 'title',
value: 'abc'
});
rec.setValue({
fieldId: 'description',
value: 'test description'
});
rec.setValue({
fieldId: 'isinactive',
value: 'F'
});
}
function beforeSubmit(type, form, request){
rec.setValue({
fieldId: 'subsidiary',
value: '1'
});
rec.setValue({
fieldId: 'department',
value: '2'
});
rec.setValue({
fieldId: 'location',
value: '3'
});
}