Table

CustomJournalTable_RU

Customs journal

Header of a customs journal, identified by the journal ID. It holds the journal type (import or export), status, customs clearance method, GTD number and date, and fee amounts. It links to the customs counteragent, broker, customs office, agreement, delivery terms, voucher and facture. Used for Russia.

Table name
CustomJournalTable_RU
Module
Accounts receivable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
JournalIdx
Replacement key
JournalIdx
Key fields
CustomJournalId
Model
Foundation

Fields (42)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustomJournalIdUnique ID of the customs journal.String (20)
CustomJournalId_RU
YesNone
AgreementHeaderExtSystem record ID of the agreement linked to the journal.Int64
AgreementHeaderExtRecId_RU
NoAgreementHeaderExt_RU.RecIdNone
CalculationMethodCustoms clearance method: none, import invoice or indicative.Enum
CustomCalculationMethod_RU (enum)
NoNone
CanceledInventGTDIdYes/no choice for control of GTD cancelling.Enum
NoYesId
NoYes (enum)
NoNone
ChangeInLinesYes/no choice that shows whether lines were corrected by hand.Enum
NoYesId
NoYes (enum)
NoNone
ChargeAllocationBaseBasis used to allocate the fee: cost, quantity, weight or volume.Enum
CustomChargeAllocationBase_RU (enum)
NoNone
CounteragentTypeType of vendor of customs services: customs authority or customs broker.Enum
CustomPartnerType_RU (enum)
NoNone
CountryRegionIdCountry or region linked to the journal.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
CustomAgreementHeaderExtSystem record ID of a second agreement linked to the journal.low confidenceInt64
AgreementHeaderExtRecId_RU
NoAgreementHeaderExt_RU.RecIdNone
CustomCMRCMR or bill of lading number.String (15)
CustomCMR_RU
NoNone
CustomCMRDateDate of the CMR or bill of lading.Date
CustomCMRDate_RU
NoNone
CustomInventTransStatusStatus of the receipt transactions: empty, purchased or on order.Enum
CustomInventTransStatus_RU (enum)
NoNone
CustomJournalStatusJournal status: in progress, issued or posted.Enum
CustomJournalStatus_RU (enum)
NoNone
CustomJournalTypeWhether the journal is for import or export.Enum
CustomJournalType_RU (enum)
NoNone
CustomLocationIdWarehouse that acts as the customs terminal.String
InventLocationId
NoInventLocation.InventLocationIdNone
CustomPostIdCode of the customs office.String
CustomPostId_RU
NoCustomPosts_RU.PostIdNone
CustomTIRTIR number.String (15)
CustomTIR_RU
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension set for the journal.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DlvTermIdTerms of delivery code.String
DlvTermId
NoDlvTerm.CodeNone
EstimativeAdminChargeEstimated administrative fee amount.Real
CustomChargeAmount_RU
NoNone
FactureIdSystem identifier of the related facture.String (50)
FactureId_RU
NoNone
GTDDateIssue date of the GTD.Date
TransDate
NoNone
IncludeIntoCostPriceYes/no choice that says whether the amounts are included in the cost price.Enum
NoYesId
NoYes (enum)
NoNone
IndicativeAdminChargeAdministrative fee amount calculated by the indicative method.Real
CustomChargeAmount_RU
NoNone
InventGTDIdNumber of the state customs declaration (GTD).String (30)
InventGTDId_RU
NoNone
InventProfileIdInventory profile linked to the journal.String
InventProfileId_RU
NoInventProfile_RU.InventProfileIdNone
InvoiceAdminChargeAdministrative fee amount calculated by the import invoice method.Real
CustomChargeAmount_RU
NoNone
InvoicePostingTypePosting type: standard or postponed passing of property.Enum
SalesInvoicePostingType_RU (enum)
NoNone
LedgerVoucherGeneral ledger voucher linked to the journal.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
PartnerCodeCode of the partner, which is a customer or a vendor.String (20)
CustVendAC
YesCustTable.AccountNumVendTable.AccountNumNone
PaymentDatePayment due date.Date
TransDate
NoNone
PaymentModeMethod of payment for vendors.String
VendPaymMode
NoVendPaymModeTable.PaymModeNone
PlanArrivalDateDeclaration date.Date
CustomPlanArrivalDate_RU
YesNone
PostingProfileVendor posting profile used for the journal.String
VendPostingProfile
YesVendLedger.PostingProfileNone
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
TransferInventJournalIdID of the transfer inventory journal.String (20)
InventJournalId
NoInventJournalTable.JournalIdNone
VendAccountBrokerCode of the customs broker.String (20)
VendAccountBroker_RU
NoCustomPartners_RU.PartnerCodeVendTable.AccountNumNone
VendAccountCustomCode of the customs counteragent or vendor.String (20)
VendAccountCustom_RU
YesCustomPartners_RU.PartnerCodeVendTable.AccountNumNone

Indexes (5)

Relations (22)

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

  • AgreementHeaderExt → AgreementHeaderExt_RU

    Join on AgreementHeaderExt = AgreementHeaderExt_RU.RecId

    Many CustomJournalTable_RU records → zero or one AgreementHeaderExt_RU record

  • BrokerVendTable → VendTable

    Join on VendAccountBroker = VendTable.AccountNum

    Many CustomJournalTable_RU records → exactly one VendTable record

  • CustomAgreementHeaderExt → AgreementHeaderExt_RU

    Join on CustomAgreementHeaderExt = AgreementHeaderExt_RU.RecId

    Many CustomJournalTable_RU records → zero or one AgreementHeaderExt_RU record

  • CustomLocation → InventLocation

    Join on VendAccountCustom = InventLocation.VendAccountCustom_RU, CustomLocationId = InventLocation.InventLocationId

    Many CustomJournalTable_RU records → zero or one InventLocation record

  • CustomPartnersCustomAuthority → CustomPartners_RU

    Join on CustomPartners_RU.PartnerType = CustomPartnerType_RU::Custom, VendAccountCustom = CustomPartners_RU.PartnerCode

    Many CustomJournalTable_RU records → exactly one CustomPartners_RU record

  • CustomPartnersServiceCustom → CustomPartners_RU

    Join on CustomPartners_RU.CustomServiceProvider = CustomServiceProvider_RU::SelfCustom, CustomPartners_RU.CustomServiceProvider = CustomServiceProvider_RU::Custom, VendAccountBroker = CustomPartners_RU.PartnerCode, CustomPartners_RU.PartnerType = CustomPartnerType_RU::Broker, CounteragentType = CustomPartnerType_RU::Custom

    Many CustomJournalTable_RU records → zero or one CustomPartners_RU record

  • CustomPartnersServiceSelf → CustomPartners_RU

    Join on CustomPartners_RU.CustomServiceProvider = CustomServiceProvider_RU::SelfCustom, CustomPartners_RU.CustomServiceProvider = CustomServiceProvider_RU::Self, VendAccountBroker = CustomPartners_RU.PartnerCode, CustomPartners_RU.PartnerType = CustomPartnerType_RU::Broker, CounteragentType = CustomPartnerType_RU::Broker

    Many CustomJournalTable_RU records → zero or one CustomPartners_RU record

  • CustomPosts_RU → CustomPosts_RU

    Join on VendAccountCustom = CustomPosts_RU.PartnerCode, CustomPostId = CustomPosts_RU.PostId

    Many CustomJournalTable_RU records → zero or one CustomPosts_RU record

  • CustomVendTable → VendTable

    Join on VendAccountCustom = VendTable.AccountNum

    One or more CustomJournalTable_RU records → exactly one VendTable record

  • CustTable → CustTable

    Join on CustTable.ForeignResident_RU = 1, CustomJournalType = CustomJournalType_RU::Export, PartnerCode = CustTable.AccountNum

    Many CustomJournalTable_RU records → zero or one CustTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustomJournalTable_RU records → zero or one DimensionAttributeValueSet record

  • DlvTerm → DlvTerm

    Join on DlvTermId = DlvTerm.Code

    Many CustomJournalTable_RU records → exactly one DlvTerm record

  • FactureJour_RU → FactureJour_RU

    Join on FactureJour_RU.Module = FactureModule_RU::Vend, FactureId = FactureJour_RU.FactureId

    Many CustomJournalTable_RU records → exactly one FactureJour_RU record

  • InventGTD → InventGTD_RU

    Join on InventGTDId = InventGTD_RU.InventGTDId

    Many CustomJournalTable_RU records → exactly one InventGTD_RU record

  • InventJournalTable → InventJournalTable

    Join on TransferInventJournalId = InventJournalTable.JournalId

    Many CustomJournalTable_RU records → zero or one InventJournalTable record

  • InventProfile_RU → InventProfile_RU

    Join on InventProfileId = InventProfile_RU.InventProfileId

    Many CustomJournalTable_RU records → exactly one InventProfile_RU record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many CustomJournalTable_RU records → exactly one LogisticsAddressCountryRegion record

  • PartnerCode_SelfFK → CustomJournalTable_RU

    Join on CustomJournalType = CustomJournalTable_RU.CustomJournalType, PartnerCode = CustomJournalTable_RU.PartnerCode

    One or more CustomJournalTable_RU records → exactly one CustomJournalTable_RU record

  • SubledgerVoucherGeneralJournalEntry → SubledgerVoucherGeneralJournalEntry

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

    Many CustomJournalTable_RU records → zero or one SubledgerVoucherGeneralJournalEntry record

  • VendLedger → VendLedger

    Join on PostingProfile = VendLedger.PostingProfile

    One or more CustomJournalTable_RU records → exactly one VendLedger record

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymentMode = VendPaymModeTable.PaymMode

    Many CustomJournalTable_RU records → exactly one VendPaymModeTable record

  • VendTable → VendTable

    Join on VendTable.ForeignResident_RU = 1, CustomJournalType = CustomJournalType_RU::Import, PartnerCode = VendTable.AccountNum

    Many CustomJournalTable_RU records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk