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!
CEIL in saved search formula
Hi Everyone,
I have an item saved search based on transaction type = Work Order. What I'm trying to achieve is get the total quantity of unbuilt (shipreceive) work orders subtract the total quantity of purchase orders yet to be received divide it by the reorder multiple, round it up to the nearest reorder multiple and then multiply that qty by the reorder multiple.
The formula I have is:
sum({transaction.quantity})-sum({transaction.quantityshiprecv}) - (max({quantityonorder}) +max({quantityonhand}))/{reordermultiple})*{reordermultiple}
{transaction.quantity}-{transaction.quantityshiprecv} = 65,100
({quantityonhand}+{quantityonorder}) = 43,481
Reorder multiple = 1,650
So 65,100 - 43,481 = 21,619 / 1,650 = 13.10242 rounded up to the nearest whole number (14) * 1,650 = 23,100 so the result I want from the formula is 23,100.