gtFAOpeningBalance
This function provides the opening balance information for a Fixed Asset, which can be used to supplement the function gtFAMasterMain if you must set up or update additional parameters to Greentree.
Company
The company code that the fixed asset belongs to.
Code
This is the code of the fixed asset that is to be updated with opening balances.
SubCode
This is the fixed asset subcode.
InstallDate
This is the date the opening balance takes effect from. The date must be in format dd/mm/yyyy.
Quantity
The number of assets the opening balance amount relates to.
TaxCost
This is the cost of the fixed asset for tax purposes to use at installation date.
AccgCost
This is the cost of the fixed asset for accounting purposes to use at installation date.
TaxAccumDepn
The accumulated depreciation for tax purposes.
AccAccumDepn
The accumulated depreciation for accounting purposes.
AccAccumReval
This is the sum of the accumulated revaluations for a fixed asset.
AccAccumWOff
This is sum of accumulated write offs against a fixed asset for accounting purposes.
TaxAccumOffset
This is sum of accumulated offsets against a fixed asset for taxation purposes.
AccAccumOffset
This is sum of accumulated offsets against a fixed asset for accounting purposes.
Returns
- Not Updated - if no error is encountered
- Updated - after running Greentree Desktop update function
- Error message - if an error is encountered
Example
gtFAOpeningBalance(01,1001,0,01/01/2002,1,10000,10000)
Errors Returned
- Must have a Company identifier
- Must have a Fixed Asset Code
- Must have a Fixed Asset Sub Code
- Install Date must be in format dd/mm/yyyy
- Quantity must be numeric or omitted
- TaxCost must be numeric or omitted
- AccgCost must be numeric or omitted
- TaxAccumDepn must be numeric or omitted
- AccAccumDepn must be numeric or omitted
- AccAccumReval must be numeric or omitted
- AccAccumWOff must be numeric or omitted
- TaxAccumOffset must be numeric or omitted
- AccAccumOffset must be numeric or omitted