Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
How to include requisition in consumed amount in custom budget in Netsuite
Hi,
How to include requisition in consumed amount in custom budget ?
In saved search Budget Transaction Consumed Amount standard
Result: the formula is like this:
SUM(NVL(CASE WHEN {posting} = 'T' THEN {amount} END,0)) + (SUM(NVL(CASE WHEN {recordType}='purchaseorder' THEN {amount} END,0)) - SUM(NVL(CASE WHEN {recordType} ='vendorbill' AND {createdfrom} IS NOT NULL AND {createdfrom.status} NOT IN ('Closed','Fully Billed') THEN {amount} END,0)) + SUM(NVL(CASE WHEN {recordType} ='vendorbill' AND {posting} ='F' AND {createdfrom} IS NOT NULL THEN {amount} END,0)))
so when we include Requisition on it:
SUM(NVL(CASE WHEN {posting} = 'T' THEN {amount} END,0)) + (SUM(NVL(CASE WHEN {recordType}='purchaseorder' THEN {amount} END,0)) - (SUM(NVL(CASE WHEN {recordType}='requisition' THEN {amount} END,0)) -SUM(NVL(CASE WHEN {recordType} ='vendorbill' AND {createdfrom} IS NOT NULL AND {createdfrom.status} NOT IN ('Closed','Fully Billed') THEN {amount} END,0)) + SUM(NVL(CASE WHEN {recordType} ='vendorbill' AND {posting} ='F' AND {createdfrom} IS NOT NULL THEN {amount} END,0))))