gtFADisposal
This function creates a disposal transaction for a fixed asset.
Company
The company code the Fixed Asset belongs to.
Batch
The batch number the transaction is to be posted into. A new batch is created if this does not already exist.
BatchDescription
The description for the batch.
Reference
The transaction reference number. This must be unique or an error is returned.
Posting Date
The posting date for the transaction. This determines the financial period the adjustment is posted to.
AssetCode
The fixed asset code of the transaction.
SubCode
The fixed asset subcode of the transaction.
SellingPrice
The selling price of the asset being disposed of.
Percentage
The percentage of the asset being disposed of.
Quantity
The quantity of assets being disposed of. If this is not specified, Greentree Desktop calculates this using the disposal percentage.
Notes
Enter notes about the transaction if applicable.
Narration
Enter notes about the transaction if applicable.
Returns
- Not Updated - When there is no error.
- Updated - After the function has successfully been updated to Greentree.
- Error message - If an error is encountered.
Example
=gtFADisposal(01,1002,April Asset Disposals,5001,30/04/2004,5001,,5000,100,1,Scrapped,Sold to JH)
Errors Returned
- A FA Disposal with this reference already exists.
- The posting date is not valid.
- Could not find a Fixed Asset with asset code: <code> and subcode: <subcode>.
- The selling price cannot be zero.
- The percentage of asset sold must be greater than zero and less than one hundred.
- This batch is not a Fixed Asset disposal batch.