ERP/2.50/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/C Settlement
C_Settlement
Termination of a business operation by using its assets to discharge its liabilities.
For example, once the goods have been shipped to the customer, the merchant can key a transaction for settlement at which time the customer's credit card is charged for the transaction and the proceeds are deposited into the merchant account.
- Name:FinancialMgmtSettlement
- Classname:Settlement
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_Settlement_ID | N | VARCHAR2(32) | The process of exchanging or carrying out a payment once a transaction is made. |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
CreatedBy | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
UpdatedBy | N | VARCHAR2(32) | User who updated this records |
DocumentNo | N | NVARCHAR2(30) | An often automatically generated identifier for all documents. |
DateTrx | N | DATE | The date that a specified transaction is entered into the application. |
C_DocType_ID | N | VARCHAR2(32) | A value defining what sequence and process setup are used to handle this document. |
Processing | Y | CHAR(1) | A request to process the respective document or task. |
Processed | N | VARCHAR2(60) | A confirmation that the associated documents or requests are processed. |
Posted | N | VARCHAR2(60) | An accounting status button that indicates if the transaction has already been posted to the general ledger or not. |
C_Project_ID | Y | VARCHAR2(32) | Identifier of a project defined within the Project & Service Management module. |
C_Campaign_ID | Y | VARCHAR2(32) | An advertising effort aimed at increasing sales. |
C_Activity_ID | Y | VARCHAR2(32) | A distinct activity defined and used in activity based management. |
User1_ID | Y | VARCHAR2(32) | A display of optional elements that are previously defined for this account combination. |
User2_ID | Y | VARCHAR2(32) | A display of optional elements that are previously defined for this account combination. |
CreateFrom | Y | CHAR(1) | An addition of statements from pre-existing documents. |
C_Currency_ID | N | VARCHAR2(32) | An accepted medium of monetary exchange that may vary across countries. |
Cancelednotchargeamt | Y | NUMBER | Canceled not charge amount |
Generatedamt | Y | NUMBER | null |
Chargedamt | Y | NUMBER | Charged amount |
Description | Y | VARCHAR2(255) | A space to write additional related information. |
CreateFile | N | CHAR(1) | Create file |
DateAcct | Y | DATE | The date this transaction is recorded for in the general ledger. |
Settlementtype | Y | VARCHAR2(60) | Settlement Type |
SettlementOpen | Y | CHAR(1) | null |
CopyFrom | N | CHAR(1) | An addition of statements from pre-existing documents. |
IsGenerated | Y | CHAR(1) | This Line is generated |
IsTemplate | Y | CHAR(1) | Is Template |
Other Info
Check constraints
These are the check constraints for this table:
- C_SETTLEMENT_CREATEFILE_CHK: CREATEFILE IN ('Y', 'N')
- C_SETTLEMENT_DATEACCT_CHK: DATEACCT IS NOT NULL
- C_SETTLEMENT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_SETTLEMENT_PROCESSED_CHK: PROCESSED IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Non Unique
- C_SETTLEMENT_UPDATED
Unique
- C_SETTLEMENT_KEY
Columns
Settlement
Termination of a business operation by using its assets to discharge its liabilities.
- Physical column name: C_Settlement_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @#AD_ORG_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: @#Date@
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: @#Date@
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Document No.
The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).
- Physical column name: DocumentNo
- Property Name: documentNo
- Reference: String
- This column is part of the table's identifier
Transaction Date
The Transaction Date indicates the date of the transaction.
- Physical column name: DateTrx
- Property Name: transactionDate
- Reference: Date
- Default value: @DATE@
- This column is part of the table's identifier
Document Type
- Physical column name: C_DocType_ID
- Property Name: documentType
- Reference: TableDir
- Default value: @SQL=SELECT C_DocType_ID from C_DocType WHERE AD_ISORGINCLUDED(@AD_Org_ID@,C_DocType.AD_Org_ID, @#AD_Client_ID@) <> -1 AND C_DocType.DocBaseType=@DOCTYPE_SETTLEMENT@ ORDER BY C_DocType.isdefault DESC
Foreign key column to C_DocType table, (column: C_DocType_ID)
Validation Rule C_DocType - Payments/Receipts: null. With the following code:
C_DocType.DocBaseType=@DOCTYPE_SETTLEMENT@ AND AD_ISORGINCLUDED(@AD_Org_ID@,C_DocType.AD_Org_ID, @#AD_Client_ID@) <> '-1'
Process Now
When this field is set as 'Y' a process is being performed on this record.
- Physical column name: Processing
- Property Name: processNow
- Reference: YesNo
Processed
The Processed checkbox indicates that a document has been processed.
- Physical column name: Processed
- Property Name: processed
- Reference: Button
- Default value: N
Posted
An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand.
- Physical column name: Posted
- Property Name: posted
- Reference: Button
- Default value: N
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: TableDir
Foreign key column to C_Project table, (column: C_Project_ID)
Sales Campaign
- Physical column name: C_Campaign_ID
- Property Name: salesCampaign
- Reference: TableDir
Foreign key column to C_Campaign table, (column: C_Campaign_ID)
Activity
- Physical column name: C_Activity_ID
- Property Name: activity
- Reference: TableDir
Foreign key column to C_Activity table, (column: C_Activity_ID)
1st Dimension
The user defined element displays the optional elements that have been defined for this account combination.
- Physical column name: User1_ID
- Property Name: stDimension
- Reference: String
2nd Dimension
The user defined element displays the optional elements that have been defined for this account combination.
- Physical column name: User2_ID
- Property Name: ndDimension
- Reference: String
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.
- Physical column name: CreateFrom
- Property Name: createLinesFrom
- Reference: Button
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Canceled/Not Charged
Indicates the amount that has been canceled but has generated no charges in the bank account or cash.
- Physical column name: Cancelednotchargeamt
- Property Name: canceledNotCharged
- Reference: Amount
- Default value: 0
Settlement Amount
- Physical column name: Generatedamt
- Property Name: createdAmount
- Reference: Amount
- Default value: 0
Charged Amount
Indicates the total amount of the payments that have been canceled and charged.
- Physical column name: Chargedamt
- Property Name: chargedAmount
- Reference: Amount
- Default value: 0
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: Text
Create file
Create file
- Physical column name: CreateFile
- Property Name: createFile
- Reference: Button
- Default value: N
Accounting Date
The date this transaction is recorded on in the general ledger. This date also indicates which accounting period within the fiscal year this transaction will be part of.
- Physical column name: DateAcct
- Property Name: accountingDate
- Reference: Date
- Default value: @DATE@
Settlement Type
Indicates the type of settlement (settlement or manual settlement)
- Physical column name: Settlementtype
- Property Name: settlementType
- Reference: List
- Default value: @TYPESETTLEMENT@
List values: Settlement type
The allowed values for this list are:
- B (Charge (Cash/Bank))
- C (Cancel/Generate)
- I (GL Item)
Settlement Open
Unprocesses the processed settlement and enables to make changes on it.
- Physical column name: SettlementOpen
- Property Name: openSettlement
- Reference: Button
- Default value: N
Copy from
Copy lines (products) from another document of the same type.
- Physical column name: CopyFrom
- Property Name: copyFrom
- Reference: Button
- Default value: N
Generated
The Generated checkbox identifies a journal line that was generated from a source document. Lines could also be entered manually or imported.
- Physical column name: IsGenerated
- Property Name: generated
- Reference: YesNo
- Default value: N
Template
Template is checked when the element is used as a template.
- Physical column name: IsTemplate
- Property Name: template
- Reference: YesNo
- Default value: N
Related tables
Tables that link this table:
- FinancialMgmtDebtPaymentCancelV.Settlement generate
- FinancialMgmtDebtPaymentGenerateV.Settlement Cancelled