Table
CustomCorrectionTable_RU
Customs value correction
Header of a customs value correction (KTS), identified by a correction journal ID. It records the KTS number and date, the origin and status of the correction, and the customs counteragent type. It links to a customs journal, a facture and a general ledger voucher. Used for Russia.
- Table name
CustomCorrectionTable_RU- Module
Accounts receivable- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
IdIdx- Replacement key
None- Key fields
CorrectionJournalId- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CorrectionJournalIdUnique ID of the correction journal. | String (20)CustomCorrectionJournalId_RU | Yes | None | |
CorrectionAdminChargeAmount of the issuance fee for the correction. | RealCustomAmount_RU | No | None | |
CorrectionDateDate of the KTS document. | DateTransDate | Yes | None | |
CorrectionIdNumber of the KTS document. | StringCustomCorrectionId_RU | Yes | None | |
CorrectionReasonWhy the correction was made: exigency or error. | EnumCustomCorrectionReason_RU (enum) | No | None | |
CorrectionStatusWhether the correction is still open or has been posted. | EnumCustomCorrectionStatus_RU (enum) | No | None | |
CostCorrectionYes/no choice that says whether the correction is included in the cost price. | EnumNoYesIdNoYes (enum) | No | None | |
CounteragentTypeType of customs counteragent: customs authority or customs broker. | EnumCustomPartnerType_RU (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree text description of the correction. | String (60)Description | No | None | |
FactureIdSystem identifier of the related facture. | String (50)FactureId_RU | No | None | |
JournalIdID of the customs journal that the correction relates to. | String (20)CustomJournalId_RU | Yes | CustomJournalTable_RU.CustomJournalId | None |
LedgerVoucherGeneral ledger voucher linked to the correction. | String (20)Voucher | No | 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 | |
StornoYes/no choice that marks the correction as a credit correction. | EnumNoYesIdNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
CorrectionIdIdxUnique.
IdIdxPrimary indexUnique, alternate key.
Relations (3)
Each relation joins CustomCorrectionTable_RU to another table on the fields shown.
CustomJournalTable→CustomJournalTable_RUJoin on
JournalId = CustomJournalTable_RU.CustomJournalIdMany CustomCorrectionTable_RU records → exactly one CustomJournalTable_RU record
FactureId→FactureJour_RUJoin on
FactureId = FactureJour_RU.FactureIdMany CustomCorrectionTable_RU records → exactly one FactureJour_RU record
SubledgerVoucherGeneralJournalEntry→SubledgerVoucherGeneralJournalEntryJoin on
LedgerVoucher = SubledgerVoucherGeneralJournalEntry.Voucher,dataAreaId = SubledgerVoucherGeneralJournalEntry.VoucherDataAreaIdMany CustomCorrectionTable_RU records → zero or one SubledgerVoucherGeneralJournalEntry record
Get this data out
No public entity reads from CustomCorrectionTable_RU. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustomCorrectionTable_RU in a report, an integration or a migration? Talk to Dr Dynamics.