ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN Payment Schedule
FIN_Payment_Schedule
- Name:FIN_Payment_Schedule
- Classname:FIN_Payment_Schedule
This table contains the following columns:
Name | Nullable | Data Type | Description
|
Isactive | Yes | 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. |
Amount | No | DECIMAL | |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
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. |
Description | Yes | VARCHAR (255) | A description is limited to 255 characters. |
Duedate | No | TIMESTAMP (7) | Date when the payment is due without deductions or discount |
EM_Aprm_Modif_Paym_Sched | Yes | CHAR (1) | |
EM_Aprm_Modif_Paym_Out_Sched | Yes | CHAR (1) | |
ExpectedDate | No | TIMESTAMP (7) | Date when the payment is due without deductions or discount |
FIN_Payment_Priority_ID | Yes | VARCHAR (32) | Sets the priority of the payment plans generated when processing the invoice or order.
The distribution algorithm will be driven by this priority. The pending payments for order or payments will be displayed ordered by the payment priority first and then by the due date. |
Fin_Payment_Schedule_ID | No | VARCHAR (32) | |
Fin_Paymentmethod_ID | No | VARCHAR (32) | |
C_Invoice_ID | No | VARCHAR (32) | The Invoice ID uniquely identifies an Invoice Document. |
C_Order_ID | Yes | VARCHAR (32) | Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type. |
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. |
OrigDueDate | Yes | TIMESTAMP (7) | Due date for the payment plan as per contract |
Outstandingamt | No | DECIMAL | Outstanding Amount. Amount pending to be paid |
Paidamt | No | DECIMAL | |
Update_Payment_Plan | Yes | CHAR (1) | Shows a popup where the user can modify some payment plan details. |
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
Amount
- Physical column name: Amount
- Property Name: amount
- Reference: Amount
- Default value: 0
- This column is part of the table's identifier
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Security validation", with the following code
AD_Client.AD_Client_ID in (@#User_Client@)
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)
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
Due Date
- Physical column name: Duedate
- Property Name: dueDate
- Reference: Date
- This column is part of the table's identifier
EM_Aprm_Modif Payment IN Plan
- Physical column name: EM_Aprm_Modif_Paym_Sched
- Property Name: aprmModifPaymentINPlan
- Reference: Button
- Default value: N
EM_Aprm_Modif Payment OUT Plan
- Physical column name: EM_Aprm_Modif_Paym_Out_Sched
- Property Name: aprmModifPaymentOUTPlan
- Reference: Button
- Default value: N
ExpectedDate
- Physical column name: ExpectedDate
- Property Name: expectedDate
- Reference: Date
FIN_Payment_Priority_ID
- Physical column name: FIN_Payment_Priority_ID
- Property Name: fINPaymentPriority
- Reference: TableDir
Foreign key column to FIN_Payment_Priority table, (column: FIN_Payment_Priority_ID)
Fin_Payment_Schedule_ID
- Physical column name: Fin_Payment_Schedule_ID
- Property Name: id
- Reference: ID
Fin_Paymentmethod_ID
- Physical column name: Fin_Paymentmethod_ID
- Property Name: finPaymentmethod
- Reference: TableDir
Foreign key column to FIN_PaymentMethod table, (column: Fin_Paymentmethod_ID)
Invoice
- Physical column name: C_Invoice_ID
- Property Name: invoice
- Reference: Search
- This column is a child for a business object (is Parent)
Foreign key column to C_Invoice table, (column: C_Invoice_ID)
Order
- Physical column name: C_Order_ID
- Property Name: order
- Reference: TableDir
Foreign key column to C_Order table, (column: C_Order_ID)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
It has a validation "AD_Org Security validation", with the following code
(@AD_Client_ID@='0' AND AD_Org.AD_Org_ID='0') OR (@AD_Client_ID@!='0' AND ((AD_Org.AD_Client_ID IN (@#User_Client@) AND AD_Org.AD_Org_ID IN (@#User_Org@)) OR AD_Org.AD_Org_ID='0' AND AD_Org.IsSummary='N'))
OrigDueDate
- Physical column name: OrigDueDate
- Property Name: origDueDate
- Reference: Date
Outstanding Amount
- Physical column name: Outstandingamt
- Property Name: outstandingAmount
- Reference: Amount
- Default value: 0
Paid Amount
- Physical column name: Paidamt
- Property Name: paidAmount
- Reference: Amount
- Default value: 0
Update_Payment_Plan
- Physical column name: Update_Payment_Plan
- Property Name: updatePaymentPlan
- Reference: Button
- Default value: Y
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):
- FIN_PAYM_SCH_INV_IDX Not Unique. Columns:
- C_INVOICE_ID
- FIN_PAYM_SCH_ORD_IDX Not Unique. Columns:
- C_ORDER_ID
- FIN_PAYMENT_SCHEDULE_OUTAMT Not Unique. Columns:
- OUTSTANDINGAMT
Check Constraints
These are the check constraints for this table:
- FIN_PAYSCHED_UPP_CHK: UPDATE_PAYMENT_PLAN IN ('Y', 'N')