This component runs the Asset Records (FAS) function.
Methods
- Amend
- Driver Type: SASI
- Use this method to amend one or more assets. If an asset does not exist, an error
message is produced and the payload is rejected.
- BulkCreateOrAmend
- Driver Type: DJI
- Use this method for the bulk loading of assets, or the bulk amendment of assets, or
where performance is critical.
-
Note: This method does not support
all functionality. There is no validation for the Reduction fields, or for the
Advanced Depreciation fields, apart from the account codes
AdvancedDepreciationAccountBalanceSheet and AdvancedDepreciationAccountProfitLoss. If
you want to create or amend an Asset record that includes these settings, then you
must use CreateOrAmend, because using BulkCreateOrAmend may result in invalid data.
The Advanced Depreciation settings for the Base, Transaction and Reporting properties
are enabled if the Advanced Depreciation is defined on the Ledger Setup record.
- Closed
- Driver Type: SASI
- Use this method to change the status of one or more assets to Closed.
- Create
- Driver Type: SASI
- Use this method to create one or more assets. If an asset already exists, an error
message is produced and the payload is rejected.
- CreateAsDraft
- Driver Type: SASI
- Use this method to create one or more draft assets.
- CreateOrAmend
- Driver Type: SASI
- Use this method to create or amend one or more assets. An asset is
created if it does not exist and amended if it does. Both the Create and Amend methods
require you to know in advance if the asset exists, whereas this method can be used if
you are unsure.
Note: The payload values are applied once assets
are amended or created. Users can override the Asset Class Code settings by supplying
a new value in the payload.
- Delete
- Driver Type: SASI
- Use this method to delete one or more assets.
- DeleteChildData
- Driver Type: SASI
- This method deletes child data (Notes and/or Posting Presets) but retains the parent
record (Asset).
- Hidden
- Driver Type: SASI
- Use this method to change the status of one or more assets to Hidden.
- Open
- Driver Type: SASI
- Use this method to change the status of one or more assets to Open.
- Query
- Driver Type: Export
- You can use this method to obtain asset details or to extract asset data from SunSystems.
- SuspendedHeld
- Driver Type: SASI
- Use this method to change the status of one or more assets to Suspended/Held.
Mandatory fields
- When creating or amending Assets, a value must be supplied for the Asset Code - payload
element
<AssetCode>
.
- When creating or amending Asset Analysis entries, a value must be supplied for the
Analysis Code - payload element
<VAssetCatAnalysis_AnlCode>
.
- When creating or amending Asset Preset entries, a value must be supplied for the Preset
Asset Sub Code - payload element
<AssetPresets.DepPset_AssetSubCode>
.
- When creating or amending Asset Notes, a value must be supplied for the Analysis Notes -
payload element
<Note.AssetNoteCode>
.
Deleting child data
- When deleting child data, a value must be supplied for the Asset Code - payload element
<AssetCode>
.
- When deleting AssetNotes child data, a value must be supplied for the Analysis Notes -
payload element
<Note.AssetNoteCode>
.
- When deleting AssetPosting child data, if it is not blank, then a value must be supplied
for the Preset Asset Sub Code - payload element
<AssetPresets.DepPset_AssetSubCode>
.
Note: At runtime the component
validates the payload contents to ensure that the values supplied are correct. Various
combinations of values may require other elements in the payload to be specified before the
payload can be processed successfully.
Related data
- Note
- Asset Analysis 1-10
- Asset Presets.