View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/2.50/Developers Guide/Database Model/org.openbravo.model.manufacturing.floorshop/MA Machinestation

Contents

MA_Machinestation

In this table are assigned to each station the correspondent machines.

This table contains the following columns:

Name Nullable Data Type Description
MA_Machinestation_ID NVARCHAR2(32)Machine Station
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
Createdby NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
Updatedby NVARCHAR2(32)User who updated this records
MA_Machine_ID NVARCHAR2(32)A tool use to aid in or fully complete a task.
MA_Workstation_ID NVARCHAR2(32)A defined production area made up of resources such as machines and human labor.

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

These are the indexes for this table (for each index there is a list of all the columns included within it):

Unique

top

Columns

Machine Station

Machine Station

top

Client

Foreign key column to AD_Client table, (column: AD_Client_ID)

top

Organization

Foreign key column to AD_Org table, (column: AD_Org_ID)

top

Active

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.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Machine

Foreign key column to MA_Machine table, (column: MA_Machine_ID)


Validation Rule MA_Machine not included: Only lets choose machines not inlcuded on the table.. With the following code:

 
NOT EXISTS (SELECT 1 FROM MA_MachineStation ms WHERE ms.MA_WorkStation_ID = @MA_WorkStation_ID@ AND ms.MA_Machine_ID = MA_Machine.MA_Machine_ID )

top

Work Center

Foreign key column to MA_Workstation table, (column: MA_Workstation_ID)

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Database_Model/org.openbravo.model.manufacturing.floorshop/MA_Machinestation"

This page has been accessed 708 times. This page was last modified on 2 July 2011, at 21:01. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.