Table

VendPaymModeFee

Vendor payment fee setup

Holds the setup of vendor payment fees by method of payment and payment specification. A row sets the fee as a percentage, amount or interval, with limits, dates and currencies. It can be limited to a bank, vendor or vendor group and to sales tax groups. Several fields are used for Japan.

Table name
VendPaymModeFee
Module
Bank
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
FeeModeIdx
Replacement key
None
Key fields
PaymFeeId, PaymMode, PaymSpec, RecId
Model
Foundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PaymFeeIdThe ID of the vendor payment fee.String
VendPaymFeeId
YesVendPaymFee.FeeIdNone
PaymModeThe vendor method of payment that the fee applies to.String
VendPaymMode
YesVendPaymModeTable.PaymModeNone
PaymSpecThe payment specification that the fee applies to, within the method of payment.String
PaymSpec
NoVendPaymModeSpec.SpecificationNone
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
BankRelationThe bank account or bank group that the fee applies to.String
BankRelation
NoBankAccountTable.AccountIDBankGroup.BankGroupIdNone
BankRemittanceTypeThe remittance type: none, collection or discount.Enum
BankRemittanceType (enum)
NoNone
BankTableGroupAllTells whether the bank relation is a single bank, a group or all banks.Enum
BankTableGroupAll
TableGroupAll (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FeeCurrencyThe currency in which the fee is stated.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
FeeValueThe fee as a percentage or an amount.Real
PaymFeePercentAmountValue
NoNone
FromDateThe first date on which the fee setup is valid.Date
FromDate
NoNone
MinFeeValueThe lowest fee that can be charged.Real
PaymFeeValue
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymCurrencyThe currency of the payment that the fee applies to.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
PaymFeeBankRule_JPPoints to the bank rule for the payment fee, used for Japan.Int64
RefRecId
NoPaymFeeBankRule_JP.RecIdNone
PaymMaxThe upper limit of the payment amount range.Real
AmountCur
NoNone
PaymMinThe lower limit of the payment amount range.Real
AmountCur
NoNone
PercentAmountTells whether the fee is a percentage, an amount or set by interval.Enum
PercentAmountInterval (enum)
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
TaxDirection_JPThe sales tax direction of the fee: receivable, payable or automatic. Used for Japan.Enum
VendPaymFeeTaxDirection_JP (enum)
NoNone
TaxGroupThe sales tax group linked to the fee.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupThe item sales tax group linked to the fee.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
ToDateThe last date on which the fee setup is valid.Date
ToDate
NoNone
VendRelation_JPThe vendor account or vendor payment fee group that the fee applies to. Used for Japan.String (20)
VendRelation_JP
NoCustVendPaymFeeGroup_JP.GroupIdVendTable.AccountNumNone
VendTableGroupAll_JPTells whether the vendor relation is a single vendor, a group or all vendors. Used for Japan.Enum
VendTableGroupAll_JP (enum)
NoNone

Indexes (2)

Relations (12)

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

  • BankAccountTable → BankAccountTable

    Join on BankRelation = BankAccountTable.AccountID, BankTableGroupAll = TableGroupAll::Table

    Many VendPaymModeFee records → zero or one BankAccountTable record

  • BankGroup → BankGroup

    Join on BankRelation = BankGroup.BankGroupId, BankTableGroupAll = TableGroupAll::GroupId

    Many VendPaymModeFee records → zero or one BankGroup record

  • Currency_FeeCurrency → Currency

    Join on FeeCurrency = Currency.CurrencyCode

    Many VendPaymModeFee records → zero or one Currency record

  • Currency_PaymCurrency → Currency

    Join on PaymCurrency = Currency.CurrencyCode

    Many VendPaymModeFee records → zero or one Currency record

  • PaymFeeBankRule_JP → PaymFeeBankRule_JP

    Join on PaymFeeBankRule_JP = PaymFeeBankRule_JP.RecId

    Many VendPaymModeFee records → exactly one PaymFeeBankRule_JP record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many VendPaymModeFee records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many VendPaymModeFee records → zero or one TaxItemGroupHeading record

  • VendPaymFee → VendPaymFee

    Join on PaymFeeId = VendPaymFee.FeeId

    Many VendPaymModeFee records → exactly one VendPaymFee record

  • VendPaymModeSpec → VendPaymModeSpec

    Join on PaymSpec = VendPaymModeSpec.Specification, PaymMode = VendPaymModeSpec.PaymMode

    Many VendPaymModeFee records → zero or one VendPaymModeSpec record

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many VendPaymModeFee records → exactly one VendPaymModeTable record

  • VendPaymFeeGroup_JP → CustVendPaymFeeGroup_JP

    Join on VendTableGroupAll_JP = VendTableGroupAll_JP::GroupId, VendRelation_JP = CustVendPaymFeeGroup_JP.GroupId, CustVendPaymFeeGroup_JP.Module = ModuleCustVend::Vend

    Many VendPaymModeFee records → zero or one CustVendPaymFeeGroup_JP record

  • VendTable_JP → VendTable

    Join on VendRelation_JP = VendTable.AccountNum, VendTableGroupAll_JP = VendTableGroupAll_JP::Table

    Many VendPaymModeFee records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk