RodriNS
10/01/2024, 9:50 PMCeligo AI
10/01/2024, 9:50 PMAI generated answer (using internal Slack threads):To access the plannedtime sublist in a Work Order record through SuiteScript, you would need to load the record and then use the
getSublist
method. Here is a basic example:
javascript
var record = nlapiLoadRecord('workorder', workOrderId);
var plannedTimeSublist = record.getSublist({
sublistId: 'plannedtime'
});
In this example, workOrderId
is the internal ID of the Work Order record you want to access. The getSublist
method returns a sublist object that you can then interact with.
Please note that the sublistId 'plannedtime' is just an example and you would need to replace it with the actual sublistId of the plannedtime sublist in your Work Order record.
******
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
10/01/2024, 9:51 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838103592
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832629
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826078176
Celigo AI
10/01/2024, 9:51 PM