Table

CustVendPaymJournalFee

Payment journal fee

Holds fees on customer and vendor payment journal lines. Each record is keyed by the journal line, the fee ID and the record ID. It stores the fee amount, currency, account and tax groups. It also has fields used for Japan.

Table name
CustVendPaymJournalFee
Module
Bank
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RefIdx
Replacement key
None
Key fields
RefRecId, FeeId, RecId
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefRecIdPoints to the payment journal line that the fee belongs to.Int64
LedgerJournalTransRefRecId
YesLedgerJournalTrans.RecIdCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
FeeIdCode of the fee. It points to a customer or vendor payment fee.String
CustVendPaymFeeId
YesCustPaymFee.FeeIdVendPaymFee.FeeIdCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the default dimension set for the fee.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
FeeCurrencyCurrency of the fee. It points to a currency record.String (3)
CurrencyCode
YesCurrency.CurrencyCodeCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
feeTransRecIdPoints to the journal line created for the fee.Int64
LedgerJournalTransRefRecId
NoLedgerJournalTrans.RecIdNone
FeeValueAmount of the fee.Real
PaymFeeValue
NoCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
IsPaymFeeCoveredByVendor_JPYes/No flag. Shows whether the vendor pays the payment fee, used for Japan.Enum
VendPaymFeeCovered_JP
NoYes (enum)
NoVendorPaymentJournalFeeEntity
LedgerDimensionAccount for the fee, stored as a dimension combination.Int64
DimensionDynamicAccount
NoDimensionAttributeValueCombination.RecIdCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
LedgerJournalACTypeKind of account, such as ledger, customer, vendor or bank.Enum
LedgerJournalACType (enum)
NoCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
ModuleShows whether the fee is for customers or vendors.Enum
ModuleCustVend (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxDirection_JPSales tax direction for the fee, used for Japan: receivable, payable or automatic.Enum
VendPaymFeeTaxDirection_JP (enum)
NoCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
TaxGroupSales tax group for the fee. It points to a sales tax group record.String
TaxGroup
NoTaxGroupHeading.TaxGroupCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity
TaxItemGroupItem sales tax group for the fee. It points to an item sales tax group record.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupCustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity

Indexes (4)

Relations (9)

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

  • Currency → Currency

    Join on FeeCurrency = Currency.CurrencyCode

    Many CustVendPaymJournalFee records → exactly one Currency record

  • CustPaymFee → CustPaymFee

    Join on Module = ModuleCustVend::Cust, FeeId = CustPaymFee.FeeId

    Many CustVendPaymJournalFee records → zero or one CustPaymFee record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustVendPaymJournalFee records → zero or one DimensionAttributeValueSet record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many CustVendPaymJournalFee records → zero or one DimensionAttributeValueCombination record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on RefRecId = LedgerJournalTrans.RecId

    Many CustVendPaymJournalFee records → exactly one LedgerJournalTrans record

  • LedgerJournalTrans_feeTransRecId → LedgerJournalTrans

    Join on feeTransRecId = LedgerJournalTrans.RecId

    Many CustVendPaymJournalFee records → zero or one LedgerJournalTrans record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CustVendPaymJournalFee records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many CustVendPaymJournalFee records → zero or one TaxItemGroupHeading record

  • VendPaymFee → VendPaymFee

    Join on Module = ModuleCustVend::Vend, FeeId = VendPaymFee.FeeId

    Many CustVendPaymJournalFee records → zero or one VendPaymFee record

Get this data out

Tables are not exposed directly. These public entities read from CustVendPaymJournalFee; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk