ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.enterprise/M Locator
M_Locator
- Name:M_Locator
- Classname:Locator
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. |
Barcode | Yes | VARCHAR (30) | Barcode to identify this item. |
Change_Status | No | CHAR (1) | |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
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. |
IsDefault | No | CHAR (1) | The Default Checkbox indicates if this record will be used as a default value. |
M_InventoryStatus_ID | No | VARCHAR (32) | The inventory status refers to the condition of a specific inventory (such as AVAILABLE, RETURN, DEFECT, TRANSIT) that is stored in a specific organization, warehouse and bin and for a product with a specific lot/serial and quantity. The inventory status can allow or disallow certain business processes. |
Isvirtual | No | CHAR (1) | |
Z | No | NVARCHAR (60) | The Z dimension indicates the Level a product is located in. |
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. |
Parent_Locator_ID | Yes | VARCHAR (32) | |
PriorityNo | No | DECIMAL (10,0) | The Relative Priority indicates the location to pick from first if an product is stored in more than one location. (0 = highest priority) |
X | No | NVARCHAR (60) | The X dimension indicates the Aisle a product is located in. |
Value | No | NVARCHAR (40) | A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
Usually, company's internal identifiers for various records (products, customers, etc) are stored here. |
Y | No | NVARCHAR (60) | The Y dimension indicates the Bin a product is located in |
M_Locator_ID | No | VARCHAR (32) | The Locator ID indicates where in a Warehouse a product is located. |
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. |
M_Warehouse_ID | No | VARCHAR (32) | The Warehouse identifies a unique Warehouse where products are stored or Services are provided. |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Callout: SE_Locator_Activate
This column has a callout associated.
It is implemented by [1] Java Class.
Barcode
- Physical column name: Barcode
- Property Name: barcode
- Reference: String
Change_Status
- Physical column name: Change_Status
- Property Name: changeStatus
- Reference: Button
- Default value: N
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Security validation", with the following code
AD_Client.AD_Client_ID in (@#User_Client@)
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
Default
- Physical column name: IsDefault
- Property Name: default
- Reference: YesNo
- Default value: N
Inventory Status
- Physical column name: M_InventoryStatus_ID
- Property Name: inventoryStatus
- Reference: OBUISEL_Selector Reference
- Default value: 7B3DC15A20234C418D26EECDC5D59003
Foreign key column to M_InventoryStatus table, (column: M_Inventorystatus_ID)
Isvirtual
- Physical column name: Isvirtual
- Property Name: isvirtual
- Reference: YesNo
- Default value: N
Level (Z)
- Physical column name: Z
- Property Name: levelZ
- 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)
Parent_Locator_ID
- Physical column name: Parent_Locator_ID
- Property Name: parentLocator
- Reference: Search
Foreign key column to M_Locator table, (column: M_Locator_ID)
Relative Priority
- Physical column name: PriorityNo
- Property Name: relativePriority
- Reference: Integer
Row (X)
- Physical column name: X
- Property Name: rowX
- Reference: String
Search Key
- Physical column name: Value
- Property Name: searchKey
- Reference: String
- This column is part of the table's identifier
Stack (Y)
- Physical column name: Y
- Property Name: stackY
- Reference: String
Storage Bin
- Physical column name: M_Locator_ID
- Property Name: id
- Reference: ID
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)
Warehouse
- Physical column name: M_Warehouse_ID
- Property Name: warehouse
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to M_Warehouse table, (column: M_Warehouse_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):
- M_LOCATION_WHERE_NO_PARENT Unique. Columns:
- M_WAREHOUSE_ID
- X
- Y
- Z
- M_INVENTORYSTATUS_ID
- M_LOCATION_WHERE_WITH_PARENT Unique. Columns:
- M_WAREHOUSE_ID
- X
- Y
- Z
- M_INVENTORYSTATUS_ID
- PARENT_LOCATOR_ID
- M_LOCATOR_BARCODE_IDX Not Unique. Columns:
- BARCODE
- M_LOCATOR_INVS Not Unique. Columns:
- M_INVENTORYSTATUS_ID
- M_LOCATOR_ISVIRTUAL Not Unique. Columns:
- ISVIRTUAL
- M_LOCATOR_PARENT Not Unique. Columns:
- PARENT_LOCATOR_ID
Check Constraints
These are the check constraints for this table:
- M_LOCATOR_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- M_LOCATOR_ISVIRTUAL_CHECK: ISACTIVE IN ('Y', 'N')
- M_LOCATOR_VIRTUAL_EMPTY_CHECK: ISVIRTUAL = 'Y' AND PARENT_LOCATOR_ID IS NOT NULL OR ISVIRTUAL = 'N' AND PARENT_LOCATOR_ID IS NULL