ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.invoice/C InvoiceSchedule
C_InvoiceSchedule
- Name:C_InvoiceSchedule
- Classname:InvoiceSchedule
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. |
Amt | No | DECIMAL | Amount |
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. |
InvoiceDay | Yes | DECIMAL (10,0) | The Invoice Day indicates the day of invoice generation. If twice monthly, the second time is 15 days after this day. |
InvoiceWeekDay | No | VARCHAR (60) | The Invoice Week Day indicates the day of the week to generate invoices. |
InvoiceWeekDayCutoff | Yes | VARCHAR (60) | The Invoice Week Day Cutoff indicates the last day of the week a shipment must be made to be included in the invoice schedule. |
IsDefault | No | 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. |
InvoiceDayCutoff | Yes | DECIMAL (10,0) | The Invoice Day Cut Off indicates the last day for shipments to be included in the current invoice schedule. For example, if the invoice schedule is defined for the first day of the month, the cut off day may be the 25th of the month. An shipment on the 24th of May would be included in the invoices sent on June 1st but a shipment on the 26th would be included in the invoices sent on July 1st. |
InvoiceFrequency | No | VARCHAR (60) | The Invoice Frequency indicates the frequency of invoice generation for a Business Partner. |
C_InvoiceSchedule_ID | No | VARCHAR (32) | The Invoice Schedule identifies the frequency used when generating invoices. |
EvenInvoiceWeek | Yes | CHAR (1) | The Invoice on Even Weeks checkbox indicates if biweekly invoices should be sent on even week numbers. |
IsAmount | No | CHAR (1) | The Amount Limit checkbox indicates if invoices will be sent out if they are below the entered limit. |
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. |
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. |
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: Amt
- Property Name: amount
- Reference: Amount
- Default value: 0
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
Day of the Month
- Physical column name: InvoiceDay
- Property Name: dayOfTheMonth
- Reference: Integer
Day of the Week
- Physical column name: InvoiceWeekDay
- Property Name: dayOfTheWeek
- 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)
Day of the Week Cut-off
- Physical column name: InvoiceWeekDayCutoff
- Property Name: dayOfTheWeekCutoff
- 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)
Default
- Physical column name: IsDefault
- Property Name: default
- Reference: YesNo
- Default value: N
Description
- Physical column name: Description
- Property Name: description
- Reference: String
Invoice Cut-Off Day
- Physical column name: InvoiceDayCutoff
- Property Name: invoiceCutOffDay
- Reference: Integer
Invoice Frequency
- Physical column name: InvoiceFrequency
- Property Name: invoiceFrequency
- Reference: List
List values: C_InvoiceSchedule InvoiceFrequency
The allowed values for this list are:
- D (Daily)
- W (Weekly)
- M (Monthly)
- T (Twice Monthly)
Invoice Schedule
- Physical column name: C_InvoiceSchedule_ID
- Property Name: id
- Reference: ID
Invoice on Even Weeks
- Physical column name: EvenInvoiceWeek
- Property Name: invoiceOnEvenWeeks
- Reference: YesNo
- Default value: Y
Limit Amount
- Physical column name: IsAmount
- Property Name: limitAmount
- Reference: YesNo
- Default value: N
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
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
Check Constraints
These are the check constraints for this table:
- C_INVOICESCHEDULE_EVENINVO_CHK: EVENINVOICEWEEK IN ('Y', 'N')
- C_INVOICESCHEDULE_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- C_INVOICESCHEDULE_ISAMOUNT_CHK: ISAMOUNT IN ('Y', 'N')