Jared Fraley
02/24/2025, 4:19 PMCeligo AI
02/24/2025, 4:19 PMAI generated answer (using internal Slack threads):In order to hide or lock the UOM selection dropdown on the picking screen when entering quantity in NetSuite WMS, you would need to use scripting. You can use a User Event Script's beforeLoad function to get the UOM field and then update its display type to be either hidden or disabled. Here is a sample code snippet that demonstrates how you can achieve this:
javascript
function beforeLoad(context) {
if (context.type !== context.UserEventType.CREATE)
return;
var form = context.form;
var uomField = form.getField({
id: 'uom'
});
// To hide the field
uomField.updateDisplayType({
displayType: 'hidden'
});
// Or to disable the field
uomField.updateDisplayType({
displayType: 'disabled'
});
}
Please note that this is a generic example and you might need to adjust the field id and context type based on your specific requirements.
******
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
02/24/2025, 4:19 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81095
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81050545
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.8090325
Celigo AI
02/24/2025, 4:19 PMCeligo AI
02/24/2025, 4:20 PM