Suche…


Neue Aufgabe erstellen

var record = nlapiCreateRecord('task');
record.setFieldValue('title', taskTitle);
var id = nlapiSubmitRecord(record, true);

Datensatz im dynamischen Modus erstellen

var record = nlapiCreateRecord ('customrecord_ennveeitissuetracker', {recordmode: 'dynamic'}); nlapiLogExecution ('DEBUG', 'record', record); record.setFieldValue ('custrecord_name1', name); record.setFieldValue ('custrecord_empid', id); record.setFieldValue ('custrecord_contactno', contactno); record.setFieldValue ('custrecord_email', E-Mail); record.setFieldValue ('custrecord_location', loc); record.setFieldValue ('custrecord_incidentdate', Vorfalldatum); record.setFieldValue ('custrecord_issuedescription', desc); // record.setFieldValue ('custrecord_reportedby', Bericht); record.setFieldValue ('custrecord_issuetype', issuetype); record.setFieldValue ('custrecord_priority', Priorität); // record.setFieldValue ('custrecord_replacementprovided', repl); record.setFieldValue ('custrecord_issuestatus', issuestatus); // record.setFieldValue ('custrecord_resolvedby', resolvedby); record.setFieldValue ('custrecord_remarks', Bemerkungen); record.setFieldValue ('custrecord_resolvedby', aufgelöst by); record.setFieldValue ('custrecord_updatedstatus', aktualisierter Status); var id = nlapiSubmitRecord (Datensatz, true); var recordId = nlapiGetRecordId (); record = nlapiLoadRecord ('customrecord_ennveeitissuetracker', id);



Modified text is an extract of the original Stack Overflow Documentation
Lizenziert unter CC BY-SA 3.0
Nicht angeschlossen an Stack Overflow