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.sales/C CommissionLine

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


Contents

C_CommissionLine

This table contains the following columns:

Name Nullable Data Type Description


QtySubtract No DECIMAL The Quantity Subtract identifies the quantity to be subtracted before multiplication
AmtSubtract No DECIMAL The Subtract Amount indicates the amount to subtract from the total amount prior to multiplication.
QtyMultiplier No DECIMAL The Multiplier Quantity field indicates the amount to multiply the quantities accumulated for this commission run.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
C_CommissionLine_ID No VARCHAR (32) The Commission Line is a unique instance of a Commission Run. If the commission run was done in summary mode then there will be a single line representing the selected documents totals. If the commission run was done in detail mode then each document that was included in the run will have its own commission line.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
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.
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.

Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
CreatedBy No VARCHAR (32) The Created By field indicates the user who created this record.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
AmtMultiplier No DECIMAL The Multiplier Amount indicates the amount to multiply the total amount generated by this commission run by.
M_Product_Category_ID Yes VARCHAR (32) Identifies the category which this product belongs to. Product categories are used for pricing.
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
C_BP_Group_ID Yes VARCHAR (32) A way of grouping business partners together for classification and reporting purposes. Provides a method of defining certain defaults to be used when opening new business partners.
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.
C_SalesRegion_ID Yes VARCHAR (32) The Sales Region indicates a specific area of sales coverage.
IsPositiveOnly No CHAR (1) The Positive Only check box indicates that if the result of the subtraction is negative, it is ignored. This would mean that negative commissions would not be generated.
CommissionOrders No CHAR (1) Sales Reps are entered in Orders and Invoices. If selected, only Orders and Invoices for this Sales Reps are included in the calculation of the commission.
Org_ID Yes VARCHAR (32) An organization is a unit of your client or legal entity - examples are store, department.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
C_Commission_ID No VARCHAR (32) The Commission ID is a unique identifier of a set of commission rules.
Line No DECIMAL (10,0) Indicates the unique line for a document. It will also control the display order of the lines within a document.
Exclude No CHAR (1) If exclude is checked, the lines that satisfied the conditions specified in the current line will be excluded in commission calculation. The check box Cascade must be checked for being able to exclude lines.

Columns

Subtract Quantity



top


Subtract Amount



top


Multiplier Quantity



top


Updated By


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

top


Commission Line



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



top


Creation Date



top


Created By


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

top


Description



top


Multiplier Amount



top


Product Category


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

top


Product


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

top


Business Partner Category


Foreign key column to C_BP_Group table, (column: C_BP_Group_ID)

top


Business Partner


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

top


Sales Region


Foreign key column to C_SalesRegion table, (column: C_SalesRegion_ID)

top


Positive only



top


Commission only specified Orders



top


Trx Organization


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

top


Updated



top


Commission

Foreign key column to C_Commission table, (column: C_Commission_ID)

top


Line No.


top


Exclude



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

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.sales/C_CommissionLine"

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