ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/Fin Orig Payment Schedule
Contents |
Fin_Orig_Payment_Schedule
- Name:Fin_Orig_Payment_Schedule
- Classname:Fin_Orig_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. |
Duedate | Yes | TIMESTAMP (7) | Date when the payment is due without deductions or discount |
FIN_Orig_Payment_Schedule_ID | No | VARCHAR (32) | |
C_Invoice_ID | Yes | VARCHAR (32) | The Invoice ID uniquely identifies an Invoice Document. |
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. |
FIN_Paymentmethod_ID | No | VARCHAR (32) | |
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. |
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. |
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)
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
- This column is part of the table's identifier
Foreign key column to C_Currency table, (column: C_Currency_ID)
Due Date
- Physical column name: Duedate
- Property Name: dueDate
- Reference: Date
- This column is part of the table's identifier
FIN_Orig_Payment_Schedule_ID
- Physical column name: FIN_Orig_Payment_Schedule_ID
- Property Name: id
- Reference: ID
Invoice
- Physical column name: C_Invoice_ID
- Property Name: invoice
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to C_Invoice table, (column: C_Invoice_ID)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Payment Method
- Physical column name: FIN_Paymentmethod_ID
- Property Name: paymentMethod
- Reference: TableDir
Foreign key column to FIN_PaymentMethod table, (column: Fin_Paymentmethod_ID)
Payment Priority
- Physical column name: FIN_Payment_Priority_ID
- Property Name: paymentPriority
- Reference: TableDir
Foreign key column to FIN_Payment_Priority table, (column: FIN_Payment_Priority_ID)
Sales Order
- Physical column name: C_Order_ID
- Property Name: salesOrder
- Reference: TableDir
Foreign key column to C_Order table, (column: C_Order_ID)
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_ORIG_PAYM_SCHED_IND Not Unique. Columns:
- C_INVOICE_ID
Check Constraints
These are the check constraints for this table:
- FIN_PAYORIGSCHED_ISAC_CHK: ISACTIVE IN ('Y', 'N')
- FIN_PAYORIGSCHED_UPP_CHK: UPDATE_PAYMENT_PLAN IN ('Y', 'N')