'Scripts to change values across different record types - Netsuite Suitescript
I am currently watching a lot of tutorials and doing a lot of research on SuiteScript 2.0
But before I get into this I want to ask a fundamental question.
Can I edit a field on a particular record type with a script that runs on a different record type.
For example
I have a custom field on my Inventory Item Page. (Item Record)
I want to run a script from Goods Receipt Note (Transaction Record)
So that when the goods receipt note is saved it amends a custom field on the item page.
Is this possible?
Thank you
Solution 1:[1]
Generally not a problem as long as the role the script is being run under has write access to the item.
The main thing is transactions can tend to have many lines and if you are updating your items one-by-one you can run into script governance issues.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | bknights |
