Table

CustomJournalCharge_RU

Calculation of customs fees for storage and escort

Calculation of customs fees for storage and escort. Each row holds a fee type and amount, and the figures behind it, such as storage days, gross weight, vehicles and distance. It links to a customs journal, a customs value correction and a sales tax code. Used for Russia.

Table name
CustomJournalCharge_RU
Module
Accounts receivable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAmount of the customs fee.Real
CustomChargeAmount_RU
NoNone
ChargeTypeKind of fee: escort or storage.Enum
CustomChargeTypeCalc_RU (enum)
NoNone
CorrectionJournalIdID of the customs value correction the fee relates to.String (20)
CustomCorrectionJournalId_RU
NoCustomCorrectionTable_RU.CorrectionJournalIdNone
CustomJournalIdID of the customs journal the fee relates to.String (20)
CustomJournalId_RU
YesCustomJournalTable_RU.CustomJournalIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EscortCountNumber of vehicles used for the escort fee.Integer
CustomChargeEscortCount_RU
NoNone
EscortDistanceDistance used for the escort fee.Integer
CustomChargeEscortDistance_RU
NoNone
OriginatingDocumentDocument type the fee comes from: GTD or KTS.Enum
CustomDocument_RU (enum)
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
StoragePeriodNumber of storage days used for the storage fee.Integer
CustomChargeStoragePeriod_RU
NoNone
StorageWeightGross weight used for the storage fee.Real
ItemGrossWeight
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountCurRate value for the fee; the currency is not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone
TaxCodeSales tax code applied to the fee.String
TaxCode
NoTaxTable.TaxCodeNone

Indexes (1)

Relations (3)

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

  • CustomCorrectionTable_RU → CustomCorrectionTable_RU

    Join on CorrectionJournalId = CustomCorrectionTable_RU.CorrectionJournalId

    Many CustomJournalCharge_RU records → zero or one CustomCorrectionTable_RU record

  • CustomJournalTable_RU → CustomJournalTable_RU

    Join on CustomJournalId = CustomJournalTable_RU.CustomJournalId

    Many CustomJournalCharge_RU records → exactly one CustomJournalTable_RU record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many CustomJournalCharge_RU records → exactly one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk