Table

GlobalJournalDocumentTypeSettings

Global journal document type settings

Holds settings for each type of global journal document. These cover approval, workflow, voucher and document number series, and currency rules. One setting can be marked as the default.

Table name
GlobalJournalDocumentTypeSettings
Module
Cross-module and platform
Table group
Parameter
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
GlobalJournalCore

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AllocateVoucherAtPostingYes/no flag showing whether the voucher number is allocated at posting.Enum
NoYes (enum)
NoNone
AllowedCurrencyTypeShows whether entry is allowed only in the transaction currency or in all currencies.Enum
CurrencyType (enum)
NoNone
ApproverUser group that acts as approver.String
UserGroupId
NoUserGroupInfo.idNone
DefaultCurrencyPoints to the currency used by default.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DocumentNumberSeriesPoints to the number sequence used for document numbers.Int64
RefRecId
NoNumberSequenceTable.RecIdNone
DocumentTypeKind of document, such as ledger adjustment, free text invoice or order invoice.Enum
DocumentType (enum)
NoNone
DocumentTypeDescriptionLonger text describing the setting.String (255)
Description255
NoNone
DocumentTypeNameName of the document type setting.String (60)
Name
YesNone
IsApprovalActiveYes/no flag showing whether approval is turned on.Enum
NoYes (enum)
NoNone
IsDefaultSettingYes/no flag marking this as the default setting.Enum
GlobalJournalDefaultSetting
NoYes (enum)
NoNone
IsDocumentNumberManualYes/no flag showing whether document numbers are entered by hand.Enum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VoucherSeriesPoints to the number sequence used for vouchers.Int64
RefRecId
YesNumberSequenceTable.RecIdNone
WorkflowPoints to the workflow configuration that is used.String (20)
WorkflowSequenceNumber
NoWorkflowTable.SequenceNumberNone

Indexes (2)

Relations (5)

Each relation joins GlobalJournalDocumentTypeSettings to another table on the fields shown.

  • WorkflowTable → WorkflowTable

    Join on Workflow = WorkflowTable.SequenceNumber, WorkflowTable.Type = WorkflowConfigurationType::Definition

    Many GlobalJournalDocumentTypeSettings records → zero or one WorkflowTable record

  • UserGroupInfo_ApproveGroupId → UserGroupInfo

    Join on Approver = UserGroupInfo.id

    Many GlobalJournalDocumentTypeSettings records → zero or one UserGroupInfo record

  • NumberSequenceTable → NumberSequenceTable

    Join on VoucherSeries = NumberSequenceTable.RecId

    Many GlobalJournalDocumentTypeSettings records → exactly one NumberSequenceTable record

  • Currency → Currency

    Join on DefaultCurrency = Currency.CurrencyCode

    Many GlobalJournalDocumentTypeSettings records → zero or one Currency record

  • NumberSequenceTable_DocumentNumberSeries → NumberSequenceTable

    Join on DocumentNumberSeries = NumberSequenceTable.RecId

    Many GlobalJournalDocumentTypeSettings records → exactly one NumberSequenceTable record

Get this data out

No public entity reads from GlobalJournalDocumentTypeSettings. Its data is only reachable through the application, a custom entity or a database export.

Need help with GlobalJournalDocumentTypeSettings in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk