ERP 2.50:Developers Guide/Database Model/org.openbravo.model.common.plm/M AttributeSetInstance
Contents |
M_AttributeSetInstance
Values for a individual instance of attributes
- Name:AttributeSetInstance
- Classname:AttributeSetInstance
This table contains the following columns:
Name | Nullable | Data Type | Description |
M_AttributeSetInstance_ID | N | VARCHAR2(32) | An attribute associated with a product as part of an attribute set. |
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. |
CreatedBy | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
UpdatedBy | N | VARCHAR2(32) | User who updated this records |
M_AttributeSet_ID | N | VARCHAR2(32) | A group of attributes which are assigned to a selected product. |
SerNo | Y | NVARCHAR2(20) | An attribute used as a unique identifier for a product. |
Lot | Y | NVARCHAR2(20) | A group of identical or similar items organized and placed into inventory under one number. |
GuaranteeDate | Y | DATE | The date upon which an item is guaranteed to be of good quality. |
Description | Y | NVARCHAR2(255) | A space to write additional related information. |
M_Lot_ID | Y | VARCHAR2(32) | A group of identical or similar items organized and placed into inventory under one number. |
Islocked | Y | CHAR(1) | null |
Lock_Description | Y | NVARCHAR2(255) | null |
Other Info
Check constraints
These are the check constraints for this table:
- M_ATTRIBUTESETINSTANCE_ISA_CHK: ISACTIVE IN ('Y', 'N')
- M_ATTRIBUTESETINSTANCE_ISL_CHK: ISLOCKED 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):
Unique
- M_ATTRIBUTESETINSTANCE_KEY
Columns
Attribute Set Value
The values of the actual Product Attributes
- Physical column name: M_AttributeSetInstance_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)
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
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- 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
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Attribute Set
- Physical column name: M_AttributeSet_ID
- Property Name: attributeSet
- Reference: TableDir
Foreign key column to M_AttributeSet table, (column: M_AttributeSet_ID)
Serial No.
The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.
- Physical column name: SerNo
- Property Name: serialNo
- Reference: String
Lot Name
The Lot Number indicates the specific lot that a product was part of.
- Physical column name: Lot
- Property Name: lotName
- Reference: String
Expiration Date
Date when the normal guarantee or availability expires
- Physical column name: GuaranteeDate
- Property Name: expirationDate
- Reference: Date
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: String
- This column is part of the table's identifier
Lot
- Physical column name: M_Lot_ID
- Property Name: lot
- Reference: Search
Foreign key column to M_Lot table, (column: M_Lot_ID)
Islocked
- Physical column name: Islocked
- Property Name: islocked
- Reference: YesNo
- Default value: N
Lock_Description
- Physical column name: Lock_Description
- Property Name: lockDescription
- Reference: String
Related tables
Tables that link this table:
- DataImportOrder.Attribute Set Value
- FinancialMgmtAsset.Attribute Set Value
- AttributeInstance.Attribute Set Value
- InvoiceLine.Attribute Set Value
- ManufacturingCase.Attribute Set Value
- ManufacturingGlobalUse.Attribute Set Value
- ProcurementRequisitionLine.Attribute Set Value
- Product.Attribute Set Value
- ProjectIssue.Attribute Set Value
- ManufacturingProductionLine.Attribute Set Value
- MaterialMgmtInternalConsumptionLine.Attribute Set Value
- MaterialMgmtInternalMovementLine.Attribute Set Value
- MaterialMgmtInventoryCountLine.Attribute Set Value
- MaterialMgmtMaterialTransaction.Attribute Set Value
- MaterialMgmtShipmentInOutLine.Attribute Set Value
- MaterialMgmtStorageDetail.Attribute Set Value
- MaterialMgmtStoragePending.Attribute Set Value
- OrderLine.Attribute Set Value