can we trigger when user click "Add" button in inv...
# ask-stanley-ai
j
can we trigger when user click "Add" button in inventory detail popup window in item receipt record in netsuite?
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it seems that triggering an action when the "Add" button is clicked in the inventory detail popup window in an item receipt record in NetSuite is not directly supported. One user mentioned that you can't deploy a user event or client script to the inventory detail through a script record. However, you can add a client script directly to the inventory detail form. If you need to get information from the item receipt record from the client script on the inventory detail, the only way to do that is to access the parameters in the URL. Another user suggested that you might be able to access the item receipt record using
window.parent
/
window.opener
, depending on your definition of a browser hack. However, it's important to note that subrecord support on client script is not very reliable, and you may encounter problems saving anything to the inventory detail. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849060118
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846801817
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846008301
Please provide your feedback on this answer.
a
yes. i did it by DOM manipulation