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!
SQL help
Why would this throw an error?
( nvl({quantityonhand},'0') + nvl({quantityonorder},'0') - nvl({quantitybackordered},'0') ) / ( {preferredstocklevel} )
it seems to be the divide function because when I change the divide to multiply it works like a charm!
( nvl({quantityonhand},'0') + nvl({quantityonorder},'0') - nvl({quantitybackordered},'0') ) * ( {preferredstocklevel} )
0