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

PDF Books
Show collection (0 pages)
Collections help

Search

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.sales/C Commission

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.sales

Index

Contents

C_Commission

Contains all the commissions and when to pay a commission to whom. For each period, you start the calculation of the commission after the transaction for that period are completed or closed.

This table contains the following columns:

Name Nullable Data Type Description
C_Commission_ID NVARCHAR2(32)Commission Identifier
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
CreatedBy NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
UpdatedBy NVARCHAR2(32)User who updated this records
Name NNVARCHAR2(60)A non-unique identifier for a record/document often used as a search tool.
Description YNVARCHAR2(255)A space to write additional related information.
C_BPartner_ID NVARCHAR2(32)Identifies a Business Partner (Sales Rep) receiving the Commission
C_Currency_ID NVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
FrequencyType NVARCHAR2(60)Frequency of event
DocBasisType NVARCHAR2(60)Basis for the calculation the commission
ListDetails NCHAR(1)List document details
DateLastRun YDATEThe last specific time the process or task was run.
CreateFrom YCHAR(1)An addition of statements from pre-existing documents.
Processing YCHAR(1)A request to process the respective document or task.
M_Product_ID YVARCHAR2(32)Product, Service, Item

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

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

Unique

top

Columns

Commission

The Commission ID is a unique identifier of a set of commission rules.

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)


Validation Rule AD_Org (without *): Organization selection without *. With the following code:

 
AD_ORG_ID <> '0'

top

Active

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.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

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

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

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

top

Name

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.

top

Description

A description is limited to 255 characters.

top

Business Partner / Sales Rep

The Business Partner should be a vendor and may be a Sales Representative

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


Reference Table C_BPartner SalesRep : SalesRep_ID is synonym of AD_User_ID. With the following where clause:

 
C_BPartner.IsSalesRep='Y'


top

Currency

Foreign key column to C_Currency table, (column: C_Currency_ID)

top

Frequency Type

The frequency type is used for calculating the date of the next event.

List values: C_Commission Frequency

The allowed values for this list are:

top

Calculation Basis

The Calculation Basis indicates the basis to be used for the commission calculation.

List values: C_Commission DocBasis

The allowed values for this list are:

top

List Details

The List Details checkbox indicates that the details for each document line will be displayed.

top

Last Run Date

The Date Last Run indicates the last time that a process was run.

top

Create Lines From

A process that allows the user to copy lines (products) from an existing document different from the one being copied into. For example, in case of entering a new Goods Shipment, the user can copy lines (products) from an existing Sales Order or Sales Invoice.

top

Process Now

When this field is set as 'Y' a process is being performed on this record.

top

Invoice Product

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

top

Related tables

Tables that link this table:

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Database_Model/org.openbravo.model.sales/C_Commission"

This page has been accessed 1,150 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.