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!
Make item base price mandatory
Hello Experts,
I would like to make base price of an item (inventory part) mandatory via a script. Below is the UE script.
function setPriceMandatory()
{
nlapiGetLineItemField('price1','price_1_',1).setMandatory(true);
}
When saving item, it is returning "Please provide values for the following fields in the list: Amount" even though there is a base price set in it. Not sure which part of the script is incorrect or missing.
I identified the internal ids by looking at the xml data of the inventory item.
Ideally it should be a UE script or any script type that can work on csv import context since we usually import hundreds of items at a time.