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!
Is there a way to disable editing the 'Standard' line level 'Amount' field on transactions)?
I want to disable standard line level amount field, I did not found any options from UI,
So I chosen a script, as below,
function lineInit(type){ try { if (type == 'expense') { //list of items to disable
var itemsToDisableArray = ['amount'];
for (var i = 0; i < itemsToDisableArray.length; i++) { nlapiDisableLineItemField('expense', itemsToDisableArray[i], true);
} } }catch (error) { // error details are
console.log('Error', error);
}}
Thank you,
Best Regards,
Nayeem Rahman Shaik
Certified NetSuite SuiteCloud Developer II
Certified NetSuite Administrator
10