ERP 2.50:Developers Guide/Database Model/org.openbravo.model.common.uom/C UOM
ERP 2.50:Developers Guide/Database Model/org.openbravo.model.common.uom |
|
Contents |
C_UOM
Unit of Measure defines a non monetary Unit of Measure.
- Name:UOM
- Classname:UOM
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_UOM_ID | N | VARCHAR2(32) | A non monetary unit of measure. |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
Updated | N | DATE | x not implemented |
CreatedBy | N | VARCHAR2(32) | User who created this records |
UpdatedBy | N | VARCHAR2(32) | User who updated this records |
X12DE355 | N | CHAR(2) | UOM EDI Code |
UOMSymbol | Y | NCHAR(6) | An abbreviated description used to define a unit of measure or currency. |
Name | N | NVARCHAR2(60) | A non-unique identifier for a record/document often used as a search tool. |
Description | Y | NVARCHAR2(255) | A space to write additional related information. |
StdPrecision | N | NUMBER(10, 0) | Rule for rounding calculated amounts |
CostingPrecision | N | NUMBER(10, 0) | Rounding used costing calculations |
IsDefault | N | CHAR(1) | A value that is shown whenever a record is created. |
Breakdown | Y | CHAR(1) | To break down the line order on the shipment document |
Other Info
Check constraints
These are the check constraints for this table:
- C_UOM_BREAKDOWN_CHK: BREAKDOWN IN ('Y', 'N')
- C_UOM_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Non Unique
- C_UOM_X12
Unique
- C_UOM_KEY
- C_UOM_NAME
Columns
UOM
The UOM defines a unique non monetary unit of measure
- Physical column name: C_UOM_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_Org_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
EDI Code
The Unit of Measure Code indicates the EDI X12 Code Data Element 355 (Unit or Basis for Measurement)
- Physical column name: X12DE355
- Property Name: eDICode
- Reference: String
Symbol
The Symbol identifies the Symbol to be displayed and printed for a Unit of Measure
- Physical column name: UOMSymbol
- Property Name: symbol
- Reference: String
Name
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.
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: String
Standard Precision
The Standard Precision defines the number of decimal places that amounts will be rounded to for accounting transactions and documents.
- Physical column name: StdPrecision
- Property Name: standardPrecision
- Reference: Integer
Costing Precision
The Costing Precision defines the number of decimal places that amounts will be rounded to when performing costing calculations.
- Physical column name: CostingPrecision
- Property Name: costingPrecision
- Reference: Integer
Default
The Default Checkbox indicates if this record will be used as a default value.
- Physical column name: IsDefault
- Property Name: default
- Reference: YesNo
Breakdown
Indicates if the line order in that unit of mesaure has to be breaken down on the shipment document. E.g. If you order 8 rolls, the shipment document must show eight lines of 1 roll
- Physical column name: Breakdown
- Property Name: breakdown
- Reference: YesNo
Related tables
Tables that link this table:
- ApprovedVendor.UOM
- ClientInformation.UOM for Length
- ClientInformation.UOM for Time
- ClientInformation.UOM for Volume
- ClientInformation.UOM for Weight
- DataImportBudgetLine.UOM
- DataImportGLJournal.UOM
- DataImportOrder.UOM
- DataImportProduct.UOM
- ExpenseType.UOM
- FinancialMgmtAccountingFact.UOM
- FinancialMgmtBudgetLine.UOM
- FinancialMgmtGLJournalLine.UOM
- InvoiceLine.UOM
- ManufacturingGlobalUse.UOM
- ManufacturingOperationProduct.UOM
- ManufacturingProductionLine.UOM
- ManufacturingWorkRequirementProduct.UOM
- MaterialMgmtInternalConsumptionLine.UOM
- MaterialMgmtInternalMovementLine.UOM
- MaterialMgmtInventoryCountLine.UOM
- MaterialMgmtMaterialTransaction.UOM
- MaterialMgmtShipmentInOutLine.UOM
- MaterialMgmtStorageDetail.UOM
- MaterialMgmtStoragePending.UOM
- OrderLine.UOM
- OrderOpen.UOM
- ProcurementRequisitionLine.UOM
- Product.UOM
- ProductUOM.UOM
- ResourceType.UOM
- Test.UOM
- TimeAndExpenseSheetLine.UOM
- TimeAndExpenseSheetLineV.UOM
- UOMConversion.To UOM
- UOMConversion.UOM
- UOMTrl.UOM