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!
Custom Item Field Formula or Script
Hello everybody.
I'm trying to create a custom Item Field with a formula to hold the result of:
{memberquantity}*{memberitem.averagecost}+{vendorcost}
This is working properly on a Saved Search:
{memberquantity}*{memberitem.averagecost}
but if I try to +{vendorcost} it will sum the vendorcost everytime it calculate the (member quantity * memberitem average cost) which is not right because the only vendor cost would be at the Assembly level.
Since the custom Item Fields cant use as sourcing a Saved Search, I'm wondering is someone have an example SuiteScript to do something similar?
Kind Regards
Alien.
0