Table

LedgerRRGEDocuments_W

Electronic documents list

Lists electronic documents, identified by the document ID. Each has a number, a period, a status and a regional status. It links to a template, a current version, a sender and, for corrections, the original document.

Table name
LedgerRRGEDocuments_W
Module
General ledger
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
DocumentIdIdx
Key fields
DocumentId
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentIdIdentifier of the electronic document.String
LedgerRRGEDocumentId_W
YesNone
CorrectedLedgerRRGEDocuments_WPoints to the document that this one corrects.Int64
LedgerRRGEDocumentRecId_W
NoLedgerRRGEDocuments_W.RecIdNone
CorrectedNumNumber of the correction.String (40)
LedgerRRGEExpressionStr_W
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrentVersionPoints to the current version of the document.Int64
LedgerRRGEDocumentVersionRefRecId_W
NoLedgerRRGEDocumentVersions_W.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort description of the document.String (60)
Name
NoNone
DocTypeFlagText that shows the type of the document.String (40)
LedgerRRGEExpressionStr_W
NoNone
DocumentNumNumber of the document.String (40)
LedgerRRGEExpressionStr_W
NoNone
LedgerRRGETemplates_WPoints to the template used for the document.Int64
LedgerRRGETemplateRecId_W
YesLedgerRRGETemplates_W.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PeriodEnd date of the period the document covers.Date
LedgerRRGEDocumentPeriod_W
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
RegionalStatusRegional status of the document: None, Sent or Approved.Enum
LedgerRRGERegionalStatus_W (enum)
NoNone
SenderWorkerPoints to the worker who sent the document.Int64
LedgerRRGEDocumentSenderWorker_W
NoHcmWorker.RecIdNone
StartPeriodStart date of the period the document covers.Date
LedgerRRGEDocumentPeriod_W
NoNone
StatusProcessing status of the document: Created, Received, Approved or Finished.Enum
LedgeRRGEDocumentStatus_W (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TextFree text stored with the document.String (-1)
LedgerRRGEDocumentText_W
NoNone

Indexes (5)

Relations (4)

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

  • CorrectedLedgerRRGEDocuments_W → LedgerRRGEDocuments_W

    Join on CorrectedLedgerRRGEDocuments_W = LedgerRRGEDocuments_W.RecId

    Many LedgerRRGEDocuments_W records → zero or one LedgerRRGEDocuments_W record

  • HcmWorker → HcmWorker

    Join on SenderWorker = HcmWorker.RecId

    Many LedgerRRGEDocuments_W records → zero or one HcmWorker record

  • LedgerRRGEDocumentVersions_W → LedgerRRGEDocumentVersions_W

    Join on CurrentVersion = LedgerRRGEDocumentVersions_W.RecId

    Many LedgerRRGEDocuments_W records → zero or one LedgerRRGEDocumentVersions_W record

  • LedgerRRGETemplates_W → LedgerRRGETemplates_W

    Join on LedgerRRGETemplates_W = LedgerRRGETemplates_W.RecId

    Many LedgerRRGEDocuments_W records → exactly one LedgerRRGETemplates_W record

Get this data out

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

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

Email sales@drdynamics.co.uk