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 JournalBatch

Contents

GL_JournalBatch

The GL Journal Batch Tab defines the control parameters for a Journal Batch. A Batch can consist of multiple Journals.

This table contains the following columns:

Name Nullable Data Type Description
GL_JournalBatch_ID NVARCHAR2(32)General Ledger Journal Batch
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
DocumentNo NNVARCHAR2(30)An often automatically generated identifier for all documents.
Description NNVARCHAR2(255)A space to write additional related information.
PostingType NVARCHAR2(60)A distinct posting amount characteristic used for processes and sometimes grouped within a category.
GL_Category_ID YVARCHAR2(32)A classification used to group lines in the general ledger.
DateDoc YDATEThe time listed on the document.
DateAcct YDATEThe date this transaction is recorded for in the general ledger.
C_Period_ID YVARCHAR2(32)A specified time period.
C_Currency_ID YVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
TotalDr NNUMBERTotal debit in document currency
TotalCr NNUMBERTotal Credit in document currency
ControlAmt YNUMBERIf not zero, the Debit amount of the document must be equal this amount
Processing NCHAR(1)A request to process the respective document or task.
Processed NCHAR(1)A confirmation that the associated documents or requests are processed.
CopyFrom YCHAR(1)An addition of statements from pre-existing documents.
IsTemplate YCHAR(1)Is Template

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 Batch

The General Ledger Journal Batch identifies a group of journals to be processed as a group.

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)

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

Document No.

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

top

Description

A description is limited to 255 characters.

top

Posting Type

The Posting Type indicates the type of amount (Actual, Encumbrance, Budget) this journal updated.

List values: All_Posting Type

The allowed values for this list are:

top

G/L Category

Foreign key column to GL_Category table, (column: GL_Category_ID)


Validation Rule GL_Category for Manual Journals: Manual Journal GL Category. With the following code:

 
GL_Category.CategoryType='M'

top

Document Date

The Document Date indicates the date the document was generated. It may or may not be the same as the accounting date.

Callout: SL_Journal_Period

This element is linked to a callout.

It is implemented by org.openbravo.erpCommon.ad_callouts.SL_Journal_Period 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_Journal_Period

This element is linked to a callout.

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

top

Period

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


Reference Table C_Period (Open) With the following where clause:

 
EXISTS (SELECT * FROM C_PeriodControl pc WHERE C_Period.C_Period_ID=pc.C_Period_ID AND pc.PeriodStatus='O')


Callout: SL_Journal_Period

This element is linked to a callout.

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

top

Currency

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

top

Total Debit Amount

The Total Debit indicates the total debit amount for a journal or journal batch in the source currency

top

Total Credit Amount

The Total Credit indicates the total credit amount for a journal or journal batch in the source currency

top

Control Amount

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.

top

Process Now

When this field is set as 'Y' a process is being performed on this record.

top

Processed

The Processed checkbox indicates that a document has been processed.

top

Copy from

Copy lines (products) from another document of the same type.

top

Template

Template is checked when the element is used as a template.

top

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

This page has been accessed 4,033 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.