Levi Pruss
09/08/2025, 2:46 PMCeligo AI
09/08/2025, 2:46 PMAI generated answer (using internal Slack threads):To create a custom field (inline) on the Work Order (WO) that will dynamically show the Transfer Order (TO) that links to that WO, you can use a similar approach to the one described in the third thread. Here are the steps: 1. Create a new custom field on the WO. This field will be used to store the TO that links to the WO. Make sure to set the 'Store Value' option to 'Yes' so that the value can be referenced in saved searches or formulas. 2. Create a workflow that triggers on the after record submit event. This workflow will copy the value from the TO to the new custom field on the WO. Here is a sample workflow action script that you can use as a reference:
javascript
var context = nlapiGetContext();
var newRecord = nlapiGetNewRecord();
var TO = newRecord.getFieldValue('custbody_TO'); // replace 'custbody_TO' with the internal id of your custom field on the TO
newRecord.setFieldValue('custbody_WO_TO', TO); // replace 'custbody_WO_TO' with the internal id of your new custom field on the WO
nlapiSubmitRecord(newRecord);
3. If you want to update existing WOs, you can create a scheduled workflow that triggers on a saved search. The saved search should return the list of WOs that you want to update.
Please note that this solution assumes that you have the necessary permissions to create and modify workflows and custom fields in NetSuite. Also, make sure to replace the placeholders in the script with the actual internal ids of your custom fields.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/08/2025, 2:47 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845031857
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83795166
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827514708
Celigo AI
09/08/2025, 2:47 PM