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

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



In this table are stored all the maintenance parts.

This table contains the following columns:

Name Nullable Data Type Description
MA_Maint_Part_ID NVARCHAR2(32)A distinct characteristic of a machine used for processes and sometimes grouped within a category.
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
DocumentNo NNVARCHAR2(30)An often automatically generated identifier for all documents.
Partdate NDATEnull
Shift NVARCHAR2(60)A partition of the workday into intervals.
CreateMaint YCHAR(1)Process which will insert scheduled maintenances on the part.

Other Info

Check constraints

These are the check constraints for this table:



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




Maintenance Order

Identifies a maintenance part.



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



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



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.


Creation Date

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


Created By

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



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


Updated By

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


Document No.

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).


Maintenance Order Date

Date of the part.



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:


Insert Maintenances


Related tables

Tables that link this table:


Retrieved from ""

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