ResourceBudget getByResourceId
ResourceBudget_getByResourceId
Get Budget of a resource. On UI, you can find Budget of each resource by: open the resource, go to Cost tab, go to Income statement tab, then click on Update Budget button
Syntax
ResourceBudget_getByResourceId (number resourceRId);
Arguments
number resourceRId
Return type
ResourceBudget class
Example
ResourceBudget budget = ResourceBudget_getByResourceId(11088827);
Dictionary d = budget.LedgerEntries;
LedgerEntry l = d[3];
print(l.AccountNumber);//3
print(l.AccountName);//Revenue
print(l.Actual);//0
print(l.Budget);//2000