View source | Discuss this page | Page history | Printable version   

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.timeandexpense/S TimeExpenseLine V

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.timeandexpense

Index

Contents

S_TimeExpenseLine_V

View and modify Time and Expense Report Lines. It lists expense items for the business partner on the expense header where the expense lines were not invoiced yet.

This table contains the following columns:

Name Nullable Data Type Description
S_TimeExpenseLine_ID NVARCHAR2(32)Time and Expense Report Line
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
IsActive NCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
Createdby NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
Updatedby NVARCHAR2(32)User who updated this records
S_TimeExpense_ID NVARCHAR2(32)A list of billable expenses related to time, travel, and basis business conduct.
Line NNUMBER(10, 0)A line stating the position of this request in the document.
IsTimeReport NCHAR(1)An indication that the charge is due to time, not typically justifiable by receipt.
Datereport NDATEExpense/Time Report Date
M_Product_ID YVARCHAR2(32)An item produced by a process.
Qty YNUMBERThe number of a certain item.
Expenseamt YNUMBERAmount for this expense
C_Currency_ID YVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
ConvertedAmt YNUMBERThe monetary sum at which one unit of measure is changed to another.
S_ResourceAssignment_ID YVARCHAR2(32)x not implemented
Description YNVARCHAR2(255)A space to write additional related information.
Note YNVARCHAR2(255)A space to write additional related information.
IsInvoiced NCHAR(1)An indication that a transaction may be invoiced to a business partner.
C_Project_ID YVARCHAR2(32)Identifier of a project defined within the Project & Service Management module.
C_Activity_ID YVARCHAR2(32)A distinct activity defined and used in activity based management.
C_Campaign_ID YVARCHAR2(32)An advertising effort aimed at increasing sales.
C_InvoiceLine_ID YVARCHAR2(32)A statement displaying one item or charge in an invoice.
InvoicePrice YNUMBERThe price at which something may be invoiced, shown in the currency of the invoiced business partner.
C_UOM_ID YVARCHAR2(32)A non monetary unit of measure.
C_OrderLine_ID YVARCHAR2(32)A unique and often automatically generated identifier for a sales order line.
C_ProjectPhase_ID YVARCHAR2(32)A defined section of a project.
C_ProjectTask_ID YVARCHAR2(32)A job to be carried out during the phase of a project.
S_Timetype_ID YVARCHAR2(32)Type of time recorded
C_BPartner_ID NVARCHAR2(32)Anyone who takes part in daily business operations by acting as a customer, employee, etc.
Dateexpense YDATEDate of expense
TEL_C_Bpartner_ID YVARCHAR2(32)Anyone who takes part in daily business operations by acting as a customer, employee, etc.

Columns

Expense Line

Foreign key column to S_TimeExpenseLine table, (column: S_TimeExpenseLine_ID)

top

Client

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@)

top

Organization

Foreign key column to AD_Org table, (column: AD_Org_ID)

top

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.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

Foreign key column to AD_User table, (column: AD_User_ID)

top

Expense Sheet

Foreign key column to S_TimeExpense table, (column: S_TimeExpense_ID)

top

Line No.

Indicates the unique line for a document. It will also control the display order of the lines within a document.

top

Time Sheet

The line contains only time information

top

Report Date

Date of Expense/Time Report

top

Product

Foreign key column to M_Product table, (column: M_Product_ID)

top

Quantity

The Quantity indicates the number of a specific product or item for this document.

top

Expense Amount

Expense amount in currency

top

Currency

Foreign key column to C_Currency table, (column: C_Currency_ID)

top

Converted Amount

The Converted Amount is the result of multiplying the Source Amount by the Conversion Rate for this target currency.

top

Resource Assignment

Foreign key column to S_ResourceAssignment table, (column: S_ResourceAssignment_ID)

top

Description

A description is limited to 255 characters.

top

Comments

The Note field allows for optional entry of user defined information regarding this record

top

Re-invoice

Indicator if invoiced

top

Project

Foreign key column to C_Project table, (column: C_Project_ID)

top

Activity

Foreign key column to C_Activity table, (column: C_Activity_ID)

top

Sales Campaign

Foreign key column to C_Campaign table, (column: C_Campaign_ID)

top

Invoice Line

Foreign key column to C_InvoiceLine table, (column: C_InvoiceLine_ID)

top

Invoice Price

Unit Price in the currency of the business partner! If it is 0, the standard price of the sales price list of the business partner (customer) is used.

top

UOM

Foreign key column to C_UOM table, (column: C_UOM_ID)

top

Sales Order Line

Foreign key column to C_OrderLine table, (column: C_OrderLine_ID)

top

Project Phase

Foreign key column to C_ProjectPhase table, (column: C_ProjectPhase_ID)

top

Project Task

Foreign key column to C_ProjectTask table, (column: C_ProjectTask_ID)

top

Time Type

Foreign key column to S_Timetype table, (column: S_TimeType_ID)

top

Business Partner

Foreign key column to C_BPartner table, (column: C_BPartner_ID)

top

Expense Date

Date of expense

top

Charged Business Partner

Foreign key column to TEL_C_Bpartner table, (column: null)

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Database_Model/org.openbravo.model.timeandexpense/S_TimeExpenseLine_V"

This page has been accessed 2,612 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.