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.gl/GL JournalLine

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.gl


Contents

GL_JournalLine

This table contains the following columns:

Name Nullable Data Type Description


C_ValidCombination_ID Yes VARCHAR (32) The Combination identifies a valid combination of element which represent a GL account.
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.
C_Debt_Payment_ID Yes VARCHAR (32) Refers to the amount of money to be paid or collected.
C_Withholding_ID Yes VARCHAR (32) The Withholding indicates the type of withholding to be calculated.
C_Tax_ID Yes VARCHAR (32) The Tax indicates the type of tax for this document line.
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_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_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
C_Salesregion_ID Yes VARCHAR (32) The Sales Region indicates a specific area of sales coverage.
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.
EM_Aprm_Addpayment Yes CHAR (1) Launches a process to add a payment to the selected invoice.
A_Asset_ID Yes VARCHAR (32) Any item of economic value owned by the corporation, especially that which could be converted to cash.
FIN_Payment_ID Yes VARCHAR (32) Payment event
C_Costcenter_ID Yes VARCHAR (32) Division that adds to the cost of an organization. Internal structure for cost allocation.
FIN_Financial_Account_ID Yes VARCHAR (32) Financial account used to deposit / withdrawal money such as bank accounts or petty cash
FIN_Paymentmethod_ID Yes VARCHAR (32)
Open_Items No CHAR (1)
C_Glitem_ID Yes VARCHAR (32) General ledger item.
Paymentdate Yes TIMESTAMP (7)
Account_ID Yes VARCHAR (32)
Qty Yes DECIMAL The Quantity indicates the number of a specific product or item for this document.
C_UOM_ID Yes VARCHAR (32) The UOM defines a unique non monetary unit of measure
DateAcct No TIMESTAMP (7) The date this transaction is recorded on in the general ledger. This date also indicates which accounting period within the fiscal year this transaction will be part of.
CurrencyRateType No VARCHAR (60) The Conversion Rate Type indicates the type of rate to use when retrieving the conversion rate. It allows you to define multiple rates for the same to and from currency. For example you may have a set of rates used for daily transactions with a rate type of SPOT and rates for currency revaluation defined as REVAL.
CurrencyRate No DECIMAL The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency
IsGenerated No CHAR (1) The Generated checkbox identifies a journal line that was generated from a source document. Lines could also be entered manually or imported.
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.
AmtAcctDr No DECIMAL The Account Debit Amount indicates the transaction amount converted to this organization's accounting currency
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
AmtSourceDr No DECIMAL The Source Debit Amount indicates the credit amount for this line in the source currency.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
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.
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.

AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
GL_JournalLine_ID No VARCHAR (32) The General Ledger Journal Line identifies a single transaction in a journal.
AmtAcctCr No DECIMAL The Account Credit Amount indicates the transaction amount converted to this organization's accounting currency
AmtSourceCr No DECIMAL The Source Credit Amount indicates the credit amount for this line in the source currency.
GL_Journal_ID No VARCHAR (32) The General Ledger Journal identifies a group of journal lines which represent a logical business transaction
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.

Columns

Accounting Combination


Foreign key column to C_ValidCombination table, (column: C_ValidCombination_ID)

top


Line No.


top


Payment


Foreign key column to C_Debt_Payment table, (column: C_Debt_Payment_ID)

top


Withholding


Foreign key column to C_Withholding table, (column: C_Withholding_ID)

top


Tax


Foreign key column to C_Tax table, (column: C_Tax_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


Sales Campaign


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

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 Region


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

top


Product


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

top


Business Partner


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

top


EM_APRM_Add Payment



top


Asset


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

top


Related Payment


Foreign key column to FIN_Payment table, (column: Fin_Payment_ID)

top


Cost Center


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

top


Financial Account


Foreign key column to FIN_Financial_Account table, (column: Fin_Financial_Account_ID) It has a validation "Financial Account Currency", with the following code

FIN_Financial_Account.C_Currency_ID = @C_CURRENCY_ID@

top


Payment Method


Foreign key column to FIN_PaymentMethod table, (column: Fin_Paymentmethod_ID) It has a validation "FIN_PaymentMethodInFinancialAccountOrBPartnerAcc", with the following code

EXISTS(

SELECT FIN_PAYMENTMETHOD_ID FROM FIN_FINACC_PAYMENTMETHOD WHERE FIN_FINANCIAL_ACCOUNT_ID = CASE WHEN (@FIN_FINANCIAL_ACCOUNT_ID@ IS NOT NULL AND @FIN_FINANCIAL_ACCOUNT_ID@ <> COALESCE(,'-1')) THEN @FIN_FINANCIAL_ACCOUNT_ID@ ELSE (SELECT CASE WHEN ((TO_NUMBER(@AMTACCTDR@) - TO_NUMBER(@AMTACCTCR@)) > 0) THEN FIN_FINANCIAL_ACCOUNT_ID ELSE PO_FINANCIAL_ACCOUNT_ID END FROM C_BPARTNER WHERE C_BPARTNER_ID = @C_BPARTNER_ID@) END AND FIN_FINACC_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID = FIN_PAYMENTMETHOD.FIN_PAYMENTMETHOD_ID )

top


Open Items



top


G/L Item


Foreign key column to C_Glitem table, (column: C_Glitem_ID)

top


Payment Date



top


GL Items


Foreign key column to C_Glitem table, (column: C_Glitem_ID) It has a validation "GL Journal GL Items", with the following code

@Multi_Gl@='Y'

top


Quantity



top


UOM


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

top


Accounting Date



Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [1] Java Class.

top


Currency Rate Type



Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [2] Java Class.

List values: C_Conversion_Rate Types

The allowed values for this list are:

top


Rate


Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [3] Java Class.

top


Generated



top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID) It has a validation "AD_Org show GL_Header child organizations", with the following code

(AD_ISORGINCLUDED(ad_org.ad_org_id, @Batch_Org@, ad_org.ad_client_id)<>-1 AND IsReady='Y') or 

AD_ISORGINCLUDED(ad_org.ad_org_id, @Journal_Org@, ad_org.ad_client_id)<>-1 AND IsReady='Y'

top


Debit



top


Updated



top


Foreign Currency Debit


Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [4] Java Class.

top


Description



top


Created By


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

top


Creation Date



top


Active



top


Client


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

top


Journal Line



top


Credit



top


Foreign Currency Credit


Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [5] Java Class.

top


Journal Entry


Foreign key column to GL_Journal table, (column: GL_Journal_ID)

top


Updated By


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

top


Currency


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

Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [6] Java Class.

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.gl

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

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