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.financialmgmt.accounting/C BudgetLine

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.financialmgmt.accounting


Contents

C_BudgetLine

This table contains the following columns:

Name Nullable Data Type Description


C_Budgetline_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.
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.
C_ELEMENTVALUE_ID No VARCHAR (32) Account Elements can be natural accounts or user defined values.
C_Period_ID Yes VARCHAR (32) The Period indicates an exclusive range of dates for a calendar.
C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.
C_UOM_ID Yes VARCHAR (32) The UOM defines a unique non monetary unit of measure
Qty Yes DECIMAL The Quantity indicates the number of a specific product or item for this document.
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
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.
AD_OrgTrx_ID Yes VARCHAR (32) The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.
C_SalesRegion_ID Yes VARCHAR (32) The Sales Region indicates a specific area of sales coverage.
C_Project_ID Yes VARCHAR (32) Identifier of a project defined within the Project & Service Management module.
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_Activity_ID Yes VARCHAR (32) Activities indicate tasks that are performed and used to utilize Activity based Costing
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.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
SeqNo No DECIMAL (10,0) The Sequence indicates the order of records
C_BP_Group_ID Yes VARCHAR (32) A way of grouping business partners together for classification and reporting purposes. Provides a method of defining certain defaults to be used when opening new business partners.
M_Product_Category_ID Yes VARCHAR (32) Identifies the category which this product belongs to. Product categories are used for pricing.
C_Budget_ID Yes VARCHAR (32) Used to define the anticipated costs of doing business
Amount Yes DECIMAL The Amount indicates the amount for this document line.
Price Yes DECIMAL The Price indicates the Price for a product or service.
C_Acctschema_ID No VARCHAR (32) The book containing all financial transactions recorded for the legal entity.
A_Asset_ID Yes VARCHAR (32) Any item of economic value owned by the corporation, especially that which could be converted to cash.
C_Costcenter_ID Yes VARCHAR (32) Division that adds to the cost of an organization. Internal structure for cost allocation.
Actualamt Yes DECIMAL Actual amount indicates the agreed upon amount for a document.

Columns

Budget 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) It has a validation "AD_Org show child organizations", with the following code

AD_ISORGINCLUDED(ad_org.ad_org_id, CASE WHEN (@Parent_AD_Org@ IS NULL OR @Parent_AD_Org@ = ) THEN @AD_ORG_ID@ ELSE @Parent_AD_Org@ END, ad_org.ad_client_id)<>-1 AND IsReady='Y'

top


Active



top


Creation Date



top


Created By


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

top


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) It has a validation "C_ELEMENTVALUE SUBACCOUNTS", with the following code

C_ELEMENTVALUE.ELEMENTLEVEL='S'

top


Period

Foreign key column to C_Period table, (column: C_Period_ID) It has a validation "C_Period_ID of selected year", 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



top


Product


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

Callout: SL_Budget_Product

This column has a callout associated.

It is implemented by [1] 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)

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


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

top


2nd Dimension


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

top


Description



top


Sequence Number


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



top


Price



top


Accounting Schema


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

top


Asset


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

top


Costcenter


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

top


Actual Amount



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.financialmgmt.accounting

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

This page has been accessed 1,140 times. This page was last modified on 5 August 2014, at 13:59. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.