View source | Discuss this page | Page history | Printable version   

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.manufacturing.maintenance/MA Maint Scheduled

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.manufacturing.maintenance

Index

Contents

MA_Maint_Scheduled

Scheduled maintenances. Here there are all the maintenances done in the application, those generated by the maintenance periodicity or manually inserted.

This table contains the following columns:

Name Nullable Data Type Description
MA_Maint_Scheduled_ID NVARCHAR2(32)null
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_Maintenance_ID YVARCHAR2(32)The act of ensuring the proper working order for a specified item.
MA_Maint_Part_ID YVARCHAR2(32)A distinct characteristic of a machine used for processes and sometimes grouped within a category.
MA_Machine_ID YVARCHAR2(32)A tool use to aid in or fully complete a task.
MA_Machine_Type_ID YVARCHAR2(32)A distinct machine characteristic used for processes.
Maintenance_Type NVARCHAR2(60)A set of maintenances which can be performed on a machine.
Scheduleddate YDATEnull
Confirmed NCHAR(1)An indication that an action is accepted and will be completed as planned.
Shift YVARCHAR2(60)A partition of the workday into intervals.
Result NCHAR(1)x not implemented
Observation YNVARCHAR2(255)A space to write additional related information.
Usedtime YNUMBERnull
Description YNVARCHAR2(255)A space to write additional related information.
MA_Maint_Operation_ID YVARCHAR2(32)A description to help explain a specified maintenance task.
M_Internal_Consumption_ID YVARCHAR2(32)An indication that an item will not be sold, but rather used internally.

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

Scheduled Maintenance

Identifies a scheduled maintenance.

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

Maintenance

Foreign key column to MA_Maintenance table, (column: MA_Maintenance_ID)

Callout: SL_ScheduledMaintenance_Maintenance

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_ScheduledMaintenance_Maintenance Java class.

top

Maintenance Order

Foreign key column to MA_Maint_Part table, (column: MA_Maint_Part_ID)

top

Machine

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


Validation Rule MA_Scheduled_Maintenance MachineType: null. With the following code:

 
COALESCE(MA_Machine.MA_Machine_Type_ID,'-1') = COALESCE(@MA_Machine_Type_ID@, COALESCE(MA_Machine.MA_Machine_Type_ID,'-1'))

top

Machine Category

Foreign key column to MA_Machine_Type table, (column: MA_Machine_Type_ID)

top

Maintenance Type

Sets the maintenance type, available options are corrective, corrective (urgent) and preventive.

List values: Maintenance type

The allowed values for this list are:

top

Planned Date

Scheduled date.

top

Confirmation

Indicates that the maintenance schedule has been confirmed.

top

Shift

Indicates the shift when the group is going to be measured. Available options are morning and swing shift

List values: Shift

The allowed values for this list are:

top

Result

The Result indicates the result of any action taken on this request.

top

Comments

Observations occurred during the process or operation.

top

Time Used

Used time in hours.

top

Description

A description is limited to 255 characters.

top

Maintenance Task

Foreign key column to MA_Maint_Operation table, (column: MA_Maint_Operation_ID)

top

Internal Consumption

Foreign key column to M_Internal_Consumption table, (column: M_Internal_Consumption_ID)

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Database_Model/org.openbravo.model.manufacturing.maintenance/MA_Maint_Scheduled"

This page has been accessed 2,435 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.