ERP 2.50:Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN Payment Schedule
FIN_Payment_Schedule
- Name:FIN_Payment_Schedule
- Classname:FIN_PaymentSchedule
This table contains the following columns:
Name | Nullable | Data Type | Description |
Fin_Payment_Schedule_ID | N | VARCHAR2(32) | null |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
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 |
C_Invoice_ID | Y | VARCHAR2(32) | A document listing products, quantities and prices, payment terms, etc. |
C_Order_ID | Y | VARCHAR2(32) | A unique and often automatically generated identifier for a sales order. |
Duedate | Y | DATE | The date when a specified request must be carried out by. |
Fin_Paymentmethod_ID | N | VARCHAR2(32) | It is the method by which payment is expected to be made or received. |
C_Currency_ID | N | VARCHAR2(32) | An accepted medium of monetary exchange that may vary across countries. |
Amount | N | NUMBER | null |
Paidamt | N | NUMBER | null |
Outstandingamt | N | NUMBER | Outstanding Amount |
Isactive | Y | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
FIN_Payment_Priority_ID | Y | VARCHAR2(32) | Sets the priority of the payment plans generated when processing the invoice or order. |
Update_Payment_Plan | Y | CHAR(1) | Shows a popup where the user can modify some payment plan details. |
Other Info
Check constraints
These are the check constraints for this table:
- FIN_PAYSCHED_UPP_CHK: UPDATE_PAYMENT_PLAN 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):
Unique
- FIN_PAYMENT_SCHEDULE_KEY
Columns
Fin_Payment_Schedule_ID
- Physical column name: Fin_Payment_Schedule_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)
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
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 Security validation: Organizations of the Client with user acces rights. 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'))
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
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: SYSDATE
Updated By
- Physical column name: Updatedby
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Invoice
- Physical column name: C_Invoice_ID
- Property Name: invoice
- Reference: TableDir
- This column is a child for a buisiness 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)
Due Date
Date when the payment is due without deductions or discount
- Physical column name: Duedate
- Property Name: dueDate
- Reference: Date
- This column is part of the table's identifier
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)
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Amount
- Physical column name: Amount
- Property Name: amount
- Reference: Amount
- Default value: 0
- This column is part of the table's identifier
Paid Amount
- Physical column name: Paidamt
- Property Name: paidAmount
- Reference: Amount
- Default value: 0
Outstanding Amount
Outstanding Amount. Amount pending to be paid
- Physical column name: Outstandingamt
- Property Name: outstandingAmount
- Reference: Amount
- Default value: 0
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
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)
Update_Payment_Plan
Shows a popup where the user can modify some payment plan details.
- Physical column name: Update_Payment_Plan
- Property Name: updatePaymentPlan
- Reference: Button
- Default value: Y
Related tables
Tables that link this table:
- FIN_Payment_ScheduleDetail.Invoice Payment Schedule
- FIN_Payment_ScheduleDetail.Order Payment Schedule