ERP/3.0/Developers Guide/Database Model/org.openbravo.model.manufacturing.floorshop/MA Machine Cost
MA_Machine_Cost
- Name:MA_Machine_Cost
- Classname:ManufacturingMachineCost
This table contains the following columns:
Name | Nullable | Data Type | Description
|
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. |
Amortization | Yes | DECIMAL | Amortization amount in years. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Consume | Yes | DECIMAL | |
Cost | No | DECIMAL | Cost amount. |
Costuom | No | VARCHAR (60) | Unit of Measure for cost |
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. |
Improductivehoursyear | Yes | DECIMAL | Total no productive days per year. |
MA_Machine_ID | No | VARCHAR (32) | Indicates a machine of the enterprise. |
MA_Machine_Cost_ID | No | VARCHAR (32) | |
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. |
Purchaseamt | Yes | DECIMAL | Purchase amount. |
Toolsetamt | Yes | DECIMAL | Total amount of the toolsets. |
Costuomyear | Yes | DECIMAL | |
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. |
ValidFrom | No | TIMESTAMP (7) | The Valid From date indicates the first day of a date range |
Yearvalue | Yes | DECIMAL | |
Daysyear | Yes | DECIMAL | Working days per year. |
Dayhours | Yes | DECIMAL | Working hours per day |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Amortization
- Physical column name: Amortization
- Property Name: amortization
- Reference: Integer
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [1] Java Class.
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Consume
- Physical column name: Consume
- Property Name: consume
- Reference: Number
Cost
- Physical column name: Cost
- Property Name: cost
- Reference: Number
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [2] Java Class.
Cost UOM
- Physical column name: Costuom
- Property Name: costUOM
- Reference: List
List values: Cost Uom
The allowed values for this list are:
- K (per Kilogram)
- H (per Hour)
- U (per Produced Units)
- P (Percentage)
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
Idle Time/Year
- Physical column name: Improductivehoursyear
- Property Name: idleTimeYear
- Reference: Number
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [3] Java Class.
Machine
- Physical column name: MA_Machine_ID
- Property Name: machine
- Reference: TableDir
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to MA_Machine table, (column: MA_Machine_ID)
Machine Cost
- Physical column name: MA_Machine_Cost_ID
- Property Name: id
- Reference: ID
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Purchase Amount
- Physical column name: Purchaseamt
- Property Name: purchaseAmount
- Reference: Amount
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [4] Java Class.
Toolset Amount
- Physical column name: Toolsetamt
- Property Name: toolsetAmount
- Reference: Amount
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [5] Java Class.
UOM Annual Cost
- Physical column name: Costuomyear
- Property Name: uOMAnnualCost
- Reference: Number
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [6] Java Class.
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)
Valid from Date
- Physical column name: ValidFrom
- Property Name: validFromDate
- Reference: Date
- Default value: SYSDATE
- This column is part of the table's identifier
Value/Year
- Physical column name: Yearvalue
- Property Name: valueYear
- Reference: Amount
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [7] Java Class.
Work Days/Year
- Physical column name: Daysyear
- Property Name: workDaysYear
- Reference: Integer
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [8] Java Class.
Work Hours/Day
- Physical column name: Dayhours
- Property Name: workHoursDay
- Reference: Number
Callout: SL_MachineCost
This column has a callout associated.
It is implemented by [9] Java Class.
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- MA_MACHINECOST_MACHINE_IDX Not Unique. Columns:
- MA_MACHINE_ID
Check Constraints
These are the check constraints for this table:
- MA_MACHINE_COST_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')