Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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.