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

ERP 2.50:Developers Guide/Database Model/org.openbravo.model.financialmgmt.accounting/C BudgetLine

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

Index

Contents

C_BudgetLine

Refers to the lines associated to a budget.

This table contains the following columns:

Name Nullable Data Type Description
C_Budgetline_ID NVARCHAR2(32)null
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
C_ELEMENTVALUE_ID YVARCHAR2(32)A identification code for an account type.
C_Period_ID YVARCHAR2(32)A specified time period.
C_Currency_ID NVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
C_UOM_ID YVARCHAR2(32)A non monetary unit of measure.
Qty YNUMBERThe number of a certain item.
M_Product_ID YVARCHAR2(32)An item produced by a process.
C_BPartner_ID YVARCHAR2(32)Anyone who takes part in daily business operations by acting as a customer, employee, etc.
AD_OrgTrx_ID YVARCHAR2(32)The organization which performs or initiates the transaction.
C_SalesRegion_ID YVARCHAR2(32)A defined section of the world where sales efforts will be focused.
C_Project_ID YVARCHAR2(32)Identifier of a project defined within the Project & Service Management module.
C_Campaign_ID YVARCHAR2(32)An advertising effort aimed at increasing sales.
C_Activity_ID YVARCHAR2(32)A distinct activity defined and used in activity based management.
User1_ID YVARCHAR2(32)A display of optional elements that are previously defined for this account combination.
User2_ID YVARCHAR2(32)A display of optional elements that are previously defined for this account combination.
Description YNVARCHAR2(255)A space to write additional related information.
SeqNo NNUMBER(10, 0)The order of records in a specified document.
C_BP_Group_ID YVARCHAR2(32)A classification of business partners based on defined similarities.
M_Product_Category_ID YVARCHAR2(32)A classification of items based on similar characteristics or attributes.
C_Budget_ID YVARCHAR2(32)A group of planned expenses for a task.
Amount YNUMBERA monetary total.
Price YNUMBERThe cost or value of a good or service.
C_Acctschema_ID YVARCHAR2(32)The structure used in accounting including costing methods, currencies, and the calendar.

Other Info

Check constraints

These are the check constraints for this table:

top

Indexes

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

Unique

top

Columns

Budget Line

The ID identifies a unique record

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

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

Account Element

Foreign key column to C_ELEMENTVALUE table, (column: C_ElementValue_ID)


Validation Rule C_ELEMENTVALUE SUBACCOUNTS: null. With the following code:

 
C_ELEMENTVALUE.ELEMENTLEVEL='S'

top

Period

Foreign key column to C_Period table, (column: C_Period_ID)


Reference Table C_Period (all)


Validation Rule C_Period_ID of selected year: null. With the following code:

 
C_Period.C_Year_ID IN (SELECT C_Budget.C_Year_ID FROM C_Budget WHERE C_Budget.C_Budget_ID = @C_Budget_ID@)

top

Currency

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

top

UOM

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

top

Quantity

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

top

Product

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

Callout: SL_Budget_Product

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_Budget_Product Java class.

top

Business Partner

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

top

Trx Organization

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


Reference Table AD_Org (Trx) With the following where clause:

 
AD_Org.IsSummary='N' AND AD_Org_ID <> '0'


top

Sales Region

Foreign key column to C_SalesRegion table, (column: C_SalesRegion_ID)

top

Project

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

top

Sales Campaign

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

top

Activity

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

top

1st Dimension

The user defined element displays the optional elements that have been defined for this account combination.

top

2nd Dimension

The user defined element displays the optional elements that have been defined for this account combination.

top

Description

A description is limited to 255 characters.

top

Sequence Number

The Sequence indicates the order of records

top

Business Partner Category

Foreign key column to C_BP_Group table, (column: C_BP_Group_ID)

top

Product Category

Foreign key column to M_Product_Category table, (column: M_Product_Category_ID)

top

Budget

Foreign key column to C_Budget table, (column: C_Budget_ID)

top

Amount

The Amount indicates the amount for this document line.

top

Price

The Price indicates the Price for a product or service.

top

Accounting Schema

Foreign key column to C_Acctschema table, (column: C_AcctSchema_ID)

top

Related tables

Tables that link this table:

top

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.accounting/C_BudgetLine"

This page has been accessed 2,970 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.