ERP/3.0/Developers Guide/Database Model/org.openbravo.model.manufacturing.transaction/MA WRPhase
MA_WRPhase
- Name:MA_WRPhase
- Classname:ManufacturingWorkRequirementOperation
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. |
MA_Process_ID | No | VARCHAR (32) | Indicates a manufacturing process of the enterprise. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Closed | No | CHAR (1) | Indicates if the work requirement phase has been completely done. |
Donequantity | No | DECIMAL | Indicates the number of times that the work requirement phase has been allready processed. |
CostCenterUse | No | DECIMAL | The duration of this sequence in hours. |
Usedmaterial | No | CHAR (1) | Process to generate standards on production run. |
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. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
Noqty | No | CHAR (1) | When creating a production run, by running the "generating standards" process required input and output product quantities are automatically filled in as specified in the work requirement phases. If this is checked, the quantities will not be filled in and will be set to zero. |
Enddate | Yes | TIMESTAMP (7) | The End Date indicates the last date in this range. |
Estimatedtime | No | DECIMAL | Estimated time for the operation |
Groupuse | No | CHAR (1) | Each work effort can have several production runs. You can use (consume) the same product in several ones. If you prefer having the total usage products (grouoped by product) for all production runs in Global Use tab, check this box. |
MA_Sequence_ID | Yes | VARCHAR (32) | The sequence relates the operations with the process plan. |
Name | Yes | 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. |
Outsourced | Yes | CHAR (1) | Indicates that the correspondent process is being outsourced for the sequence, work requirement phase or production run. |
Preptime | Yes | DECIMAL | Preparation time needed in hours. |
Quantity | No | DECIMAL | Indicates the quantity of product needed to process one time the sequence. |
Runtime | No | DECIMAL | Operation run time |
SeqNo | No | DECIMAL (10,0) | The Sequence indicates the order of records |
Startdate | Yes | TIMESTAMP (7) | A parameter stating when a specified request will begin. |
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. |
MA_Wrphase_ID | No | VARCHAR (32) | Indicates a Work Requirement Phase. |
MA_Workrequirement_ID | No | VARCHAR (32) | Indicates a work requirement. |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Activity
- Physical column name: MA_Process_ID
- Property Name: activity
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to MA_Process table, (column: MA_Process_ID)
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Closed
- Physical column name: Closed
- Property Name: closed
- Reference: Button
- Default value: N
Completed Quantity
- Physical column name: Donequantity
- Property Name: completedQuantity
- Reference: Quantity
Cost Center Use Time
- Physical column name: CostCenterUse
- Property Name: costCenterUseTime
- Reference: Number
Create Standards
- Physical column name: Usedmaterial
- Property Name: createStandards
- Reference: YesNo
- Default value: N
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
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
Empty Cells are Zero
- Physical column name: Noqty
- Property Name: emptyCellsAreZero
- Reference: YesNo
- Default value: N
Ending Date
- Physical column name: Enddate
- Property Name: endingDate
- Reference: Date
Estimated Time
- Physical column name: Estimatedtime
- Property Name: estimatedTime
- Reference: Number
- Default value: 0
Global Use
- Physical column name: Groupuse
- Property Name: globalUse
- Reference: YesNo
- Default value: N
MA Sequence
- Physical column name: MA_Sequence_ID
- Property Name: mASequence
- Reference: TableDir
Foreign key column to MA_Sequence table, (column: MA_Sequence_ID)
It has a validation "MA_Sequence in process plan", with the following code
MA_Sequence.MA_Processplan_Version_ID IN (SELECT MA_Processplan_Version_ID FROM MA_Processplan_Version WHERE MA_Processplan_Id=@MA_Processplan_ID@ AND datefrom <= TO_DATE(@Launchdate@) and dateto>TO_DATE(@Launchdate@))
Callout: SL_WRPhase_Sequence
This column has a callout associated.
It is implemented by [1] Java Class.
Name
- Physical column name: Name
- Property Name: name
- Reference: String
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Outsourced
- Physical column name: Outsourced
- Property Name: outsourced
- Reference: YesNo
Preparation Time
- Physical column name: Preptime
- Property Name: preparationTime
- Reference: Quantity
Quantity
- Physical column name: Quantity
- Property Name: quantity
- Reference: Quantity
Run Time
- Physical column name: Runtime
- Property Name: runTime
- Reference: Number
- Default value: 0
Sequence Number
- Physical column name: SeqNo
- Property Name: sequenceNumber
- Reference: Integer
- This column is part of the table's identifier
Starting Date
- Physical column name: Startdate
- Property Name: startingDate
- Reference: Date
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)
WR Phase
- Physical column name: MA_Wrphase_ID
- Property Name: id
- Reference: ID
Work Requirement
- Physical column name: MA_Workrequirement_ID
- Property Name: workRequirement
- Reference: Search
- 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_WorkRequirement table, (column: MA_Workrequirement_ID)
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_WRPHASE_WORKREQUIREMENT Not Unique. Columns:
- MA_WORKREQUIREMENT_ID
Check Constraints
These are the check constraints for this table:
- MA_WRPHASE_CLOSED_CHECK: CLOSED IN ('Y', 'N')
- MA_WRPHASE_GROUPUSE_CHECK: GROUPUSE IN ('Y', 'N')
- MA_WRPHASE_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- MA_WRPHASE_NOQTY_CHECK: NOQTY IN ('Y', 'N')
- MA_WRPHASE_OUTSOURCED_CHECK: OUTSOURCED IN ('Y', 'N')
- MA_WRPHASE_USEDMATERIAL_CHECK: USEDMATERIAL IN ('Y', 'N')