ERP 2.50:Developers Guide/Database Model/org.openbravo.model.common.plm/M Product PO
M_Product_PO
The Purchasing defines the pricing and rules ( pack quantity, UPC, minimum order quantity) for each product.
The Product Details allows you to display and maintain all products for a selected Vendor.
- Name:ApprovedVendor
- Classname:ApprovedVendor
This table contains the following columns:
Name | Nullable | Data Type | Description |
M_Product_PO_ID | N | VARCHAR2(32) | null |
M_Product_ID | N | VARCHAR2(32) | An item produced by a process. |
C_BPartner_ID | N | VARCHAR2(32) | Anyone who takes part in daily business operations by acting as a customer, employee, etc. |
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 |
IsCurrentVendor | N | CHAR(1) | Use this Vendor for pricing and stock replenishment |
C_UOM_ID | Y | VARCHAR2(32) | A non monetary unit of measure. |
C_Currency_ID | Y | VARCHAR2(32) | An accepted medium of monetary exchange that may vary across countries. |
PriceList | Y | NUMBER | The official price of a product in a specified currency. |
PricePO | Y | NUMBER | The price charged to purchase a specific item. |
PriceEffective | Y | DATE | The time from which a price is valid. |
PriceLastPO | Y | NUMBER | The last price pad for this product, as noted in a completed purchase order. |
PriceLastInv | Y | NUMBER | The last price paid for this product, as noted in a completed invoice. |
VendorProductNo | N | NVARCHAR2(40) | The identifier used by a vendor to indentify a product being purchased by their business partners. |
UPC | Y | NVARCHAR2(20) | A bar code with a number to identify a product. |
VendorCategory | Y | NVARCHAR2(30) | A classification of vendors based on similar characteristics or attributes. |
Discontinued | Y | CHAR(1) | A statement mentioning that this product will no longer be available on the market. |
DiscontinuedBy | Y | DATE | The name of the person who discontinues an item. |
Order_Min | Y | NUMBER | The minimum number of an item that must be purchased at one time from a vendor. |
Order_Pack | Y | NUMBER | The number of a specific item that comes in one package. |
CostPerOrder | Y | NUMBER | The additional added fixed cost for a purchased product. |
DeliveryTime_Promised | Y | NUMBER(10, 0) | Number of days between placing an order and the actual delivery as promised by the vendor. |
DeliveryTime_Actual | Y | NUMBER(10, 0) | Actual days between order and delivery |
QualityRating | Y | NUMBER | Method for rating vendors |
RoyaltyAmt | Y | NUMBER | (Included) Amount for copyright, etc. |
Manufacturer | Y | NVARCHAR2(30) | The business partner that makes a specific product. |
Capacity | Y | NUMBER | Capacity |
Qtystd | Y | NUMBER | Quantity Standard |
Qtytype | Y | VARCHAR2(60) | Quantity Type |
Other Info
Check constraints
These are the check constraints for this table:
- M_PRODUCT_PO_DISCONTINUED_CHK: DISCONTINUED IN ('Y', 'N')
- M_PRODUCT_PO_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- M_PRODUCT_PO_ISCURRENTVEND_CHK: ISCURRENTVENDOR 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_PRODUCT_PO_KEY
- M_PRODUCT_PO_PRODUCT_BPARTN_UN
- M_PRODUCT_PO_VENDORPRODNO
Columns
M_Product_PO_ID
- Physical column name: M_Product_PO_ID
- Property Name: id
- Reference: ID
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: Search
- Default value: @M_Product_ID@
- This column is part of the table's identifier
- This column is a child for a buisiness object (is Parent)
Foreign key column to M_Product table, (column: M_Product_ID)
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
- Default value: @C_BPartner_ID@
- This column is part of the table's identifier
- This column is a child for a buisiness object (is Parent)
Foreign key column to C_BPartner table, (column: C_BPartner_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)
Current Vendor
The Current Vendor indicates if prices are used and Product is reordered from this vendor
- Physical column name: IsCurrentVendor
- Property Name: currentVendor
- Reference: YesNo
- Default value: Y
UOM
- Physical column name: C_UOM_ID
- Property Name: uOM
- Reference: TableDir
Foreign key column to C_UOM table, (column: C_UOM_ID)
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
List Price
The List Price is the official price stated by the selected pricelist and the currency of the document.
- Physical column name: PriceList
- Property Name: listPrice
- Reference: Price
Purchase Order Price
The PO Price indicates the price for a product per the purchase order.
- Physical column name: PricePO
- Property Name: purchaseOrderPrice
- Reference: Price
Price Effective From
The Price Effective indicates the date this price is for. This allows you to enter future prices for products which will become effective when appropriate.
- Physical column name: PriceEffective
- Property Name: priceEffectiveFrom
- Reference: Date
Last Purchase Price
The Last PO Price indicates the last price paid (per the purchase order) for this product.
- Physical column name: PriceLastPO
- Property Name: lastPurchasePrice
- Reference: Price
Last Invoice Price
The Last Invoice Price indicates the last price paid (per the invoice) for this product.
- Physical column name: PriceLastInv
- Property Name: lastInvoicePrice
- Reference: Price
Vendor Product No.
The Vendor Product Number identifies the number used by the vendor for this product.
- Physical column name: VendorProductNo
- Property Name: vendorProductNo
- Reference: String
- Default value: @Value@
UPC/EAN
Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode)
- Physical column name: UPC
- Property Name: uPCEAN
- Reference: String
Vendor Category
The Vendor Category identifies the category used by the vendor for this product.
- Physical column name: VendorCategory
- Property Name: vendorCategory
- Reference: String
Discontinued
The Discontinued check box indicates a product that has been discontinued.
- Physical column name: Discontinued
- Property Name: discontinued
- Reference: YesNo
Discontinued by
The Discontinued By indicates the individual who discontinued this product
- Physical column name: DiscontinuedBy
- Property Name: discontinuedBy
- Reference: Date
Minimum Order Qty.
The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.
- Physical column name: Order_Min
- Property Name: minimumOrderQty
- Reference: Quantity
Quantity per Package
The Order Pack Quantity indicates the number of units in each pack of this product.
- Physical column name: Order_Pack
- Property Name: quantityPerPackage
- Reference: Quantity
Fixed Cost per Order
The Cost Per Order indicates the fixed charge levied when an order for this product is placed.
- Physical column name: CostPerOrder
- Property Name: fixedCostPerOrder
- Reference: Amount
Purchasing Lead Time
Indicates the number of days between placing an order and the actual delivery as promised by the vendor.
- Physical column name: DeliveryTime_Promised
- Property Name: purchasingLeadTime
- Reference: Integer
Actual Delivery Days
The Actual Delivery Time indicates the number of days elapsed between placing an order and the delivery of the order
- Physical column name: DeliveryTime_Actual
- Property Name: actualDeliveryDays
- Reference: Integer
Quality Rating
The Quality Rating indicates how a vendor is rated (higher number = higher quality)
- Physical column name: QualityRating
- Property Name: qualityRating
- Reference: Integer
Royalty Amount
(Included) Amount for copyright, etc.
- Physical column name: RoyaltyAmt
- Property Name: royaltyAmount
- Reference: Amount
Manufacturer
Manufacturer
- Physical column name: Manufacturer
- Property Name: manufacturer
- Reference: String
Capacity
Capacity per day
- Physical column name: Capacity
- Property Name: capacity
- Reference: Number
Standard Quantity
Quantity Standard
- Physical column name: Qtystd
- Property Name: standardQuantity
- Reference: Quantity
Quantity Type
Quantity Type
- Physical column name: Qtytype
- Property Name: quantityType
- Reference: List
List values: Quantity type
The allowed values for this list are:
- E (Exact)
- M (Multiple)