ERP/3.0/Developers Guide/Database Model/org.openbravo.model.sales/C CommissionAmt
Contents |
C_CommissionAmt
- Name:C_CommissionAmt
- Classname:SalesCommissionAmount
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. |
ActualQty | No | DECIMAL | The Actual Quantity indicates the quantity as referenced on a document. |
CommissionAmt | No | DECIMAL | The Commission Amount is the total calculated commission. It is based on the parameters as defined for this Commission Run. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
C_CommissionAmt_ID | No | VARCHAR (32) | The Commission Amount indicates the resulting amount from a Commission Run. |
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. |
C_CommissionRun_ID | No | VARCHAR (32) | The Commission Run is a unique system defined identifier of a specific run of commission. When a Commission is processed on the Commission Screen, the Commission Run ID will display. |
ConvertedAmt | No | DECIMAL | The Converted Amount is the result of multiplying the Source Amount by the Conversion Rate for this target currency. |
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. |
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. |
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
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Actual Quantity
- Physical column name: ActualQty
- Property Name: actualQuantity
- Reference: Quantity
- Default value: 0
Amount
- Physical column name: CommissionAmt
- Property Name: amount
- Reference: Amount
- Default value: 0
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Commission Amount
- Physical column name: C_CommissionAmt_ID
- Property Name: id
- Reference: ID
Commission Line
- Physical column name: C_CommissionLine_ID
- Property Name: commissionLine
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to C_CommissionLine table, (column: C_CommissionLine_ID)
Commission Run
- Physical column name: C_CommissionRun_ID
- Property Name: commissionRun
- Reference: Search
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to C_CommissionRun table, (column: C_CommissionRun_ID)
Converted Amount
- Physical column name: ConvertedAmt
- Property Name: convertedAmount
- Reference: Amount
- Default value: 0
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- C_COMMISSIONAMT_COMLINE Not Unique. Columns:
- C_COMMISSIONLINE_ID
- C_COMMISSIONAMT_RUN Not Unique. Columns:
- C_COMMISSIONRUN_ID
Check Constraints
These are the check constraints for this table:
- C_COMMISSIONAMT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
![]() | Back to org.openbravo.model.sales |