Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Default value of a Custom Transaction Body Field
How to set a default value of a custom Transaction body field?
Problem No 1:
I have added a transaction body field to the recordtype creditmemo.
The fieds is of type Percent.
The value is Stored and only applied to forms of type creditmemo.
Default value is 100%
When pressing the "Credit" button on an invoice(creating a creditmemo), the field is displayed nicely,but there is no default value. Creating manually a creditmemo will display the value correctly.
Problem No 2:
Adding a Userevent script to creditmemo and implementing a beforeLoad function do not solve the problem because nlapisetFieldValue is not able to set the value of the body field.
0