Very new to NetSuite scripting. I am writing a very basic workflow action script to take the ID of the created from transaction (which is already referenced on the current transaction form), and then populate that ID into the new transaction ID field. But it keeps populating the words "createdFromID" instead of the actual ID.
function wf_populateField() { nlapiSetFieldValue('tranid','createdFromId'); }
if the variable
createdFromIdis in scope when this function is called then your function should benote that there are no quotes around the variable name.