ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/C PaymentTerm
C_PaymentTerm
- Name:C_PaymentTerm
- Classname:FinancialMgmtPaymentTerm
This table contains the following columns:
Name | Nullable | Data Type | Description
|
IsActive | No | 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. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
DocumentNote | Yes | NVARCHAR (2000) | The Document Note is used for recording any additional information regarding this product. |
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. |
IsDefault | Yes | CHAR (1) | The Default Checkbox indicates if this record will be used as a default value. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
IsDueFixed | No | CHAR (1) | The Fixed Due Date checkbox indicates if invoices using this payment term will be due on a fixed day of the month. |
FixMonthDay | Yes | DECIMAL (10,0) | The Fix Month Day indicates the day of the month that invoices are due. This field is displayed only when the fixed due date checkbox is selected. 3 different fix month days can be defined. |
FixMonthDay2 | Yes | DECIMAL (10,0) | The Fix Month Day indicates the day of the month that invoices are due. This field is displayed only when the fixed due date checkbox is selected. 3 different fix month days can be defined. |
Fixmonthday3 | Yes | DECIMAL (10,0) | The Fix Month Day indicates the day of the month that invoices are due. This field is displayed only when the fixed due date checkbox is selected. 3 different fix month days can be defined. |
Name | No | NVARCHAR (60) | A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length. |
IsNextBusinessDay | Yes | CHAR (1) | The Next Business Day checkbox indicates that payment is due on the next business day after invoice or delivery. |
FixMonthOffset | No | DECIMAL (10,0) | The Offset Month Due indicates the number of months from the current month to indicate an invoice is due. A 0 indicates the same month, a 1 the following month. |
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. |
NetDay | Yes | VARCHAR (60) | When defined, overwrites the number of net days with the relative number of days to the day defined. |
NetDays | No | DECIMAL (10,0) | Indicates the number of days after invoice date that payment is due. |
C_PaymentTerm_ID | No | VARCHAR (32) | Payment Terms identify the method and timing of payment for this transaction. |
Value | No | NVARCHAR (40) | A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
Usually, company's internal identifiers for various records (products, customers, etc) are stored here. |
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. |
IsValid | No | CHAR (1) | The element passed the validation check |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Comments
- Physical column name: DocumentNote
- Property Name: comments
- Reference: Text
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
Default
- Physical column name: IsDefault
- Property Name: default
- Reference: YesNo
- Default value: N
Description
- Physical column name: Description
- Property Name: description
- Reference: String
Fixed Due Date
- Physical column name: IsDueFixed
- Property Name: fixedDueDate
- Reference: YesNo
- Default value: N
Maturity Date 1
- Physical column name: FixMonthDay
- Property Name: maturityDate1
- Reference: Integer
Maturity Date 2
- Physical column name: FixMonthDay2
- Property Name: maturityDate2
- Reference: Integer
Maturity Date 3
- Physical column name: Fixmonthday3
- Property Name: maturityDate3
- Reference: Integer
- Default value: 0
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Next Business Day
- Physical column name: IsNextBusinessDay
- Property Name: nextBusinessDay
- Reference: YesNo
- Default value: Y
Offset Month Due
- Physical column name: FixMonthOffset
- Property Name: offsetMonthDue
- Reference: Integer
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Overdue Payment Day Rule
- Physical column name: NetDay
- Property Name: overduePaymentDayRule
- Reference: List
List values: Weekdays
The allowed values for this list are:
- 1 (Monday)
- 2 (Tuesday)
- 3 (Wednesday)
- 4 (Thursday)
- 5 (Friday)
- 6 (Saturday)
- 7 (Sunday)
Overdue Payment Days Rule
- Physical column name: NetDays
- Property Name: overduePaymentDaysRule
- Reference: Integer
Payment Terms
- Physical column name: C_PaymentTerm_ID
- Property Name: id
- Reference: ID
Search Key
- Physical column name: Value
- Property Name: searchKey
- Reference: String
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)
Valid
- Physical column name: IsValid
- Property Name: valid
- Reference: YesNo
- Default value: N
Other Info
Check Constraints
These are the check constraints for this table:
- C_PAYMENTTERM_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_PAYMENTTERM_ISDUEFIXED_CHK: ISDUEFIXED IN ('Y', 'N')
- C_PAYMENTTERM_ISNEXTBUSINE_CHK: ISNEXTBUSINESSDAY IN ('Y', 'N')