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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountAmount of the customs fee. | RealCustomChargeAmount_RU | No | None | |
ChargeTypeKind of fee: escort or storage. | EnumCustomChargeTypeCalc_RU (enum) | No | None | |
CorrectionJournalIdID of the customs value correction the fee relates to. | String (20)CustomCorrectionJournalId_RU | No | CustomCorrectionTable_RU.CorrectionJournalId | None |
CustomJournalIdID of the customs journal the fee relates to. | String (20)CustomJournalId_RU | Yes | CustomJournalTable_RU.CustomJournalId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EscortCountNumber of vehicles used for the escort fee. | IntegerCustomChargeEscortCount_RU | No | None | |
EscortDistanceDistance used for the escort fee. | IntegerCustomChargeEscortDistance_RU | No | None | |
OriginatingDocumentDocument type the fee comes from: GTD or KTS. | EnumCustomDocument_RU (enum) | 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 | |
StoragePeriodNumber of storage days used for the storage fee. | IntegerCustomChargeStoragePeriod_RU | No | None | |
StorageWeightGross weight used for the storage fee. | RealItemGrossWeight | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountCurRate value for the fee; the currency is not stated in the metadata.low confidence | RealTaxAmountCur | No | None | |
TaxCodeSales tax code applied to the fee. | StringTaxCode | No | TaxTable.TaxCode | None |
Indexes (1)
JournalChargeIdxCustomJournalId,ChargeType,OriginatingDocumentNot unique.
Relations (3)
Each relation joins CustomJournalCharge_RU to another table on the fields shown.
CustomCorrectionTable_RU→CustomCorrectionTable_RUJoin on
CorrectionJournalId = CustomCorrectionTable_RU.CorrectionJournalIdMany CustomJournalCharge_RU records → zero or one CustomCorrectionTable_RU record
CustomJournalTable_RU→CustomJournalTable_RUJoin on
CustomJournalId = CustomJournalTable_RU.CustomJournalIdMany CustomJournalCharge_RU records → exactly one CustomJournalTable_RU record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany 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.