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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CorrectionJournalIdUnique ID of the correction journal.String (20)
CustomCorrectionJournalId_RU
YesNone
CorrectionAdminChargeAmount of the issuance fee for the correction.Real
CustomAmount_RU
NoNone
CorrectionDateDate of the KTS document.Date
TransDate
YesNone
CorrectionIdNumber of the KTS document.String
CustomCorrectionId_RU
YesNone
CorrectionReasonWhy the correction was made: exigency or error.Enum
CustomCorrectionReason_RU (enum)
NoNone
CorrectionStatusWhether the correction is still open or has been posted.Enum
CustomCorrectionStatus_RU (enum)
NoNone
CostCorrectionYes/no choice that says whether the correction is included in the cost price.Enum
NoYesId
NoYes (enum)
NoNone
CounteragentTypeType of customs counteragent: customs authority or customs broker.Enum
CustomPartnerType_RU (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree text description of the correction.String (60)
Description
NoNone
FactureIdSystem identifier of the related facture.String (50)
FactureId_RU
NoNone
JournalIdID of the customs journal that the correction relates to.String (20)
CustomJournalId_RU
YesCustomJournalTable_RU.CustomJournalIdNone
LedgerVoucherGeneral ledger voucher linked to the correction.String (20)
Voucher
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
StornoYes/no choice that marks the correction as a credit correction.Enum
NoYesId
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (3)

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

  • CustomJournalTable → CustomJournalTable_RU

    Join on JournalId = CustomJournalTable_RU.CustomJournalId

    Many CustomCorrectionTable_RU records → exactly one CustomJournalTable_RU record

  • FactureId → FactureJour_RU

    Join on FactureId = FactureJour_RU.FactureId

    Many CustomCorrectionTable_RU records → exactly one FactureJour_RU record

  • SubledgerVoucherGeneralJournalEntry → SubledgerVoucherGeneralJournalEntry

    Join on LedgerVoucher = SubledgerVoucherGeneralJournalEntry.Voucher, dataAreaId = SubledgerVoucherGeneralJournalEntry.VoucherDataAreaId

    Many 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.

Email sales@drdynamics.co.uk