ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.plm/M Product Price Warehouse v
M_Product_Price_Warehouse_v
View that retrieves the products by price list version and warehouse including prices and stock information. This view also takes care of BOM type products to calculate the prices and quantities based on their parts.
- Name:ProductByPriceAndWarehouse
- Classname:ProductByPriceAndWarehouse
This table contains the following columns:
Name | Nullable | Data Type | Description |
M_Product_Price_Warehouse_V_ID | Y | VARCHAR2(64) | null |
AD_Client_ID | Y | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | Y | VARCHAR2(32) | Organizational entity within client |
Isactive | Y | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Updated | Y | DATE | x not implemented |
Updatedby | Y | VARCHAR2(32) | User who updated this records |
Created | Y | DATE | The date that this record is completed. |
Createdby | Y | VARCHAR2(32) | User who created this records |
M_Product_ID | Y | VARCHAR2(32) | An item produced by a process. |
M_Warehouse_ID | Y | VARCHAR2(32) | The location where products arrive to or are sent from. |
M_Productprice_ID | N | VARCHAR2(32) | null |
QTY_Available | Y | NUMBER | Quantity of products available |
QTY_Onhand | Y | NUMBER | Quantity of products on hand |
QTY_Reserved | Y | NUMBER | Quantity of products reserved |
QTY_Ordered | Y | NUMBER | Quantity of products ordered |
Pricelist | N | NUMBER | The official net price of a product in a specified currency. |
Pricestd | N | NUMBER | The regular or normal price of a product in the respective price list. |
Pricelimit | N | NUMBER | The lowest net price a specified item may be sold for. |
Columns
M_Product_Price_Warehouse_V_ID
- Physical column name: M_Product_Price_Warehouse_V_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
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)
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)
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
- This column is part of the table's identifier
Foreign key column to M_Product table, (column: M_Product_ID)
Warehouse
- Physical column name: M_Warehouse_ID
- Property Name: warehouse
- Reference: TableDir
Foreign key column to M_Warehouse table, (column: M_Warehouse_ID)
Product Price
- Physical column name: M_Productprice_ID
- Property Name: productPrice
- Reference: TableDir
Foreign key column to M_Productprice table, (column: M_ProductPrice_ID)
Available
Available quantity of products
- Physical column name: QTY_Available
- Property Name: available
- Reference: Quantity
Qty. On Hand
Quantity of products stored in the warehouse
- Physical column name: QTY_Onhand
- Property Name: qtyOnHand
- Reference: Quantity
Qty. Reserved
Quantity of products pending to deliver
- Physical column name: QTY_Reserved
- Property Name: qtyReserved
- Reference: Quantity
Qty. Ordered
Quantity of products awaiting to receipt.
- Physical column name: QTY_Ordered
- Property Name: qtyOrdered
- Reference: Quantity
Net List Price
The Net List Price is the official price stated by the selected pricelist and the currency of the document.
- Physical column name: Pricelist
- Property Name: netListPrice
- Reference: Price
Standard Price
The Standard Price indicates the standard or normal price for a product on this price list
- Physical column name: Pricestd
- Property Name: standardPrice
- Reference: Price
Price Limit
The Net Price Limit indicates the lowest price for a product stated in the Price List Currency.
- Physical column name: Pricelimit
- Property Name: priceLimit
- Reference: Price