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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustomJournalIdUnique ID of the customs journal. | String (20)CustomJournalId_RU | Yes | None | |
AgreementHeaderExtSystem record ID of the agreement linked to the journal. | Int64AgreementHeaderExtRecId_RU | No | AgreementHeaderExt_RU.RecId | None |
CalculationMethodCustoms clearance method: none, import invoice or indicative. | EnumCustomCalculationMethod_RU (enum) | No | None | |
CanceledInventGTDIdYes/no choice for control of GTD cancelling. | EnumNoYesIdNoYes (enum) | No | None | |
ChangeInLinesYes/no choice that shows whether lines were corrected by hand. | EnumNoYesIdNoYes (enum) | No | None | |
ChargeAllocationBaseBasis used to allocate the fee: cost, quantity, weight or volume. | EnumCustomChargeAllocationBase_RU (enum) | No | None | |
CounteragentTypeType of vendor of customs services: customs authority or customs broker. | EnumCustomPartnerType_RU (enum) | No | None | |
CountryRegionIdCountry or region linked to the journal. | StringAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | None |
CustomAgreementHeaderExtSystem record ID of a second agreement linked to the journal.low confidence | Int64AgreementHeaderExtRecId_RU | No | AgreementHeaderExt_RU.RecId | None |
CustomCMRCMR or bill of lading number. | String (15)CustomCMR_RU | No | None | |
CustomCMRDateDate of the CMR or bill of lading. | DateCustomCMRDate_RU | No | None | |
CustomInventTransStatusStatus of the receipt transactions: empty, purchased or on order. | EnumCustomInventTransStatus_RU (enum) | No | None | |
CustomJournalStatusJournal status: in progress, issued or posted. | EnumCustomJournalStatus_RU (enum) | No | None | |
CustomJournalTypeWhether the journal is for import or export. | EnumCustomJournalType_RU (enum) | No | None | |
CustomLocationIdWarehouse that acts as the customs terminal. | StringInventLocationId | No | InventLocation.InventLocationId | None |
CustomPostIdCode of the customs office. | StringCustomPostId_RU | No | CustomPosts_RU.PostId | None |
CustomTIRTIR number. | String (15)CustomTIR_RU | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension set for the journal. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DlvTermIdTerms of delivery code. | StringDlvTermId | No | DlvTerm.Code | None |
EstimativeAdminChargeEstimated administrative fee amount. | RealCustomChargeAmount_RU | No | None | |
FactureIdSystem identifier of the related facture. | String (50)FactureId_RU | No | None | |
GTDDateIssue date of the GTD. | DateTransDate | No | None | |
IncludeIntoCostPriceYes/no choice that says whether the amounts are included in the cost price. | EnumNoYesIdNoYes (enum) | No | None | |
IndicativeAdminChargeAdministrative fee amount calculated by the indicative method. | RealCustomChargeAmount_RU | No | None | |
InventGTDIdNumber of the state customs declaration (GTD). | String (30)InventGTDId_RU | No | None | |
InventProfileIdInventory profile linked to the journal. | StringInventProfileId_RU | No | InventProfile_RU.InventProfileId | None |
InvoiceAdminChargeAdministrative fee amount calculated by the import invoice method. | RealCustomChargeAmount_RU | No | None | |
InvoicePostingTypePosting type: standard or postponed passing of property. | EnumSalesInvoicePostingType_RU (enum) | No | None | |
LedgerVoucherGeneral ledger voucher linked to the journal. | String (20)Voucher | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartnerCodeCode of the partner, which is a customer or a vendor. | String (20)CustVendAC | Yes | CustTable.AccountNumVendTable.AccountNum | None |
PaymentDatePayment due date. | DateTransDate | No | None | |
PaymentModeMethod of payment for vendors. | StringVendPaymMode | No | VendPaymModeTable.PaymMode | None |
PlanArrivalDateDeclaration date. | DateCustomPlanArrivalDate_RU | Yes | None | |
PostingProfileVendor posting profile used for the journal. | StringVendPostingProfile | Yes | VendLedger.PostingProfile | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransferInventJournalIdID of the transfer inventory journal. | String (20)InventJournalId | No | InventJournalTable.JournalId | None |
VendAccountBrokerCode of the customs broker. | String (20)VendAccountBroker_RU | No | CustomPartners_RU.PartnerCodeVendTable.AccountNum | None |
VendAccountCustomCode of the customs counteragent or vendor. | String (20)VendAccountCustom_RU | Yes | CustomPartners_RU.PartnerCodeVendTable.AccountNum | None |
Indexes (5)
JournalIdxPrimary indexReplacement keyUnique, alternate key.
InventGTDIdIdxNot unique.
AgreementHeaderExtIdxNot unique.
CustomAgreementHeaderExtIdxNot unique.
PartnerCodeIdxCustomJournalType,PartnerCodeNot unique.
Relations (22)
Each relation joins CustomJournalTable_RU to another table on the fields shown.
AgreementHeaderExt→AgreementHeaderExt_RUJoin on
AgreementHeaderExt = AgreementHeaderExt_RU.RecIdMany CustomJournalTable_RU records → zero or one AgreementHeaderExt_RU record
BrokerVendTable→VendTableJoin on
VendAccountBroker = VendTable.AccountNumMany CustomJournalTable_RU records → exactly one VendTable record
CustomAgreementHeaderExt→AgreementHeaderExt_RUJoin on
CustomAgreementHeaderExt = AgreementHeaderExt_RU.RecIdMany CustomJournalTable_RU records → zero or one AgreementHeaderExt_RU record
CustomLocation→InventLocationJoin on
VendAccountCustom = InventLocation.VendAccountCustom_RU,CustomLocationId = InventLocation.InventLocationIdMany CustomJournalTable_RU records → zero or one InventLocation record
CustomPartnersServiceCustom→CustomPartners_RUJoin 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::CustomMany CustomJournalTable_RU records → zero or one CustomPartners_RU record
CustomPartnersServiceSelf→CustomPartners_RUJoin 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::BrokerMany CustomJournalTable_RU records → zero or one CustomPartners_RU record
CustomPosts_RU→CustomPosts_RUJoin on
VendAccountCustom = CustomPosts_RU.PartnerCode,CustomPostId = CustomPosts_RU.PostIdMany CustomJournalTable_RU records → zero or one CustomPosts_RU record
CustomVendTable→VendTableJoin on
VendAccountCustom = VendTable.AccountNumOne or more CustomJournalTable_RU records → exactly one VendTable record
CustTable→CustTableJoin on
CustTable.ForeignResident_RU = 1,CustomJournalType = CustomJournalType_RU::Export,PartnerCode = CustTable.AccountNumMany CustomJournalTable_RU records → zero or one CustTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustomJournalTable_RU records → zero or one DimensionAttributeValueSet record
DlvTerm→DlvTermJoin on
DlvTermId = DlvTerm.CodeMany CustomJournalTable_RU records → exactly one DlvTerm record
FactureJour_RU→FactureJour_RUJoin on
FactureJour_RU.Module = FactureModule_RU::Vend,FactureId = FactureJour_RU.FactureIdMany CustomJournalTable_RU records → exactly one FactureJour_RU record
InventGTD→InventGTD_RUJoin on
InventGTDId = InventGTD_RU.InventGTDIdMany CustomJournalTable_RU records → exactly one InventGTD_RU record
InventJournalTable→InventJournalTableJoin on
TransferInventJournalId = InventJournalTable.JournalIdMany CustomJournalTable_RU records → zero or one InventJournalTable record
InventProfile_RU→InventProfile_RUJoin on
InventProfileId = InventProfile_RU.InventProfileIdMany CustomJournalTable_RU records → exactly one InventProfile_RU record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
CountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany CustomJournalTable_RU records → exactly one LogisticsAddressCountryRegion record
PartnerCode_SelfFK→CustomJournalTable_RUJoin on
CustomJournalType = CustomJournalTable_RU.CustomJournalType,PartnerCode = CustomJournalTable_RU.PartnerCodeOne or more CustomJournalTable_RU records → exactly one CustomJournalTable_RU record
SubledgerVoucherGeneralJournalEntry→SubledgerVoucherGeneralJournalEntryJoin on
LedgerVoucher = SubledgerVoucherGeneralJournalEntry.Voucher,dataAreaId = SubledgerVoucherGeneralJournalEntry.VoucherDataAreaIdMany CustomJournalTable_RU records → zero or one SubledgerVoucherGeneralJournalEntry record
VendLedger→VendLedgerJoin on
PostingProfile = VendLedger.PostingProfileOne or more CustomJournalTable_RU records → exactly one VendLedger record
VendPaymModeTable→VendPaymModeTableJoin on
PaymentMode = VendPaymModeTable.PaymModeMany CustomJournalTable_RU records → exactly one VendPaymModeTable record
VendTable→VendTableJoin on
VendTable.ForeignResident_RU = 1,CustomJournalType = CustomJournalType_RU::Import,PartnerCode = VendTable.AccountNumMany 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.