Table

CustPaymModeFee

Customer payment fee setup

Holds the setup of fees for customer payments. A fee is linked to a method of payment and a payment specification. It can be limited by bank, currency, date range, amount range and sales tax groups. The fee can be a percentage, an amount or an interval.

Table name
CustPaymModeFee
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 (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PaymFeeIdPoints to the customer payment fee.String
CustPaymFeeId
YesCustPaymFee.FeeIdNone
PaymModeCustomer method of payment the fee is set up for.String
CustPaymMode
YesCustPaymModeTable.PaymModeNone
PaymSpecPayment specification the fee is set up for.String
PaymSpec
NoCustPaymModeSpec.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
BankRelationBank account or bank group that the fee is linked to.String
BankRelation
NoBankAccountTable.AccountIDBankGroup.BankGroupIdNone
BankRemittanceTypeType of remittance: none, collection or discount.Enum
BankRemittanceType (enum)
NoNone
BankTableGroupAllScope of the bank selection: one bank, a group or all.Enum
BankTableGroupAll
TableGroupAll (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FeeCurrencyCurrency in which the fee is charged.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
FeeValueValue of the fee, as a percentage or an amount.Real
PaymFeePercentAmountValue
NoNone
FromDateFirst date on which the fee applies.Date
FromDate
NoNone
MinFeeValueSmallest fee that can be charged.Real
AmountCur
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymCurrencyCurrency of the payment that the fee applies to.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
PaymMaxUpper limit of the payment amount range.Real
AmountCur
NoNone
PaymMinLower limit of the payment amount range.Real
AmountCur
NoNone
PercentAmountShows whether the fee is a percentage, an amount or an 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
TaxGroupSales tax group linked to the fee.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group linked to the fee.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
ToDateLast date on which the fee applies.Date
ToDate
NoNone

Indexes (2)

Relations (9)

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

  • BankAccountTable → BankAccountTable

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

    Many CustPaymModeFee records → zero or one BankAccountTable record

  • BankGroup → BankGroup

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

    Many CustPaymModeFee records → zero or one BankGroup record

  • Currency_FeeCurrency → Currency

    Join on FeeCurrency = Currency.CurrencyCode

    Many CustPaymModeFee records → zero or one Currency record

  • Currency_PaymCurrency → Currency

    Join on PaymCurrency = Currency.CurrencyCode

    Many CustPaymModeFee records → zero or one Currency record

  • CustPaymFee → CustPaymFee

    Join on PaymFeeId = CustPaymFee.FeeId

    Many CustPaymModeFee records → exactly one CustPaymFee record

  • CustPaymModeSpec → CustPaymModeSpec

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

    Many CustPaymModeFee records → exactly one CustPaymModeSpec record

  • CustPaymModeTable → CustPaymModeTable

    Join on PaymMode = CustPaymModeTable.PaymMode

    Many CustPaymModeFee records → exactly one CustPaymModeTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CustPaymModeFee records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many CustPaymModeFee records → zero or one TaxItemGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk