MHL
04/22/2026, 2:17 PMCeligo AI
04/22/2026, 2:17 PMAI generated answer (using internal Slack threads):To view the inventory detail change history on a work order completion record, you would need to check the system notes of the transaction. However, it's important to note that the system notes may not capture all changes, especially for inventory detail changes. Unfortunately, NetSuite does not provide a direct way to track changes to the inventory detail subrecord. The inventory detail subrecord does not have a system notes subtab, and changes to the inventory detail subrecord do not appear in the system notes of the parent record. If you need to track changes to the inventory detail subrecord, you might need to create a custom solution. For example, you could create a SuiteScript that logs changes to the inventory detail subrecord, or you could create a custom field on the inventory detail subrecord to store the previous value. Here is an example of how you might create a SuiteScript to log changes to the inventory detail subrecord:
javascript
var record = nlapiLoadRecord('workordercompletion', '123');
var inventoryDetail = record.getSubrecord('inventorydetail');
var oldBinNumber = inventoryDetail.getFieldValue('binnumber');
inventoryDetail.setFieldValue('binnumber', 'newBinNumber');
var newBinNumber = inventoryDetail.getFieldValue('binnumber');
nlapiLogExecution('DEBUG', 'Bin Number Changed', 'Old Bin Number: ' + oldBinNumber + ', New Bin Number: ' + newBinNumber);
Please note that this is just a basic example and may not cover all scenarios. You would need to customize this script to fit your specific needs.
******
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
04/22/2026, 2:17 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832336485
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826416
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821838379
Celigo AI
04/22/2026, 2:17 PM