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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LedgerVoucherTypeReference to the voucher type record, by system record ID. | Int64RefRecId | No | LedgerVoucherType_CN.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SourceDocumentHeaderReference to the source document header record, by system record ID. | Int64RefRecId | Yes | SourceDocumentHeader.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VoucherChinese voucher number. | String (20)Voucher_CN | No | None |
Indexes (1)
SourceDocumentHeaderIdxUnique.
Relations (2)
Each relation joins SourceDocumentHeader_CN to another table on the fields shown.
LedgerVoucherType_CN→LedgerVoucherType_CNJoin on
LedgerVoucherType = LedgerVoucherType_CN.RecIdMany SourceDocumentHeader_CN records → zero or one LedgerVoucherType_CN record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany 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.