Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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))))