NS AdminA
09/07/2024, 1:54 AMCeligo AI
09/07/2024, 1:54 AMAI generated answer (using internal Slack threads):Based on the conversations, it seems like you're encountering an issue with viewing a transaction sublist in a customer record. This could be due to a few reasons: 1. The sublist is not properly attached to the transaction. Even if the record is showing in the sublist, it might not be attached. Make sure to press the attach button after creating the record. 2. The sublist might not be visible because the 'Show in List' option is not checked off for those fields. Make sure to check this option for the fields you want to display. 3. If you're trying to access the sublist through SuiteScript, make sure you're using the correct line index. The line index starts from 0, not 1. So if you're trying to access the first line, use 0 instead of 1. Here's a sample code snippet for accessing a sublist in SuiteScript:
javascript
const transRec = context.currentRecord;
var sublistFieldValue = transRec.getSublistValue({
sublistId: 'item',
fieldId: 'item',
line: 0
});
Remember to replace 'item' with the actual ID of your sublist and field.
******
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/07/2024, 1:54 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822419524
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820749402
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820455849
Celigo AI
09/07/2024, 1:54 AM