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 Journal

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_Journal

This table contains the following columns:

Name Nullable Data Type Description


Processed Yes CHAR (1) The Processed checkbox indicates that a document has been processed.
ControlAmt Yes DECIMAL If the control amount is zero, no check is performed.Otherwise the total Debit amount must be equal to the control amount, before the document is processed.
Processing Yes CHAR (1) When this field is set as 'Y' a process is being performed on this record.
DocumentNo No NVARCHAR (30) The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).
IsOpening No CHAR (1) A flag indicating this is an opening entry
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.
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.
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.
M_Product_ID Yes VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
Multi_Gl No CHAR (1)
DateDoc No TIMESTAMP (7) The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.
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.
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.
IsApproved No CHAR (1) The Approved checkbox indicates if this document requires approval before it can be processed.
C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.
TotalCr No DECIMAL The Total Credit indicates the total credit amount for a journal or journal batch in the source currency
TotalDr No DECIMAL The Total Debit indicates the total debit amount for a journal or journal batch in the source currency
GL_JournalBatch_ID Yes VARCHAR (32) The General Ledger Journal Batch identifies a group of journals to be processed as a group.
GL_Category_ID No VARCHAR (32) The General Ledger Category is an optional, user defined method of grouping journal lines.
PostingType No VARCHAR (60) The Posting Type indicates the type of amount (Actual, Encumbrance, Budget) this journal updated.
Description No NVARCHAR (255) A description is limited to 255 characters.
Posted No VARCHAR (60) An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
DocStatus No VARCHAR (60) The Document Status indicates the status of a document at this time. To change the status of a document, use one of the buttons usually located at the bottom of the document window.
C_DocType_ID No VARCHAR (32) The Document Type determines document sequence and processing rules
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
DocAction No VARCHAR (60)

You find the current status in the Document Status field. The options are listed in a popup

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_Journal_ID No VARCHAR (32) The General Ledger Journal identifies a group of journal lines which represent a logical business transaction
IsPrinted Yes CHAR (1) The Printed checkbox indicates if this document or line will included when printing.
CreatedBy No VARCHAR (32) The Created By field indicates the user who created this record.
C_AcctSchema_ID Yes VARCHAR (32) The book containing all financial transactions recorded for the legal entity.
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.
C_Period_ID No VARCHAR (32) The Period indicates an exclusive range of dates for a calendar.
CurrencyRate No DECIMAL The Currency Conversion Rate indicates the rate to use when converting the source currency to the accounting currency

Columns

Processed



top


Control Amount



top


Process Now



top


Document No.


top


Opening



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


Asset


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

top


Cost Center


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

top


Business Partner


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

top


Product


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

top


Multi-general ledger


Callout: SL_Journal_MultiAcctSchema

This column has a callout associated.

It is implemented by [1] Java Class.

top


Document Date



Callout: SL_Journal_Period

This column has a callout associated.

It is implemented by [2] Java Class.

top


Currency Rate Type



List values: C_Conversion_Rate Types

The allowed values for this list are:

top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID) It has a validation "AD_Org show batch's 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 @Batch_Org@ is null

top


Approved



top


Currency


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

Callout: SL_Journal_Period

This column has a callout associated.

It is implemented by [3] Java Class.

top


Total Credit Amount



top


Total Debit Amount



top


Journal Batch


Foreign key column to GL_JournalBatch table, (column: GL_JournalBatch_ID)

top


G/L Category


Foreign key column to GL_Category table, (column: GL_Category_ID) It has a validation "GL_Category for Manual Journals", with the following code

GL_Category.CategoryType='M'

top


Posting Type



List values: All_Posting Type

The allowed values for this list are:

top


Description



top


Posted


List values: All_Posted Status

The allowed values for this list are:

top


Updated



top


Document Status



List values: All_Document Status

The allowed values for this list are:

top


Document Type


Foreign key column to C_DocType table, (column: C_DocType_ID) It has a validation "C_DocType Journals", with the following code

C_DocType.DocBaseType='GLJ' AND AD_ISORGINCLUDED( @AD_Org_ID@, C_DocType.AD_Org_ID, @#AD_Client_ID@) <> '-1'

top


Updated By


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

top


Creation Date



top


Document Action



List values: All_Document Action

The allowed values for this list are:

top


Active



top


Client


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

top


Journal Entry



top


Print



top


Created By


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

top


Accounting Schema


Foreign key column to C_AcctSchema table, (column: C_AcctSchema_ID) It has a validation "C_AcctSchema - Schemas matching parent organizations", with the following code

EXISTS (SELECT 1 FROM AD_ORG_ACCTSCHEMA WHERE AD_ORG_ACCTSCHEMA.C_ACCTSCHEMA_ID = C_ACCTSCHEMA.C_ACCTSCHEMA_ID AND AD_ISORGINCLUDED(@AD_Org_ID@, AD_ORG_ID, AD_CLIENT_ID)<>-1)

Callout: SL_Journal_Period

This column has a callout associated.

It is implemented by [4] Java Class.

top


Accounting Date



Callout: SL_Journal_Period

This column has a callout associated.

It is implemented by [5] Java Class.

top


Period


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

Callout: SL_Journal_Period

This column has a callout associated.

It is implemented by [6] Java Class.

top


Rate



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_Journal"

This page has been accessed 1,343 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.