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/2.50/Developers Guide/Database Model/org.openbravo.model.financialmgmt.gl/GL JournalLine

Contents

GL_JournalLine

The GL Journal Line Tab defines the individual debit and credit transactions that comprise a journal.

This table contains the following columns:

Name Nullable Data Type Description
GL_JournalLine_ID NVARCHAR2(32)General Ledger Journal Line
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
GL_Journal_ID NVARCHAR2(32)One transaction with a debit and credit and entered into the general ledger.
Line NNUMBER(10, 0)A line stating the position of this request in the document.
IsGenerated NCHAR(1)This Line is generated
Description YNVARCHAR2(255)A space to write additional related information.
AmtSourceDr NNUMBERThe amount debited from the account, given in provider currency.
AmtSourceCr NNUMBERThe amount credited from the account, given in provider currency.
C_Currency_ID NVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
CurrencyRateType NVARCHAR2(60)A distinct currency rate characteristic used for processes.
CurrencyRate NNUMBERThe percentage to be multiplied by the source to arrive at the tax or exchange amount.
DateAcct YDATEThe date this transaction is recorded for in the general ledger.
AmtAcctDr NNUMBERThe amount debited to an account, converted to the organization default currency.
AmtAcctCr NNUMBERThe amount credited to an account, converted to the organization default currency.
C_UOM_ID YVARCHAR2(32)A non monetary unit of measure.
Qty YNUMBERThe number of a certain item.
C_ValidCombination_ID NVARCHAR2(32)An identification code comprised of an individual account number and additional dimensions such organization, product, and business partner.
C_Debt_Payment_ID YVARCHAR2(32)A obligation to pay or a right to collect for a specified item or service.
C_Withholding_ID YVARCHAR2(32)Withholding
C_Tax_ID YVARCHAR2(32)The percentage of money requested by the government for this specified product or transaction.

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

Journal Line

The General Ledger Journal Line identifies a single transaction in a journal.

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)


Validation Rule AD_Org show child organizations: It only shows the child organizations of the organization's header. With the following code:

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

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

Journal Entry

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

top

Line No.

Indicates the unique line for a document. It will also control the display order of the lines within a document.

top

Generated

The Generated checkbox identifies a journal line that was generated from a source document. Lines could also be entered manually or imported.

top

Description

A description is limited to 255 characters.

top

Foreign Currency Debit

The Source Debit Amount indicates the credit amount for this line in the source currency.

Callout: SL_JournalLineAmt

This element is linked to a callout.

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

top

Foreign Currency Credit

The Source Credit Amount indicates the credit amount for this line in the source currency.

Callout: SL_JournalLineAmt

This element is linked to a callout.

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

top

Currency

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

Callout: SL_JournalLineAmt

This element is linked to a callout.

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

top

Currency Rate Type

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.

Callout: SL_JournalLineAmt

This element is linked to a callout.

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

List values: C_Conversion_Rate Types

The allowed values for this list are:

top

Rate

The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency

Callout: SL_JournalLineAmt

This element is linked to a callout.

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

top

Accounting Date

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.

Callout: SL_JournalLineAmt

This element is linked to a callout.

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

top

Debit

The Account Debit Amount indicates the transaction amount converted to this organization's accounting currency

top

Credit

The Account Credit Amount indicates the transaction amount converted to this organization's accounting currency

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

Accounting Combination

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

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

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

This page has been accessed 1,325 times. This page was last modified on 2 July 2011, at 20:56. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.