Discussions
Expense report non-reimbursable set value via script
Dear team,
I wanted to check if it is possible set the value of non-reimbursable {isnonreimbursable} standard field on the expense sublist on expense reports to checked, using a script?
We have tried developing client as well as user event script but it seems that NetSuite overrides the value on after record submit (when the expense report is submitted).
The idea was to set the value of the non-reimbursable field to true/checked based on another value selected (custom segment applied on the expense line field of expense reports).
Example - when the value of the segment is 'Bill to Company' the non-reimbursable field should be checked and consequently the 'non-reimbursable expenses' in the summary table updated.