View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.timeandexpense/S TimeExpenseLine

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.model.timeandexpense


Contents

S_TimeExpenseLine

This table contains the following columns:

Name Nullable Data Type Description


C_ProjectTask_ID Yes VARCHAR (32) A Project Task in a Project Phase represents the actual work.
C_ProjectPhase_ID Yes VARCHAR (32) Identifies a phase for a particular project.
S_TimeType_ID Yes VARCHAR (32) Differentiate time types for reporting purposes (In parallel to Activities)
C_Campaign_ID Yes VARCHAR (32) The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.
C_UOM_ID No VARCHAR (32) The UOM defines a unique non monetary unit of measure
C_OrderLine_ID Yes VARCHAR (32) A unique identifier and a reference to a sales order line (product).
InvoicePrice Yes DECIMAL 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.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
S_TimeExpenseLine_ID No VARCHAR (32) The ID identifies a unique record
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
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.
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.

Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
CreatedBy No VARCHAR (32) The Created By field indicates the user who created this record.
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
S_TimeExpense_ID No VARCHAR (32) The ID identifies a unique record for the expense report
IsTimeReport No CHAR (1) The line contains only time information
DateExpense Yes TIMESTAMP (7) Date of expense
M_Product_ID No VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
Qty No DECIMAL The Quantity indicates the number of a specific product or item for this document.
ExpenseAmt Yes DECIMAL Expense amount in currency
S_ResourceAssignment_ID Yes VARCHAR (32) The ID identifies a unique record
C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.
C_Project_ID Yes VARCHAR (32) Identifier of a project defined within the Project & Service Management module.
C_Activity_ID Yes VARCHAR (32) Activities indicate tasks that are performed and used to utilize Activity based Costing
ConvertedAmt Yes DECIMAL The Converted Amount is the result of multiplying the Source Amount by the Conversion Rate for this target currency.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
Note Yes NVARCHAR (255) The Note field allows for optional entry of user defined information regarding this record
IsInvoiced No CHAR (1) Indicator if invoiced
C_BPartner_ID Yes VARCHAR (32) A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
C_InvoiceLine_ID Yes VARCHAR (32) The Invoice Line uniquely identifies a single line of an Invoice.
Line No DECIMAL (10,0) Indicates the unique line for a document. It will also control the display order of the lines within a document.
User1_ID Yes VARCHAR (32) The user defined element displays the optional elements that have been defined for this account combination.
User2_ID Yes VARCHAR (32) The user defined element displays the optional elements that have been defined for this account combination.
C_Costcenter_ID Yes VARCHAR (32) Division that adds to the cost of an organization. Internal structure for cost allocation.
A_Asset_ID Yes VARCHAR (32) Any item of economic value owned by the corporation, especially that which could be converted to cash.

Columns

Project Task


Foreign key column to C_ProjectTask table, (column: C_ProjectTask_ID) It has a validation "C_ProjectTask of ProjectPhase", with the following code

C_ProjectTask.C_ProjectPhase_ID=@C_ProjectPhase_ID@

top


Project Phase


Foreign key column to C_ProjectPhase table, (column: C_ProjectPhase_ID) It has a validation "C_ProjectPhase of Project", with the following code

C_ProjectPhase.C_Project_ID=@C_Project_ID@

top


Time Type


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

top


Sales Campaign


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

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


Invoice Price


Callout: SE_Expense_Product

This column has a callout associated.

It is implemented by [1] Java Class.

top


Updated



top


Expense Line



top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID)

top


Organization


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

top


Active



top


Creation Date



top


Created By


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

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


Time Sheet



top


Expense Date



Callout: SE_Expense_Amount

This column has a callout associated.

It is implemented by [2] Java Class.

top


Product


Foreign key column to M_Product table, (column: M_Product_ID) It has a validation "S_Expense product type", with the following code

PRODUCTTYPE = (CASE WHEN @ISTIMEREPORT@ IS NULL THEN 'E' WHEN @ISTIMEREPORT@='Y' THEN 'S' ELSE 'E' END) AND isgeneric = 'N'

Callout: SE_Expense_Product

This column has a callout associated.

It is implemented by [3] Java Class.

top


Quantity


Callout: SE_Expense_Product

This column has a callout associated.

It is implemented by [4] Java Class.

top


Expense Amount


Callout: SE_Expense_Amount

This column has a callout associated.

It is implemented by [5] Java Class.

top


Resource Assignment


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

top


Currency


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

Callout: SE_Expense_Amount

This column has a callout associated.

It is implemented by [6] Java Class.

top


Project


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

Callout: SE_Expense_BP_Project

This column has a callout associated.

It is implemented by [7] Java Class.

top


Activity


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

top


Converted Amount



top


Description



top


Comments



top


Re-invoice



top


Business Partner


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

Callout: SE_Expense_BP_Project

This column has a callout associated.

It is implemented by [8] Java Class.

top


Invoice Line


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

top


Line No.


top


1st Dimension


Foreign key column to User1 table, (column: User1_ID)

top


2nd Dimension


Foreign key column to User2 table, (column: User2_ID)

top


Cost Center


Foreign key column to C_Costcenter table, (column: C_Costcenter_ID)

top


Asset


Foreign key column to A_Asset table, (column: A_Asset_ID)

top


Other Info

Indices

These are the indices for this table (for each index there is a list of all the columns included within it):

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.model.timeandexpense

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.timeandexpense/S_TimeExpenseLine"

This page has been accessed 1,010 times. This page was last modified on 1 December 2016, at 02:17. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.