Table

CustomCorrectionTrans_RU

KTS lines

Lines of a customs value correction (KTS). Each line is identified by the correction journal ID and a line number. It holds the corrected cost, duty, excise and VAT for an item, and links to the customs journal line, the item and the country or region. Used for Russia.

Table name
CustomCorrectionTrans_RU
Module
Accounts receivable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
CorrectionLineNumIdx
Replacement key
CorrectionLineNumIdx
Key fields
CorrectionJournalId, LineNum
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CorrectionJournalIdID of the customs value correction that the line belongs to.String (20)
CustomCorrectionJournalId_RU
YesCustomCorrectionTable_RU.CorrectionJournalIdNone
LineNumLine number within the correction.Real
LineNum
NoNone
CorrectionCostCorrected cost amount for the line, in accounting currency.Real
AmountMST
NoNone
CorrectionDutyCorrected duty amount for the line, in accounting currency.Real
AmountMST
NoNone
CorrectionExciseCorrected excise amount for the line, in accounting currency.Real
AmountMST
NoNone
CorrectionVATCorrected VAT amount for the line, in accounting currency.Real
AmountMST
NoNone
CountryRegionIdCountry or region linked to the line.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
CustomPartitionSection code of the customs declaration for the line.String (3)
CustomPartition_RU
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FEACCIdTN VED commodity code of the item.String
FEACCId_RU
YesNone
ItemIdItem that the line refers to.String (20)
ItemId
YesInventTable.ItemIdNone
JournalTransRecIdSystem record ID of the customs journal line that is being corrected.Int64
RefRecId
NoCustomJournalTrans_RU.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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (4)

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

  • CustomCorrectionTable_RU → CustomCorrectionTable_RU

    Join on CorrectionJournalId = CustomCorrectionTable_RU.CorrectionJournalId

    Many CustomCorrectionTrans_RU records → exactly one CustomCorrectionTable_RU record

  • CustomJournalTrans → CustomJournalTrans_RU

    Join on JournalTransRecId = CustomJournalTrans_RU.RecId

    Many CustomCorrectionTrans_RU records → zero or one CustomJournalTrans_RU record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more CustomCorrectionTrans_RU records → exactly one InventTable record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many CustomCorrectionTrans_RU records → exactly one LogisticsAddressCountryRegion record

Get this data out

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

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

Email sales@drdynamics.co.uk