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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Client Script - Set Price Level on Save
Hello,
I am running into an issue setting the Price Level field on a line item, using the Save Record function on a Client Script. My logic is working to set other custom fields on that line item, and the same code works on Validate Line Item, but will not work on Save. Can you please take a look at this code and let me know if there is something I am doing wrong or if this is simply a defect?
function saveRec() {
var lineCount = nlapiGetLineItemCount('item');
for (var i=1; i<=lineCount; i++) {
nlapiSetLineItemValue('item','price',i,'23');