Antonio Garcia
04/23/2025, 9:51 AMCeligo AI
04/23/2025, 9:51 AMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** Based on the conversations, it seems that updating a line on an Invoice that contains Billable Time lines can be a bit tricky. The 'time' sublist is not directly editable via SuiteScript. However, there are a few things you can try: 1. Overwrite the amount on the billable time sublist with a zero. This does not update the time records, which can lead to inaccurate reports and saved searches. 2. You can try to load the record in XML mode. To do this, append
&xml=T
to the URL or open the developer console and run the following code:
javascript
var rec = nlapiLoadRecord('recordtype', 'internalid');
Then output rec
to the console and you'll see that part of the object is 'lineitems'.
3. If the field is a custom transaction line field, it might not be visible in the 'time' sublist. You might need to check the custom form for the field.
4. If you're trying to source a field from the 'timebill' record to the transaction line, you might need to check the Time and Group on Invoices under the Apply subtab of the custom transaction line (assuming it is one).
Remember, these are just suggestions based on previous conversations and might not work in your specific case.Celigo AI
04/23/2025, 9:52 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.852642417
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83779633
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824726045
Celigo AI
04/23/2025, 9:52 AM