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

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


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.

Limit_Base No VARCHAR (60) Identifies the price to be used as the base for calculating a new price list.
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.
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.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
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.
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.
M_DiscountSchemaLine_ID No VARCHAR (32) For the Pricelist Discount Type, you enter how the list, standard and limit price is calculated.
Limit_Fixed Yes DECIMAL Fixed Limit Price (not calculated)
List_Fixed Yes DECIMAL Fixes List Price (not calculated)
Std_Fixed Yes DECIMAL Fixed Standard Price (not calculated)
Limit_Margin No DECIMAL
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.
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.
List_Margin No DECIMAL
List_Rounding No VARCHAR (60) The List Price Rounding indicates how the final list price will be rounded.
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.
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.
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.
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.
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.
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.
Limit_Discount No DECIMAL Indicates the discount in percent to be subtracted from base, if negative it will be added to base price
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.
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.
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
M_Product_Category_ID Yes VARCHAR (32) Identifies the category which this product belongs to. Product categories are used for pricing.
SeqNo No DECIMAL (10,0) The Sequence indicates the order of records
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.

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_Rounding No VARCHAR (60) The Standard Price Rounding indicates how the final Standard price will be rounded.
List_AddAmt No DECIMAL The List Price Surcharge Amount indicates the amount to be added to the price prior to multiplication.
Limit_AddAmt No DECIMAL Indicates the amount to be added to the Limit price prior to multiplication.
Std_AddAmt No DECIMAL The Standard Price Surcharge Amount indicates the amount to be added to the price prior to multiplication.
STD_Margin No DECIMAL
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.

Columns

Active



top


Base Limit Price



List values: M_DiscountPriceList Base

The allowed values for this list are:

top


Base List Price



List values: M_DiscountPriceList Base

The allowed values for this list are:

top


Business Partner


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

top


Client


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

top


Conversion Date



top


Conversion Rate Type



List values: C_Conversion_Rate Types

The allowed values for this list are:

top


Created By


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

top


Creation Date



top


Discount Pricelist



top


Fixed Limit Price



top


Fixed List Price



top


Fixed Standard Price



top


Limit Price Margin %



top


Limit price min Margin



top


List Price Discount %



top


List Price Margin %



top


List Price Rounding



List values: M_DiscountPriceList RoundingRule

The allowed values for this list are:

top


Max. List Price Margin



top


Max. Price Limit Margin



top


Max. Standard Margin



top


Min. List Price Margin



top


Min. Standard Price Margin



top


Organization


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

top


Price Limit Discount %



top


Price Limit Rounding



List values: M_DiscountPriceList RoundingRule

The allowed values for this list are:

top


Price List Schema


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

top


Product


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

top


Product Category


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

top


Sequence Number


top


Standard Base Price



List values: M_DiscountPriceList Base

The allowed values for this list are:

top


Standard Price Discount %



top


Standard Price Rounding



List values: M_DiscountPriceList RoundingRule

The allowed values for this list are:

top


Surcharge List Price Amount



top


Surcharge Price Limit Amount



top


Surcharge Standard Price Amount



top


Unit Price Margin %



top


Updated



top


Updated By


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

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 5,310 times. This page was last modified on 4 September 2023, at 01:59. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.