View source | Discuss this page | Page history | Printable version   

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.pricing.pricelist/M PriceList Version

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.pricing.pricelist

Index

Contents

M_PriceList_Version

Price lists are automatically created based on Product Purchasing Information and the Vendor Category Discount. The other alternative is to copy them from existing pricelists and then re-calculate them. You can also re-calculate the pricelist by referencin

This table contains the following columns:

Name Nullable Data Type Description
M_PriceList_Version_ID NVARCHAR2(32)A price list with a specified validity range.
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
CreatedBy NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
UpdatedBy NVARCHAR2(32)User who updated this records
Name NNVARCHAR2(60)A non-unique identifier for a record/document often used as a search tool.
Description YNVARCHAR2(255)A space to write additional related information.
M_PriceList_ID NVARCHAR2(32)A catalog of selected items with prices defined generally or for a specific partner.
M_DiscountSchema_ID NVARCHAR2(32)A set of guidelines applied to current Price List in order to create a price list.
ValidFrom NDATEA parameter stating the starting time of a specified request.
ProcCreate YCHAR(1)null
M_Pricelist_Version_Base_ID YVARCHAR2(32)Base Price List
M_Pricelist_Version_Generate NCHAR(1)null

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

These are the indexes for this table (for each index there is a list of all the columns included within it):

Unique

top

Columns

Price List Version

Each Price List can have multiple versions. The most common use is to indicate the dates that a Price List is valid for.

top

Client

Foreign key column to AD_Client table, (column: AD_Client_ID)

top

Organization

Foreign key column to AD_Org table, (column: AD_Org_ID)

top

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.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

Foreign key column to AD_User table, (column: AD_User_ID)

top

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.

top

Description

A description is limited to 255 characters.

top

Price List

Foreign key column to M_PriceList table, (column: M_PriceList_ID)

top

Price List Schema

Foreign key column to M_DiscountSchema table, (column: M_DiscountSchema_ID)


Validation Rule M_DiscountSchema only PriceList: null. With the following code:

 
M_DiscountSchema.DiscountType='P'

top

Valid from Date

The Valid From date indicates the first day of a date range

top

Create

top

Base Version (Default)

The Base Price List identifies the Base Pricelist used for calculating prices (the source)

Foreign key column to M_PriceList_Version table, (column: M_PriceList_Version_ID)


Reference Table M_PriceList Version

top

Generate Price List Version

top

Related tables

Tables that link this table:

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Database_Model/org.openbravo.model.pricing.pricelist/M_PriceList_Version"

This page has been accessed 2,176 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.