Data entity

VendorPaymentJournalFeeEntity

Payment fees on vendor payment journal lines. The key is the journal batch number, the journal line number and the fee ID. It holds the currency, fee amount, account type, sales tax and withholding tax groups, dimensions and a flag for whether the vendor pays the fee.

Entity name
VendorPaymentJournalFeeEntity
Public entity name
VendorPaymentJournalFee
OData collection
VendorPaymentJournalFees
Category
Transaction
Module
Accounts payable
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
SourceJournalBatchNumber, SourceJournalLineNumber, PaymentFeeId
Staging table
VendorPaymentJournalFeeStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/VendorPaymentJournalFees
Dataverse virtual table
mserp_vendorpaymentjournalfeeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • CustVendPaymJournalFee · root
  • DefaultDimensionDAVS (table DimensionSetEntity) · OuterJoin to CustVendPaymJournalFee · read-only
  • AccountDAVC (table DimensionCombinationEntity) · OuterJoin to CustVendPaymJournalFee · read-only
  • SourceLedgerJournalTrans (table LedgerJournalTrans) · InnerJoin to CustVendPaymJournalFee · read-only
  • TaxWithholdItemGroupHeading_TH · OuterJoin to SourceLedgerJournalTrans · read-only

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SourceJournalLineRefRecIdPoints to the payment journal line that the fee belongs to.Int64
LedgerJournalTransRefRecId
YesNo (private)LedgerJournalTrans.RecIdCustVendPaymJournalFee.RefRecId
DefaultDimensionPoints to the default dimension set for the fee.Int64
DimensionDefault
NoNo (private)DimensionAttributeValueSet.RecIdCustVendPaymJournalFee.DefaultDimension
CurrencyCodeCurrency of the fee. It points to a currency record.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeCustVendPaymJournalFee.FeeCurrency
PaymentFeeIdCode of the fee. It points to a customer or vendor payment fee.String
CustVendPaymFeeId
YesYesCustPaymFee.FeeIdVendPaymFee.FeeIdCustVendPaymJournalFee.FeeId
AmountAmount of the fee.Real
PaymFeeValue
YesYesCustVendPaymJournalFee.FeeValue
AccountAccount for the fee, stored as a dimension combination.Int64
DimensionDynamicAccount
NoNo (private)DimensionAttributeValueCombination.RecIdCustVendPaymJournalFee.LedgerDimension
AccountTypeKind of account, such as ledger, customer, vendor or bank.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoYesCustVendPaymJournalFee.LedgerJournalACType
SalesTaxDirectionSales tax direction for the fee, used for Japan: receivable, payable or automatic.Enum
VendPaymFeeTaxDirection_JP
  • IncomingTax 0
  • OutgoingTax 1
  • Automatic 2
NoYesCustVendPaymJournalFee.TaxDirection_JP
SalesTaxGroupSales tax group for the fee. It points to a sales tax group record.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupCustVendPaymJournalFee.TaxGroup
ItemSalesTaxGroupItem sales tax group for the fee. It points to an item sales tax group record.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupCustVendPaymJournalFee.TaxItemGroup
DefaultDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
AccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
YesYesNone
SourceJournalLineNumberLine number within the journal.Real
LineNum
YesYesBankPaymentOrderJour_RU.JournalLineNumLedgerJournalTrans.LineNum
SourceJournalBatchNumberNumber of the journal batch that the line belongs to.String (20)
LedgerJournalId
YesYesLedgerJournalTable.JournalNumLedgerJournalTrans.JournalNum
ItemWithholdingTaxGroupCodeIdentifier of the item withholding tax group. It is the key of the table.String
TaxWithholdItemGroup_TH
NoYesTaxWithholdItemGroupHeading_TH.TaxWithholdItemGroup
IsPaymFeeCoveredByVendorYes/No flag. Shows whether the vendor pays the payment fee, used for Japan.Enum
VendPaymFeeCovered_JP
NoYes

Platform enum: values not in the metadata extract.

NoYesCustVendPaymJournalFee.IsPaymFeeCoveredByVendor_JP

Foreign keys (10)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • SourceJournalLineRefRecId → LedgerJournalTrans.RecId (key of LedgerJournalTrans)

    Many CustVendPaymJournalFee records → exactly one LedgerJournalTrans record

    LedgerJournalTrans details: see VendInvoiceJournalLineEntity, CustomerPaymentJournalLineEntity, VendorPaymentJournalLineEntity

  • DefaultDimension → DimensionAttributeValueSet.RecId (key of DimensionAttributeValueSet)

    Many CustVendPaymJournalFee records → zero or one DimensionAttributeValueSet record

    DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity

  • CurrencyCode → Currency.CurrencyCode (key of Currency)

    Many CustVendPaymJournalFee records → exactly one Currency record

    Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity

  • PaymentFeeId → CustPaymFee.FeeId (key of CustPaymFee)

    Relation also requires Module = ModuleCustVend::Cust.

    Many CustVendPaymJournalFee records → zero or one CustPaymFee record

    CustPaymFee details: see CustomerPaymentFeeEntity

  • PaymentFeeId → VendPaymFee.FeeId (key of VendPaymFee)

    Relation also requires Module = ModuleCustVend::Vend.

    Many CustVendPaymJournalFee records → zero or one VendPaymFee record

    VendPaymFee details: see VendorPaymentFeeEntity

  • Account → DimensionAttributeValueCombination.RecId (key of DimensionAttributeValueCombination)

    Many CustVendPaymJournalFee records → zero or one DimensionAttributeValueCombination record

    DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity

  • SalesTaxGroup → TaxGroupHeading.TaxGroup (key of TaxGroupHeading)

    Many CustVendPaymJournalFee records → zero or one TaxGroupHeading record

    TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity

  • ItemSalesTaxGroup → TaxItemGroupHeading.TaxItemGroup (key of TaxItemGroupHeading)

    Many CustVendPaymJournalFee records → zero or one TaxItemGroupHeading record

    TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity

  • SourceJournalLineNumber → BankPaymentOrderJour_RU.JournalLineNum (key of BankPaymentOrderJour_RU)

    Join on all of: SourceJournalLineNumber = BankPaymentOrderJour_RU.JournalLineNum, TransDate (table field, not in this entity) = BankPaymentOrderJour_RU.JournalTransDate, AccountType (table field, not in this entity) = BankPaymentOrderJour_RU.LedgerACType, SourceJournalBatchNumber = BankPaymentOrderJour_RU.JournalNum, Voucher (table field, not in this entity) = BankPaymentOrderJour_RU.Voucher

    Many LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record

    BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity

  • SourceJournalBatchNumber → LedgerJournalTable.JournalNum (key of LedgerJournalTable)

    Many LedgerJournalTrans records → exactly one LedgerJournalTable record

    LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity

Need help with VendorPaymentJournalFeeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk