ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/C Debt Payment Generate
C_Debt_Payment_Generate
Using this tab we can generate new debt payments. The cancelled ones and the generated ones must have the same amount. Otherwise it is not possible to process it.
- Name:FinancialMgmtDebtPaymentGenerateV
- Classname:DebtPaymentGenerateV
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_Debt_Payment_ID | N | VARCHAR2(32) | A obligation to pay or a right to collect for a specified item or service. |
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 |
IsReceipt | N | CHAR(1) | Indicates a sales or purchase transaction. |
C_Settlement_ID | Y | VARCHAR2(32) | The process of exchanging or carrying out a payment once a transaction is made. |
Description | Y | NVARCHAR2(255) | A space to write additional related information. |
C_Invoice_ID | Y | VARCHAR2(32) | A document listing products, quantities and prices, payment terms, etc. |
C_BPartner_ID | Y | VARCHAR2(32) | Anyone who takes part in daily business operations by acting as a customer, employee, etc. |
C_Currency_ID | N | VARCHAR2(32) | An accepted medium of monetary exchange that may vary across countries. |
C_CashLine_ID | Y | VARCHAR2(32) | A statement displaying one transaction in the cash journal. |
C_BankStatementLine_ID | Y | VARCHAR2(32) | A statement displaying one transaction in the bank statement. |
C_BankAccount_ID | Y | VARCHAR2(32) | A monetary account of funds held in a recognized banking institution. |
C_CashBook_ID | Y | VARCHAR2(32) | A document used to manage all cash transactions. |
PaymentRule | N | VARCHAR2(60) | The method used for payment of this transaction. |
IsPaid | N | CHAR(1) | A confirmation stating whether the request has been closed through a monetary transaction. |
Amount | N | NUMBER | A monetary total. |
WriteOffAmt | Y | NUMBER | A monetary sum that can be deducted from tax obligations. |
Dateplanned | N | DATE | The date when a specified request must be carried out by. |
IsManual | N | CHAR(1) | A task or process completed directly by the user, not automatically by the application. |
IsValid | N | CHAR(1) | A confirmation that something is correct. |
Generate_Processed | N | CHAR(1) | Generate Processed |
GLItemAmt | Y | NUMBER | null |
C_Settlement_Cancel_ID | Y | VARCHAR2(32) | The settlement used to cancel the corresponding payment. |
C_Glitem_ID | Y | VARCHAR2(32) | An alias for the Account Combination which can be commonly used in daily operations. |
Isdirectposting | N | CHAR(1) | Direct Posting |
Status | Y | VARCHAR2(60) | A defined state or position of a payment. |
C_Project_ID | Y | VARCHAR2(32) | Identifier of a project defined within the Project & Service Management module. |
C_Withholding_ID | Y | VARCHAR2(32) | Withholding |
Withholdingamount | Y | NUMBER | Withholding amount |
Columns
Payment
Refers to the amount of money to be paid or collected.
- Physical column name: C_Debt_Payment_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)
Validation Rule AD_Org show child organizations: It only shows the child organizations of the organization's header. With the following code:
AD_ISORGINCLUDED(ad_org.ad_org_id, @AD_ORG_ID@, ad_org.ad_client_id)<>-1 AND IsReady='Y'
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
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
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
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Receipt
Indicated a sales transaction (Accounts Receivable if Receipt=Y) or a purchase transaction (Accounts Payable if Receipt=N).
- Physical column name: IsReceipt
- Property Name: receipt
- Reference: YesNo
- Default value: Y
- This column is part of the table's identifier
Settlement
- Physical column name: C_Settlement_ID
- Property Name: settlement
- Reference: Search
- This column is a child for a buisiness object (is Parent)
Foreign key column to C_Settlement table, (column: C_Settlement_ID)
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: Text
Invoice
- Physical column name: C_Invoice_ID
- Property Name: invoice
- Reference: Search
Foreign key column to C_Invoice table, (column: C_Invoice_ID)
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
- This column is part of the table's identifier
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Cash Journal Line
- Physical column name: C_CashLine_ID
- Property Name: cashJournalLine
- Reference: Search
Foreign key column to C_CashLine table, (column: C_CashLine_ID)
Bank Statement Line
- Physical column name: C_BankStatementLine_ID
- Property Name: bankStatementLine
- Reference: Search
Foreign key column to C_BankStatementLine table, (column: C_BankStatementLine_ID)
Bank Account
- Physical column name: C_BankAccount_ID
- Property Name: bankAccount
- Reference: TableDir
Foreign key column to C_BankAccount table, (column: C_BankAccount_ID)
Cashbook
- Physical column name: C_CashBook_ID
- Property Name: cashbook
- Reference: TableDir
Foreign key column to C_CashBook table, (column: C_CashBook_ID)
Form of Payment
Form of Payment indicates the method of payment used for this transaction (eg. cash, wire transfer, etc.)
- Physical column name: PaymentRule
- Property Name: formOfPayment
- Reference: List
- This column is part of the table's identifier
List values: All_Payment Rule
The allowed values for this list are:
- 1 (Wire Transfer): Wire Transfer
- 2 (Check): Check
- 3 (Promissory Note): Promissory Note
- 4 (Money Order)
- 5 (Bank Deposit)
- B (Cash): Cash payments that generate an automatic accounting line.
- C (Cash on Delivery): Cash on Delivery
- K (Credit Card)
- P (On Credit): Cash payments that do not generate an automatic accounting line. Its is not an automatic cash entry.
- R (Bank Remittance)
- T (Transfer (ACH))
- W (Withholding)
Payment Complete
The document is paid for.
- Physical column name: IsPaid
- Property Name: paymentComplete
- Reference: YesNo
Amount
The Amount indicates the amount for this document line.
- Physical column name: Amount
- Property Name: amount
- Reference: Number
- This column is part of the table's identifier
Write-off Amount
The Write Off Amount indicates the amount to be written off as uncollectible.
- Physical column name: WriteOffAmt
- Property Name: writeoffAmount
- Reference: Amount
- Default value: 0
Due Date
Refers to a date by which the payment must be completed.
- Physical column name: Dateplanned
- Property Name: dueDate
- Reference: Date
- Default value: @DATE@
- This column is part of the table's identifier
Manual
The Manual check box indicates if the process will done manually.
- Physical column name: IsManual
- Property Name: manual
- Reference: YesNo
- Default value: @MANUAL@
Valid
The element passed the validation check
- Physical column name: IsValid
- Property Name: valid
- Reference: YesNo
Generate_Processed
The settlement generate is processed.
- Physical column name: Generate_Processed
- Property Name: generateProcessed
- Reference: YesNo
Balancing Amount
- Physical column name: GLItemAmt
- Property Name: balancingAmount
- Reference: Amount
Settlement Cancelled
- Physical column name: C_Settlement_Cancel_ID
- Property Name: settlementCancelled
- Reference: Table
Foreign key column to C_Settlement table, (column: C_Settlement_ID)
Reference Table C_Settlement
Validation Rule Settlement that cancels this payment: Settlement that cancels this payment. With the following code:
C_Settlement_ID = @C_Settlement_Cancel_ID@
G/L Item
- Physical column name: C_Glitem_ID
- Property Name: gLItem
- Reference: TableDir
Foreign key column to C_Glitem table, (column: C_Glitem_ID)
Direct Posting
Direct Posting
- Physical column name: Isdirectposting
- Property Name: directPosting
- Reference: YesNo
Status
Current status of a debt/payment.
- Physical column name: Status
- Property Name: status
- Reference: List
List values: C_DP_Management_Status
The allowed values for this list are:
- AN (Advance)
- DE (--)
- RC (Received)
- RE (Returned)
- RT (In Remittance)
- SE (Sent)
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: TableDir
Foreign key column to C_Project table, (column: C_Project_ID)
Withholding
- Physical column name: C_Withholding_ID
- Property Name: withholding
- Reference: TableDir
Foreign key column to C_Withholding table, (column: C_Withholding_ID)
Withholdingamount
- Physical column name: Withholdingamount
- Property Name: withholdingamount
- Reference: Amount