Nour Khaled
04/14/2025, 12:41 PMCeligo AI
04/14/2025, 12:41 PMAI 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 adding inventory detail to a custom record in NetSuite is not directly possible. The inventory detail is a subrecord that is associated with line items on transactions, not custom records. If you are trying to add an inventory item to a sublist on a custom record, you may encounter an alert from NetSuite stating that you need to configure inventory detail for the line. This is because inventory items require inventory detail, such as lot numbers or serial numbers, which are not directly supported on custom records. One workaround suggested in the conversations is to use a client script to manipulate the DOM, but this is not a native or SuiteScript option and may not be reliable or recommended. Another suggestion is to add fields to your serial numbers and lot numbers, but these can only be modified while viewing the lot/serial number, and they don't report well. A more recommended approach is to use a custom record to store the additional information you need. However, this would not be directly linked to the inventory detail and would require additional scripting to keep the data in sync. For more information on working with subrecords in SuiteScript, you can refer to the [SuiteScript 2.0 Scripting Subrecords](https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4675623115.html) documentation.
Celigo AI
04/14/2025, 12:41 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.870314062
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.859938741
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.859872937
Celigo AI
04/14/2025, 12:41 PM