ERP/3.0/Developers Guide/Database Model/org.openbravo.model.sales/C CommissionDetail
C_CommissionDetail
- Name:C_CommissionDetail
- Classname:SalesCommissionDetail
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. |
ActualAmt | No | DECIMAL | Actual amount indicates the agreed upon amount for a document. |
ActualQty | No | DECIMAL | The Actual Quantity indicates the quantity as referenced on a document. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Info | Yes | NVARCHAR (60) | The Information displays data from the source document line. |
C_CommissionAmt_ID | No | VARCHAR (32) | The Commission Amount indicates the resulting amount from a Commission Run. |
C_CommissionDetail_ID | No | VARCHAR (32) | The Commission Detail provides supporting information on a Commission Run. Each document line that was part of the Commission Run will be reflected here. |
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. |
C_Currency_ID | No | VARCHAR (32) | Indicates the currency to be used when processing this document. |
C_InvoiceLine_ID | Yes | VARCHAR (32) | The Invoice Line uniquely identifies a single line of an Invoice. |
Iscostcalculated | No | CHAR (1) | Determines that the cost amount has been calculated |
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. |
Reference | Yes | NVARCHAR (60) | The Reference displays the source document number. |
C_OrderLine_ID | Yes | VARCHAR (32) | A unique identifier and a reference to a sales order line (product). |
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 Amount
- Physical column name: ActualAmt
- Property Name: actualAmount
- Reference: Amount
- Default value: 0
Actual Quantity
- Physical column name: ActualQty
- Property Name: actualQuantity
- Reference: Quantity
- 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)
Comments
- Physical column name: Info
- Property Name: comments
- Reference: String
Commission Amount
- Physical column name: C_CommissionAmt_ID
- Property Name: commissionAmount
- Reference: Search
- This column is a child for a business object (is Parent)
Foreign key column to C_CommissionAmt table, (column: C_CommissionAmt_ID)
Commission Detail
- Physical column name: C_CommissionDetail_ID
- Property Name: id
- Reference: 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
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Invoice Line
- Physical column name: C_InvoiceLine_ID
- Property Name: invoiceLine
- Reference: Search
Foreign key column to C_InvoiceLine table, (column: C_InvoiceLine_ID)
Is Cost Calculated
- Physical column name: Iscostcalculated
- Property Name: isCostCalculated
- Reference: YesNo
- Default value: Y
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Reference
- Physical column name: Reference
- Property Name: reference
- Reference: String
- This column is part of the table's identifier
Sales Order Line
- Physical column name: C_OrderLine_ID
- Property Name: salesOrderLine
- Reference: Search
- This column is a child for a business object (is Parent)
Foreign key column to C_OrderLine table, (column: C_OrderLine_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_COMMISSIONDET_COMMISSAMT_IDX Not Unique. Columns:
- C_COMMISSIONAMT_ID
Check Constraints
These are the check constraints for this table:
- C_COMMISSIONDET_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_COMMISSIONDET_ISCOSTCALC: ISCOSTCALCULATED IN ('Y', 'N')
![]() | Back to org.openbravo.model.sales |