ResourceBudget getByResourceId

From Catglobe Wiki
Revision as of 04:57, 3 January 2018 by Nguyenduyan (talk | contribs) (Created page with "Category:Cost {{HelpFiles}} = ResourceBudget_getByResourceId = == Syntax == ResourceBudget_getByResourceId (number resourceRId); == Arguments == number ''resource...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



ResourceBudget_getByResourceId

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