<< Click to Display Table of Contents >> Navigation: PaXcel - functions > GL Functions > GLFinBudgetHist() |
GLFinBudgetHist( Company, FinancialCategory, Period, YearNo )
This function will return the historical budget balances using Pastel's Financial Category.
The arguments are as follows:
Company: This is the path to your Pastel directory. For example: c:\PastelData\_demo would enable you to retrieve information from the Pastel Partner demo company.
FinancialCategory: This is the financial category code as stored by Pastel
Code Description B05 Unallocated Balance Sheet B10 Share Capital B15 Retained Income B20 Shareholder's loans B25 Long term borrowings B30 Other long term liabilities B35 Fixed assets B40 Investments B45 Other fixed assets B50 Inventory B55 Accounts receivable |
Code Description B60 Bank B65 Other current assets B70 Accounts payable B75 Taxation B80 Other current liabilities I05 Unallocated Income Statement I10 Sales I15 Cost of Sales I20 Other Income I25 Expenses I30 Tax I35 Dividends |
Period: This is either a number from 1 – 13 or a keyword combination for Year to Date
i.e Year to Date x (where x is the period).
YearNo: Pastel has 5 years of budget figures stored in the new table, however years 1 and 2 are actually kept with in the master table, to retrieve these you should use the GLFinBudget() function.
Return the total budget of fixed assets for Year 3 to period 12
GLFinBudgetHist(C1, "B35", "Year to Date 12", 3 )
Return the total budget of fixed assets for Year 4 to period 5 GLFinBudget(C1, "B35", "Year to Date 5", 4) |