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
Custom transaction column on invoice itemcost/expcost tabs not staying stored
I'm trying to add a custom transaction column to our invoices to store values on the expcost and itemcost tabs.
I've created the column and applied it to Sale Item.
When I edit an invoice the column is not displayed on the expcost/itemcost tabs. This is actually OK as I don't want to see it. It does display on the main item tab.
In a before submit user event script when the event type is either create or edit I set the value using:
nlapiSetCurrentLineItemValue('expcost', 'custcol_syn_sales_expense_category', expenseCategoryId);
When I'm returned to the invoice in view mode the custom column is displayed and the value is populated.
0