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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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