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

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


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_ValidCombination_ID Yes VARCHAR (32) The Combination identifies a valid combination of element which represent a GL account.
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.

C_Activity_ID Yes VARCHAR (32) Activities indicate tasks that are performed and used to utilize Activity based Costing
A_Asset_ID Yes VARCHAR (32) Any item of economic value owned by the corporation, especially that which could be converted to cash.
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_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
C_Costcenter_ID Yes VARCHAR (32) Division that adds to the cost of an organization. Internal structure for cost allocation.
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.
AmtAcctCr No DECIMAL The Account Credit Amount indicates the transaction amount converted to this organization's accounting currency
C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.
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.
AmtAcctDr No DECIMAL The Account Debit Amount indicates the transaction amount converted to this organization's accounting currency
Description Yes NVARCHAR (255) A description is limited to 255 characters.
EM_Aprm_Addpayment Yes CHAR (1) Launches a process to add a payment to the selected invoice.
FIN_Financial_Account_ID Yes VARCHAR (32) Financial account used to deposit / withdrawal money such as bank accounts or petty cash
AmtSourceCr No DECIMAL The Source Credit Amount indicates the credit amount for this line in the source currency.
AmtSourceDr No DECIMAL The Source Debit Amount indicates the credit amount for this line in the source currency.
C_Glitem_ID Yes VARCHAR (32) General ledger item.
Account_ID Yes VARCHAR (32)
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.
GL_Journal_ID No VARCHAR (32) The General Ledger Journal identifies a group of journal lines which represent a logical business transaction
GL_JournalLine_ID No VARCHAR (32) The General Ledger Journal Line identifies a single transaction in a journal.
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.
Open_Items No CHAR (1)
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.
C_Debt_Payment_ID Yes VARCHAR (32) Refers to the amount of money to be paid or collected.
Paymentdate Yes TIMESTAMP (7)
FIN_Paymentmethod_ID Yes VARCHAR (32)
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
C_Project_ID Yes VARCHAR (32) Identifier of a project defined within the Project & Service Management module.
Qty Yes DECIMAL The Quantity indicates the number of a specific product or item for this document.
CurrencyRate No DECIMAL The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency
FIN_Payment_ID Yes VARCHAR (32) Payment event
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_Salesregion_ID Yes VARCHAR (32) The Sales Region indicates a specific area of sales coverage.
C_Tax_ID Yes VARCHAR (32) The Tax indicates the type of tax for this document line.
C_UOM_ID Yes VARCHAR (32) The UOM defines a unique non monetary unit of measure
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_Withholding_ID Yes VARCHAR (32) The Withholding indicates the type of withholding to be calculated.

Columns

1st Dimension


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

top


2nd Dimension


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

top


Accounting Combination


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

top


Active



top


Activity


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

top


Asset


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

top


Business Partner


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

top


Client


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

top


Cost Center


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

top


Created By


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

top


Creation Date



top


Credit



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 [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


Debit



top


Description



top


EM_APRM_Add Payment



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


Foreign Currency Credit


Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [3] Java Class.

top


Foreign Currency Debit


Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [4] Java Class.

top


G/L Item


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

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'

Callout: SL_Journal_MultiAcctSchema

This column has a callout associated.

It is implemented by [5] Java Class.

top


Generated



top


Journal Entry


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

top


Journal Line



top


Line No.


top


Open Items



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


Payment


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

top


Payment Date



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


Product


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

top


Project


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

top


Quantity



top


Rate


Callout: SL_JournalLineAmt

This column has a callout associated.

It is implemented by [6] Java Class.

top


Related Payment


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

top


Sales Campaign


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

top


Sales Region


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

top


Tax


Foreign key column to C_Tax table, (column: C_Tax_ID)

top


UOM


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

top


Updated



top


Updated By


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

top


Withholding


Foreign key column to C_Withholding table, (column: C_Withholding_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.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 4,889 times. This page was last modified on 4 September 2023, at 01:58. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.