Table idempiere9.adempiere.gl_journal
General Ledger Journal

Generated by
Quality Systems & Solutions
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
gl_journal_id numeric 10
gl_journal.reversal_id reversal_gljournal R
gl_journalline.gl_journal_id gljournal_gljournalline C
General Ledger Journal
ad_client_id numeric 10 Client/Tenant for this installation.
ad_org_id numeric 10 Organizational entity within client
isactive bpchar 1 'Y'::bpchar The record is active in the system
created timestamp 29,6 now() Date this record was created
createdby numeric 10 User who created this records
updated timestamp 29,6 now() Date this record was updated
updatedby numeric 10 User who updated this records
c_acctschema_id numeric 10 Rules for accounting
c_doctype_id numeric 10 Document type or rules
documentno varchar 30 Document sequence number of the document
docstatus bpchar 2 The current status of the document
docaction bpchar 2 The targeted status of the document
isapproved bpchar 1 'N'::bpchar Indicates if this document requires approval
isprinted bpchar 1 'N'::bpchar Indicates if this document / line is printed
description varchar 255 Optional short description of the record
postingtype bpchar 1 The type of posted amount for the transaction
gl_budget_id numeric 10  √  null General Ledger Budget
gl_category_id numeric 10 General Ledger Category
datedoc timestamp 29,6 Date of the Document
dateacct timestamp 29,6 Accounting Date
c_period_id numeric 10 Period of the Calendar
c_currency_id numeric 10  √  null The Currency for this record
currencyrate numeric 0 0 Currency Conversion Rate
gl_journalbatch_id numeric 10  √  null
gl_journalbatch.gl_journalbatch_id gljournalbatch_gljournal C
General Ledger Journal Batch
totaldr numeric 0 0 Total debit in document currency
totalcr numeric 0 0 Total Credit in document currency
controlamt numeric 0  √  0 If not zero, the Debit amount of the document must be equal this amount
processing bpchar 1  √  null Process Now
processed bpchar 1  √  'N'::bpchar The document has been processed
posted bpchar 1 'N'::bpchar Posting status
c_conversiontype_id numeric 10 Currency Conversion Rate Type
reversal_id numeric 10  √  null
gl_journal.gl_journal_id reversal_gljournal R
ID of document reversal
processedon numeric 0  √  null The date+time (expressed in decimal format) when the document has been processed
gl_journal_uu varchar 36  √  NULL::character varying GL_Journal_UU
copyfrom bpchar 1  √  NULL::bpchar Copy From Record

Table contained 1 rows at 2021-12-25 14:48 +0100

Indexes:
Column(s) Type Sort Constraint Name
gl_journal_id Primary key Asc gl_journal_pkey
ad_org_id + c_period_id + documentno Must be unique Asc/Asc/Asc gl_journal_docno
gl_journal_uu Must be unique Asc gl_journal_uu_idx
posted + processed + processedon + ad_client_id Performance Asc/Asc/Asc/Asc idxgl_journal_proc_on

Close relationships: