Szukaj…


Utwórz nowe zadanie

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

Tworzenie rekordu w trybie dynamicznym

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', incidentdate); record.setFieldValue ('custrecord_issuedescription', desc); // record.setFieldValue ('custrecord_reportedby', raport); record.setFieldValue („custrecord_issuetype”, issueetype); record.setFieldValue („custrecord_priority”, priorytet); // record.setFieldValue ('custrecord_replacementprovided', repl); record.setFieldValue ('custrecord_issuestatus', Issuestatus); // record.setFieldValue ('custrecord_resolvedby', resolvedby); record.setFieldValue ('custrecord_remarks', uwagi); record.setFieldValue ('custrecord_resolvedby', resolvedby); record.setFieldValue ('custrecord_updatedstatus', updatedstatus); var id = nlapiSubmitRecord (rekord, prawda); var recordId = nlapiGetRecordId (); record = nlapiLoadRecord ('customrecord_ennveeitissuetracker, id);



Modified text is an extract of the original Stack Overflow Documentation
Licencjonowany na podstawie CC BY-SA 3.0
Nie związany z Stack Overflow