View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.pricing.pricelist/M DiscountSchemaLine

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.model.pricing.pricelist


Contents

M_DiscountSchemaLine

This table contains the following columns:

Name Nullable Data Type Description


AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
Std_Fixed Yes DECIMAL Fixed Standard Price (not calculated)
List_Fixed Yes DECIMAL Fixes List Price (not calculated)
Limit_Fixed Yes DECIMAL Fixed Limit Price (not calculated)
Limit_MaxAmt No DECIMAL Indicates the maximum margin for a product. The margin is calculated by subtracting the original limit price from the newly calculated price. If this field contains 0.00 then it is ignored.
Limit_MinAmt No DECIMAL Indicates the minimum margin for a product. The margin is calculated by subtracting the original limit price from the newly calculated price. If this field contains 0.00 then it is ignored.
Limit_Rounding No VARCHAR (60) A drop down list box which indicates the rounding (if any) will apply to the final prices in this price list.
Limit_Discount No DECIMAL Indicates the discount in percent to be subtracted from base, if negative it will be added to base price
Limit_AddAmt No DECIMAL Indicates the amount to be added to the Limit price prior to multiplication.
Limit_Base No VARCHAR (60) Identifies the price to be used as the base for calculating a new price list.
Std_MaxAmt No DECIMAL The Standard Price Max Margin indicates the maximum margin for a product. The margin is calculated by subtracting the original Standard price from the newly calculated price. If this field contains 0.00 then it is ignored.
Std_MinAmt No DECIMAL The Standard Price Min Margin indicates the minimum margin for a product. The margin is calculated by subtracting the original Standard price from the newly calculated price. If this field contains 0.00 then it is ignored.
Std_Rounding No VARCHAR (60) The Standard Price Rounding indicates how the final Standard price will be rounded.
Std_Discount No DECIMAL The Standard Price Discount Percentage indicates the percentage discount which will be subtracted from the base price. A negative amount indicates the percentage which will be added to the base price.
Std_AddAmt No DECIMAL The Standard Price Surcharge Amount indicates the amount to be added to the price prior to multiplication.
List_MaxAmt No DECIMAL The List Price Max Margin indicates the maximum margin for a product. The margin is calculated by subtracting the original list price from the newly calculated price. If this field contains 0.00 then it is ignored.
List_MinAmt No DECIMAL The List Price Min Margin indicates the minimum margin for a product. The margin is calculated by subtracting the original list price from the newly calculated price. If this field contains 0.00 then it is ignored.
List_Rounding No VARCHAR (60) The List Price Rounding indicates how the final list price will be rounded.
List_Discount No DECIMAL The List Price Discount Percentage indicates the percentage discount which will be subtracted from the base price. A negative amount indicates the percentage which will be added to the base price.
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
List_AddAmt No DECIMAL The List Price Surcharge Amount indicates the amount to be added to the price prior to multiplication.
List_Base No VARCHAR (60) The List Price Base indicates the price to use as the basis for the calculation of a new price list.
ConversionDate No TIMESTAMP (7) The Conversion Date identifies the date used for currency conversion. The conversion rate chosen must include this date in it's date range
ConversionRateType No VARCHAR (60) The Conversion Rate Type indicates the type of conversion rate. This allows you to enter multiple rates for the same currency pair. For example, one rate may be used for Spot conversions and a different rate for Revaluations.
C_BPartner_ID Yes VARCHAR (32) A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
M_Product_Category_ID Yes VARCHAR (32) Identifies the category which this product belongs to. Product categories are used for pricing.
M_DiscountSchema_ID No VARCHAR (32) After calculation of the (standard) price, the trade discount percentage is calculated and applied resulting in the final price.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
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.
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.

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.
M_DiscountSchemaLine_ID No VARCHAR (32) For the Pricelist Discount Type, you enter how the list, standard and limit price is calculated.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
Std_Base No VARCHAR (60) Net unit price before applying this promotion. In case multiple promotions are applied in cascade, this price is the one after applying all promotions with more priority than current one.

This field is populated in case the used price list does not include taxes.

SeqNo No DECIMAL (10,0) The Sequence indicates the order of records
List_Margin No DECIMAL
STD_Margin No DECIMAL
Limit_Margin No DECIMAL

Columns

Client


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

top


Fixed Standard Price



top


Fixed List Price



top


Fixed Limit Price



top


Max. Price Limit Margin



top


Limit price min Margin



top


Price Limit Rounding



List values: M_DiscountPriceList RoundingRule

The allowed values for this list are:

top


Price Limit Discount %



top


Surcharge Price Limit Amount



top


Base Limit Price



List values: M_DiscountPriceList Base

The allowed values for this list are:

top


Max. Standard Margin



top


Min. Standard Price Margin



top


Standard Price Rounding



List values: M_DiscountPriceList RoundingRule

The allowed values for this list are:

top


Standard Price Discount %



top


Surcharge Standard Price Amount



top


Max. List Price Margin



top


Min. List Price Margin



top


List Price Rounding



List values: M_DiscountPriceList RoundingRule

The allowed values for this list are:

top


List Price Discount %



top


Product


Foreign key column to M_Product table, (column: M_Product_ID)

top


Surcharge List Price Amount



top


Base List Price



List values: M_DiscountPriceList Base

The allowed values for this list are:

top


Conversion Date



top


Conversion Rate Type



List values: C_Conversion_Rate Types

The allowed values for this list are:

top


Business Partner


Foreign key column to C_BPartner table, (column: C_BPartner_ID)

top


Product Category


Foreign key column to M_Product_Category table, (column: M_Product_Category_ID)

top


Price List Schema


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

top


Updated By


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

top


Created By


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

top


Creation Date



top


Active



top


Organization


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

top


Discount Pricelist



top


Updated



top


Standard Base Price



List values: M_DiscountPriceList Base

The allowed values for this list are:

top


Sequence Number


top


List Price Margin %



top


Unit Price Margin %



top


Limit Price Margin %



top


Other Info

Indices

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

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.model.pricing.pricelist

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.pricing.pricelist/M_DiscountSchemaLine"

This page has been accessed 1,067 times. This page was last modified on 1 October 2016, at 02:18. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.