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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefRecIdPoints to the payment journal line that the fee belongs to. | Int64LedgerJournalTransRefRecId | Yes | LedgerJournalTrans.RecId | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity |
FeeIdCode of the fee. It points to a customer or vendor payment fee. | StringCustVendPaymFeeId | Yes | CustPaymFee.FeeIdVendPaymFee.FeeId | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity |
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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the default dimension set for the fee. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity |
FeeCurrencyCurrency of the fee. It points to a currency record. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity |
feeTransRecIdPoints to the journal line created for the fee. | Int64LedgerJournalTransRefRecId | No | LedgerJournalTrans.RecId | None |
FeeValueAmount of the fee. | RealPaymFeeValue | No | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity | |
IsPaymFeeCoveredByVendor_JPYes/No flag. Shows whether the vendor pays the payment fee, used for Japan. | EnumVendPaymFeeCovered_JPNoYes (enum) | No | VendorPaymentJournalFeeEntity | |
LedgerDimensionAccount for the fee, stored as a dimension combination. | Int64DimensionDynamicAccount | No | DimensionAttributeValueCombination.RecId | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity |
LedgerJournalACTypeKind of account, such as ledger, customer, vendor or bank. | EnumLedgerJournalACType (enum) | No | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity | |
ModuleShows whether the fee is for customers or vendors. | EnumModuleCustVend (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxDirection_JPSales tax direction for the fee, used for Japan: receivable, payable or automatic. | EnumVendPaymFeeTaxDirection_JP (enum) | No | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity | |
TaxGroupSales tax group for the fee. It points to a sales tax group record. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity |
TaxItemGroupItem sales tax group for the fee. It points to an item sales tax group record. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | CustomerPaymentJournalFeeEntityVendorPaymentJournalFeeEntity |
Indexes (4)
RefIdxPrimary indexUnique.
FK_DimensionAttributeValueCombination_CuNot unique.
DimensionAttributeValueSetIdxNot unique.
FeeTransRecIdNot unique.
Relations (9)
Each relation joins CustVendPaymJournalFee to another table on the fields shown.
Currency→CurrencyJoin on
FeeCurrency = Currency.CurrencyCodeMany CustVendPaymJournalFee records → exactly one Currency record
CustPaymFee→CustPaymFeeJoin on
Module = ModuleCustVend::Cust,FeeId = CustPaymFee.FeeIdMany CustVendPaymJournalFee records → zero or one CustPaymFee record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustVendPaymJournalFee records → zero or one DimensionAttributeValueSet record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany CustVendPaymJournalFee records → zero or one DimensionAttributeValueCombination record
LedgerJournalTrans→LedgerJournalTransJoin on
RefRecId = LedgerJournalTrans.RecIdMany CustVendPaymJournalFee records → exactly one LedgerJournalTrans record
LedgerJournalTrans_feeTransRecId→LedgerJournalTransJoin on
feeTransRecId = LedgerJournalTrans.RecIdMany CustVendPaymJournalFee records → zero or one LedgerJournalTrans record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany CustVendPaymJournalFee records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany CustVendPaymJournalFee records → zero or one TaxItemGroupHeading record
VendPaymFee→VendPaymFeeJoin on
Module = ModuleCustVend::Vend,FeeId = VendPaymFee.FeeIdMany 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.
CustomerPaymentJournalFeeEntity· 10 fields from this tableVendorPaymentJournalFeeEntity· 11 fields from this table
Need help with CustVendPaymJournalFee in a report, an integration or a migration? Talk to Dr Dynamics.