Table

SourceDocumentHeader_CN

Extension table used for China. It adds a Chinese voucher number and a voucher type to a source document header record. It has no defined key in the metadata.

Table name
SourceDocumentHeader_CN
Module
General ledger
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LedgerVoucherTypeReference to the voucher type record, by system record ID.Int64
RefRecId
NoLedgerVoucherType_CN.RecIdNone
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
SourceDocumentHeaderReference to the source document header record, by system record ID.Int64
RefRecId
YesSourceDocumentHeader.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VoucherChinese voucher number.String (20)
Voucher_CN
NoNone

Indexes (1)

Relations (2)

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

  • LedgerVoucherType_CN → LedgerVoucherType_CN

    Join on LedgerVoucherType = LedgerVoucherType_CN.RecId

    Many SourceDocumentHeader_CN records → zero or one LedgerVoucherType_CN record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many SourceDocumentHeader_CN records → exactly one SourceDocumentHeader record

Get this data out

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

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

Email sales@drdynamics.co.uk