Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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))))