Netsuite Tragic
09/15/2021, 4:42 AMnlapiSubmitField('itemlocationconfiguration', itemWarehouseConfigurationId, 'custrecord_next_po_arrival_date', new Date());
also if I do this one update in SS2.x, it works fine:
var recordId = record.submitFields({
type : record.Type.ITEM_LOCATION_CONFIGURATION,
id : 128962,
values :{
custrecord_next_po_arrival_date : new Date(),
memo : new Date()
}
});
hoping to be able to add just my one line, not re-write the script.Luiz Morais
09/15/2021, 9:08 AMNetsuite Tragic
09/15/2021, 11:27 PMMark Robinson
09/17/2021, 7:50 PMnlapiSubmitField(rec_type, rec_id, ['cust_field_id_1', 'cust_field_id_2'], ['cust_field_val_1', 'cust_field_val_1']);
it might be safer to set your new date to a var / let rather than doing it in-line.