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

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.pricing.priceadjustment/M Offer

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.priceadjustment


Contents

M_Offer

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.

Allweekdays Yes CHAR (1) Allows to apply the discount the whole week
Isuptomaxqty No CHAR (1)
Apply_Next No CHAR (1) In case there are other Promotions and Discounts applicable to this same line with less priority than this one, this flag decides whether the next one should be applied or not.
BP_Set_Selection No VARCHAR (60) Business Partner Set Selection Mode is the way Business Partners will be selected.
Bpartner_Extref_Selection No VARCHAR (60) External Business Partner Reference Selection Mode is the way External Business Partner References will be selected.
Characteristics_Excl_Selection No VARCHAR (60)
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
Conforgprocess Yes CHAR (1)
Confprodcatprocess Yes CHAR (1)
Confprodprocess Yes CHAR (1)
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.
Description Yes VARCHAR (255) A description is limited to 255 characters.
Discount No DECIMAL The Discount indicates the discount applied or taken as a percentage.
Addamt No DECIMAL Fixed discount amount
M_Offer_Type_ID No VARCHAR (32) Discounts and Promotions functionality allows to apply different rules to order/invoice lines to adjust pricing. A type is each of these kinds of rules.
DateTo Yes TIMESTAMP (7) The Date To indicates the end date of a range (inclusive)
Endingtime Yes TIMESTAMP (7)
Endingtimefriday Yes TIMESTAMP (7)
Endingtimemonday Yes TIMESTAMP (7)
Endingtimesaturday Yes TIMESTAMP (7)
Endingtimesunday Yes TIMESTAMP (7)
Endingtimethursday Yes TIMESTAMP (7)
Endingtimetuesday Yes TIMESTAMP (7)
Endingtimewednesday Yes TIMESTAMP (7)
Fixed Yes DECIMAL Fixed price for the promotion. When the promotion is applied, this is the final price the product will have.
Friday Yes CHAR (1) Allows to apply the discount on Fridays
Pricelist_Selection No VARCHAR (60) Defines the way Price Lists will be selected (including or excluding the taken ones)
BP_Group_Selection No VARCHAR (60) Defines the way Business Partner Groups will be selected (including or excluding the taken ones)
BPartner_Selection No VARCHAR (60) Business Partner Selection Mode is the way Business Partners will be selected.
Characteristics_Selection No VARCHAR (60) Defines the way Product Characteristics will be selected (including or excluding the taken ones)
Org_Selection No VARCHAR (60)
Prod_Cat_Selection No VARCHAR (60) Defines the way Product Categories will be selected (including or excluding the taken ones)
Product_Selection No VARCHAR (60) Defines the way Products will be selected (including or excluding the taken ones)
Ismultiple No CHAR (1) The discount will be applied only if the quantity ordered fits to the specified package quantity or a multiple.
Qty_To Yes DECIMAL Quantity to is the maximum amount to apply the offer.
Qty_From Yes DECIMAL Quantity From is the minimum amount that the offer will be applied from.
Monday Yes CHAR (1) Allows to apply the discount on Monday
Multiple Yes DECIMAL Units per package
Name No NVARCHAR (60) 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.
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_Offer_ID No VARCHAR (32) Promotion or Discount applied to a particular line (product) automatically by the system.
Print_Name Yes VARCHAR (60) Name that will be shown to final user in UI and reports to identify current promotion. In case it is empty, name will be used instead. In general, name should be used internally, whereas printed name is intended to be read by user.
Priority Yes DECIMAL The Priority indicates the importance of this request.
Applicationpriorityrule Yes VARCHAR (60) The Priority indicates the importance (high, medium, low) of this document
Saturday Yes CHAR (1) Allows to apply the discount on Saturdays
Value Yes NVARCHAR (30) A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).

Usually, company's internal identifiers for various records (products, customers, etc) are stored here.

DateFrom No TIMESTAMP (7) The Date From indicates the starting date of a range.
Startingtime Yes TIMESTAMP (7)
Startingtimefriday Yes TIMESTAMP (7)
Startingtimemonday Yes TIMESTAMP (7)
Startingtimesaturday Yes TIMESTAMP (7)
Startingtimesunday Yes TIMESTAMP (7)
Startingtimethursday Yes TIMESTAMP (7)
Startingtimetuesday Yes TIMESTAMP (7)
Startingtimewednesday Yes TIMESTAMP (7)
Sunday Yes CHAR (1) Allows to apply the discount on Sundays
Thursday Yes CHAR (1) Allows to apply the discount on Thursdays
Tuesday Yes CHAR (1) Allows to apply the discount on Tuesdays
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.
Verify_Price_Limit No CHAR (1)
Wednesday Yes CHAR (1) Allows to apply the discount on Wednesdays

Columns

Active



top


Allweekdays



top


Apply to products up to the max quantity



top


Apply_Next



top


BP_Set_Selection


List values: Offers

The allowed values for this list are:

top


Bpartner_Extref_Selection


List values: Offers

The allowed values for this list are:

top


Characteristics_Excl_Selection


List values: Characteristics Offers

The allowed values for this list are:

top


Client


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

top


Conforgprocess



top


Confprodcatprocess



top


Confprodprocess



top


Created By


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

top


Creation Date



top


Description



top


Discount %



top


Discount Amount



top


Discount Type


Foreign key column to M_Offer_Type table, (column: M_Offer_Type_ID)

top


Ending Date



top


Endingtime



top


Endingtimefriday



top


Endingtimemonday



top


Endingtimesaturday



top


Endingtimesunday



top


Endingtimethursday



top


Endingtimetuesday



top


Endingtimewednesday



top


Fixed Price



top


Friday



top


Include Price Lists


List values: Offers

The allowed values for this list are:

top


Included BP Categories



List values: Offers

The allowed values for this list are:

top


Included Business Partners



List values: Offers

The allowed values for this list are:

top


Included Characteristics


List values: Include Characteristics Offers

The allowed values for this list are:

top


Included Organizations


List values: Offers

The allowed values for this list are:

top


Included Product Categories



List values: Offers

The allowed values for this list are:

top


Included Products



List values: Offers

The allowed values for this list are:

top


Ismultiple



top


Max. Quantity



top


Min. Quantity



top


Monday



top


Multiple



top


Name


top


Organization


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

top


Price Adjustment



top


Print_Name



top


Priority



top


Priority Rule



List values: Price Adjustment Priority Rule

The allowed values for this list are:

top


Saturday



top


Search Key



top


Starting Date



top


Startingtime



top


Startingtimefriday



top


Startingtimemonday



top


Startingtimesaturday



top


Startingtimesunday



top


Startingtimethursday



top


Startingtimetuesday



top


Startingtimewednesday



top


Sunday



top


Thursday



top


Tuesday



top


Updated



top


Updated By


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

top


Verify_Price_Limit



top


Wednesday



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.priceadjustment

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

This page has been accessed 4,600 times. This page was last modified on 22 August 2023, at 09:35. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.