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

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


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.

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_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.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
C_Commission_ID No VARCHAR (32) The Commission ID is a unique identifier of a set of commission rules.
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.
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.
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 NVARCHAR (255) A description is limited to 255 characters.
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.
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.
AmtMultiplier No DECIMAL The Multiplier Amount indicates the amount to multiply the total amount generated by this commission run by.
QtyMultiplier No DECIMAL The Multiplier Quantity field indicates the amount to multiply the quantities accumulated for this commission run.
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.
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.
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.
C_SalesRegion_ID Yes VARCHAR (32) The Sales Region indicates a specific area of sales coverage.
AmtSubtract No DECIMAL The Subtract Amount indicates the amount to subtract from the total amount prior to multiplication.
QtySubtract No DECIMAL The Quantity Subtract identifies the quantity to be subtracted before multiplication
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.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.

Columns

Active



top


Business Partner


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

top


Business Partner Category


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

top


Client


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

top


Commission

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

top


Commission Line



top


Commission only specified Orders



top


Created By


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

top


Creation Date



top


Description



top


Exclude



top


Line No.


top


Multiplier Amount



top


Multiplier Quantity



top


Organization


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

top


Positive only



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


Sales Region


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

top


Subtract Amount



top


Subtract Quantity



top


Trx Organization


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

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