ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.assetmgmt/A Asset
A_Asset
- Name:A_Asset
- Classname:FinancialMgmtAsset
This table contains the following columns:
Name | Nullable | Data Type | Description
|
Acctvalueamt | Yes | DECIMAL | Accounting value amount |
IsActive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
Assetschedule | No | VARCHAR (60) | Refers to the periods chosen between depreciation entries (monthly, yearly...). |
Annualamortizationpercentage | Yes | DECIMAL | Anual percentage used to depreciate this asset. |
A_Asset_ID | No | VARCHAR (32) | Any item of economic value owned by the corporation, especially that which could be converted to cash. |
A_Asset_Group_ID | No | VARCHAR (32) | The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset. |
AssetDepreciationDate | Yes | TIMESTAMP (7) | Date of the last deprecation, if the asset is used internally and depreciated. |
AssetDisposalDate | Yes | TIMESTAMP (7) | Date when the asset is/was disposed |
AssetValueAmt | Yes | DECIMAL | Book Value of the asset |
M_AttributeSetInstance_ID | Yes | VARCHAR (32) | The values of the actual Product Attributes |
C_BPartner_ID | Yes | VARCHAR (32) | A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these. |
Amortizationcalctype | No | VARCHAR (60) | This field indicates how depreciation will be calculated: choosing the time or the percentage. |
Datecancelled | Yes | TIMESTAMP (7) | Cancellation date |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
C_Currency_ID | Yes | VARCHAR (32) | Indicates the currency to be used when processing this document. |
IsDepreciated | No | CHAR (1) | The asset is used internally and will be depreciated |
Depreciatedplan | Yes | DECIMAL | Value that is planned to be depreciated. |
Depreciatedvalue | Yes | DECIMAL | Is the value depreciated from processed amortizations. |
Amortizationvalueamt | Yes | DECIMAL | Accumulate depreciation amount |
Amortizationenddate | Yes | TIMESTAMP (7) | Date in which this asset ends depreciating |
Amortizationstartdate | Yes | TIMESTAMP (7) | Date in which this asset starts depreciating |
Amortizationtype | No | VARCHAR (60) | Indicates the method used to depreciate this asset. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
IsDisposed | No | CHAR (1) | The asset is no longer used and disposed |
DocumentNo | Yes | NVARCHAR (30) | The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order). |
Is30DayMonth | No | CHAR (1) | When calculating the amortization plan every month will be considered as a 30 day month. |
GuaranteeDate | Yes | TIMESTAMP (7) | Date when the normal guarantee or availability expires |
IsFullyDepreciated | No | CHAR (1) | The asset costs are fully amortized. |
Help | Yes | NVARCHAR (2000) | The Help field contains a hint, comment or help about the use of this item. |
IsInPosession | No | CHAR (1) | Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company. |
AssetServiceDate | Yes | TIMESTAMP (7) | The date when the asset was put into service - usually used as start date for depreciation. |
LifeUseUnits | Yes | DECIMAL | Life use and the actual use may be used to calculate the depreciation |
C_Location_ID | Yes | VARCHAR (32) | The Location / Address field defines the location of an entity. |
LocationComment | Yes | NVARCHAR (255) | Additional comments or remarks concerning the location |
Lot | Yes | VARCHAR (20) | The Lot Number indicates the specific lot that a product was part of. |
Name | No | NVARCHAR (60) | A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length. |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
IsOwned | No | CHAR (1) | The asset may not be in possession, but the asset is legally owned by the organization |
C_BPartner_Location_ID | Yes | VARCHAR (32) | The Partner address indicates the location of a Business Partner |
Depreciatedpreviousamt | Yes | DECIMAL | |
Processing | Yes | CHAR (1) | When this field is set as 'Y' a process is being performed on this record. |
Process_Asset | No | VARCHAR (60) | The Processed checkbox indicates that a document has been processed. |
Processed | No | VARCHAR (60) | The Processed checkbox indicates that a document has been processed. |
M_Product_ID | Yes | VARCHAR (32) | Identifies an item which is either purchased or sold in this organization. |
Profit | Yes | DECIMAL | |
C_Project_ID | Yes | VARCHAR (32) | Identifier of a project defined within the Project & Service Management module. |
Datepurchased | Yes | TIMESTAMP (7) | Date when this good was bougth. |
Qty | Yes | DECIMAL | The Quantity indicates the number of a specific product or item for this document. |
Residualassetvalueamt | Yes | DECIMAL | Value of the asset once it has been totally depreciated. |
Value | No | NVARCHAR (40) | A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
Usually, company's internal identifiers for various records (products, customers, etc) are stored here. |
SerNo | Yes | VARCHAR (20) | The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1. |
IsStatic | No | CHAR (1) | Prevents from moving the record into the tree |
M_Locator_ID | Yes | VARCHAR (32) | The Locator ID indicates where in a Warehouse a product is located. |
Issummary | No | CHAR (1) | A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
UseLifeMonths | Yes | DECIMAL (10,0) | Months of the usable life of the asset |
UseLifeYears | Yes | DECIMAL (10,0) | Years of the usable life of the asset |
UseUnits | Yes | DECIMAL | Currently used units of the assets |
AD_User_ID | Yes | VARCHAR (32) | The User identifies a unique user in the system. This could be an internal user or a business partner contact |
VersionNo | Yes | VARCHAR (20) | Version Number |
Columns
Acctvalueamt
- Physical column name: Acctvalueamt
- Property Name: acctvalueamt
- Reference: Number
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Amortize
- Physical column name: Assetschedule
- Property Name: amortize
- Reference: List
List values: Amortization schedule
The allowed values for this list are:
- YE (Yearly)
- MO (Monthly)
Annual Depreciation %
- Physical column name: Annualamortizationpercentage
- Property Name: annualDepreciation
- Reference: Number
Asset
- Physical column name: A_Asset_ID
- Property Name: id
- Reference: ID
Asset Category
- Physical column name: A_Asset_Group_ID
- Property Name: assetCategory
- Reference: TableDir
Foreign key column to A_Asset_Group table, (column: A_Asset_Group_ID)
Callout: SL_Depreciate
This column has a callout associated.
It is implemented by [1] Java Class.
Asset Depreciation Date
- Physical column name: AssetDepreciationDate
- Property Name: assetDepreciationDate
- Reference: Date
Asset Disposal Date
- Physical column name: AssetDisposalDate
- Property Name: assetDisposalDate
- Reference: Date
Asset Value
- Physical column name: AssetValueAmt
- Property Name: assetValue
- Reference: Amount
Callout: SL_Assets
This column has a callout associated.
It is implemented by [2] Java Class.
Attribute Set Value
- Physical column name: M_AttributeSetInstance_ID
- Property Name: attributeSetValue
- Reference: PAttribute
Foreign key column to M_AttributeSetInstance table, (column: M_AttributeSetInstance_ID)
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
- This column is a child for a business object (is Parent)
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Calculate Type
- Physical column name: Amortizationcalctype
- Property Name: calculateType
- Reference: List
List values: AmortizationCalcType
The allowed values for this list are:
- PE (Percentage)
- TI (Time)
Cancellation Date
- Physical column name: Datecancelled
- Property Name: cancellationDate
- Reference: Date
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Depreciate
- Physical column name: IsDepreciated
- Property Name: depreciate
- Reference: YesNo
- Default value: Y
Depreciated Plan
- Physical column name: Depreciatedplan
- Property Name: depreciatedPlan
- Reference: Amount
Depreciated Value
- Physical column name: Depreciatedvalue
- Property Name: depreciatedValue
- Reference: Amount
Depreciation Amt.
- Physical column name: Amortizationvalueamt
- Property Name: depreciationAmt
- Reference: Amount
Callout: SL_Assets
This column has a callout associated.
It is implemented by [3] Java Class.
Depreciation End Date
- Physical column name: Amortizationenddate
- Property Name: depreciationEndDate
- Reference: Date
Depreciation Start Date
- Physical column name: Amortizationstartdate
- Property Name: depreciationStartDate
- Reference: Date
Depreciation Type
- Physical column name: Amortizationtype
- Property Name: depreciationType
- Reference: List
List values: Amortization type
The allowed values for this list are:
- LI (Linear)
Description
- Physical column name: Description
- Property Name: description
- Reference: String
Disposed
- Physical column name: IsDisposed
- Property Name: disposed
- Reference: YesNo
- Default value: N
Document No.
- Physical column name: DocumentNo
- Property Name: documentNo
- Reference: String
Every Month is 30 Days
- Physical column name: Is30DayMonth
- Property Name: everyMonthIs30Days
- Reference: YesNo
- Default value: Y
Expiration Date
- Physical column name: GuaranteeDate
- Property Name: expirationDate
- Reference: Date
Fully Depreciated
- Physical column name: IsFullyDepreciated
- Property Name: fullyDepreciated
- Reference: YesNo
- Default value: N
Help/Comment
- Physical column name: Help
- Property Name: helpComment
- Reference: Text
In Possession
- Physical column name: IsInPosession
- Property Name: inPossession
- Reference: YesNo
- Default value: Y
In Service Date
- Physical column name: AssetServiceDate
- Property Name: inServiceDate
- Reference: Date
Life use
- Physical column name: LifeUseUnits
- Property Name: lifeUse
- Reference: Integer
Location / Address
- Physical column name: C_Location_ID
- Property Name: locationAddress
- Reference: Search
Foreign key column to C_Location table, (column: C_Location_ID)
Location comment
- Physical column name: LocationComment
- Property Name: locationComment
- Reference: String
Lot Name
- Physical column name: Lot
- Property Name: lotName
- Reference: String
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Owned
- Physical column name: IsOwned
- Property Name: owned
- Reference: YesNo
- Default value: Y
Partner Address
- Physical column name: C_BPartner_Location_ID
- Property Name: partnerAddress
- Reference: TableDir
Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID)
It has a validation "C_BPartner Location", with the following code
C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@
Previously Depreciated Amt.
- Physical column name: Depreciatedpreviousamt
- Property Name: previouslyDepreciatedAmt
- Reference: Amount
- Default value: 0
Process Now
- Physical column name: Processing
- Property Name: processNow
- Reference: Button
Process_Asset
- Physical column name: Process_Asset
- Property Name: processAsset
- Reference: List
- Default value: N
List values: Create/recalculate amortization
The allowed values for this list are:
- N (Create Amortization)
- Y (Recalculate Amortization)
Processed
- Physical column name: Processed
- Property Name: processed
- Reference: List
- Default value: N
List values: Create/recalculate amortization
The allowed values for this list are:
- N (Create Amortization)
- Y (Recalculate Amortization)
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
Foreign key column to M_Product table, (column: M_Product_ID)
Callout: SL_Asset_Product
This column has a callout associated.
It is implemented by [4] Java Class.
Profit
- Physical column name: Profit
- Property Name: profit
- Reference: Number
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: Search
Foreign key column to C_Project table, (column: C_Project_ID)
Purchase Date
- Physical column name: Datepurchased
- Property Name: purchaseDate
- Reference: Date
Quantity
- Physical column name: Qty
- Property Name: quantity
- Reference: Quantity
Residual Asset Value
- Physical column name: Residualassetvalueamt
- Property Name: residualAssetValue
- Reference: Amount
Callout: SL_Assets
This column has a callout associated.
It is implemented by [5] Java Class.
Search Key
- Physical column name: Value
- Property Name: searchKey
- Reference: String
Serial No.
- Physical column name: SerNo
- Property Name: serialNo
- Reference: String
Static
- Physical column name: IsStatic
- Property Name: static
- Reference: YesNo
- Default value: N
Storage Bin
- Physical column name: M_Locator_ID
- Property Name: storageBin
- Reference: TableDir
Foreign key column to M_Locator table, (column: M_Locator_ID)
Summary Level
- Physical column name: Issummary
- Property Name: summaryLevel
- Reference: YesNo
- Default value: N
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Usable Life - Months
- Physical column name: UseLifeMonths
- Property Name: usableLifeMonths
- Reference: Integer
Usable Life - Years
- Physical column name: UseLifeYears
- Property Name: usableLifeYears
- Reference: Integer
Use units
- Physical column name: UseUnits
- Property Name: useUnits
- Reference: Integer
User/Contact
- Physical column name: AD_User_ID
- Property Name: userContact
- Reference: TableDir
Foreign key column to AD_User table, (column: AD_User_ID)
It has a validation "AD_User C_BPartner User/Contacts", with the following code
AD_User.C_BPartner_ID=@C_BPartner_ID@
Version No.
- Physical column name: VersionNo
- Property Name: versionNo
- Reference: String
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- A_ASSET_BPARTNER_IDX Not Unique. Columns:
- C_BPARTNER_ID
Check Constraints
These are the check constraints for this table:
- A_ASSET_IS30DAYMONTH_CHK: IS30DAYMONTH IN ('Y', 'N')
- A_ASSET_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- A_ASSET_ISDISPOSED_CHK: ISDISPOSED IN ('Y', 'N')
- A_ASSET_ISINPOSESSION_CHK: ISINPOSESSION IN ('Y', 'N')
- A_ASSET_ISOWNED_CHK: ISOWNED IN ('Y', 'N')
- A_ASSET_ISSTATIC_CHK: ISSTATIC IN ('Y', 'N')
- A_ASSET_ISSUMMARY_CHK: ISSUMMARY IN ('Y', 'N')