Data entity

PaymentCalendarRuleEntity

Holds the rules that decide which payment calendar applies. Each rule has a name, a module type, a rule type, an active flag and a payment priority. It also links to a payment calendar and can carry vendor or customer method of payment and terms of payment. It also holds priority numbers for the document bank account address, primary address and document address.

Entity name
PaymentCalendarRuleEntity
Public entity name
PaymentCalendarRule
OData collection
PaymentCalendarRules
Category
Not set
Module
APAR shared
Read-only
No
Data management enabled
Yes
Configuration key
PaymCalendar
Keys
ModuleType, Priority
Staging table
PaymentCalendarRuleStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PaymentCalendarRules
Dataverse virtual table
mserp_paymentcalendarruleentity. 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

  • PaymCalendarRule · root
  • PaymCalendar · OuterJoin to PaymCalendarRule · read-only
  • PaymCalendarCriteriaRule · Derived to PaymCalendarRule
  • PaymCalendarLocationRule · Derived to PaymCalendarRule

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
NameName of the rule.String (60)
Name
YesYesPaymCalendarRule.Name
DescriptionShort text that describes the rule.String (60)
Description
NoYesPaymCalendarRule.Description
InstanceRelationTypeNumeric relation type for the rule. Its exact meaning is not clear from the metadata.low confidenceInt64
RelationType
NoNo (private)PaymCalendarRule.InstanceRelationType
ModuleTypeShows whether the rule is for customers or vendors.Enum
PaymCalendarModuleType
  • Customer 0
  • Vendor 1
NoYesPaymCalendarRule.ModuleType
RuleTypeKind of rule: specific, customer/vendor location or company location.Enum
PaymCalendarRuleType
  • Specific 0
  • ThirdPartyLocation 1
  • LegalEntityLocation 2
NoYesPaymCalendarRule.RuleType
IsActiveYes/No choice that shows whether the rule is active.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPaymCalendarRule.IsActive
PriorityPriority number of the rule. It is also part of the key.Integer
PaymCalendarPriority
NoYesPaymCalendarRule.Priority
ThirdPartyDocumentBankAddressPriorityPriority number given to the document bank account address when the rule looks for an address.IntegerNoYesvirtual
ThirdPartyPrimaryAddressPriorityPriority number given to the primary address when the rule looks for an address.IntegerNoYesvirtual
ThirdPartyDocumentAddressPriorityPriority number given to the document address when the rule looks for an address.IntegerNoYesvirtual
SpecificPaymentCalendarNameName that identifies the payment calendar.String (60)
Name
NoYesPaymCalendar.Name
SpecificVendorPaymentMethodVendor method of payment used as a criterion.String
PaymMode
NoYesVendPaymModeTable.PaymModePaymCalendarCriteriaRule.VendorPaymMode
SpecificCustomerPaymentMethodCustomer method of payment used as a criterion.String
PaymMode
NoYesCustPaymModeTable.PaymModePaymCalendarCriteriaRule.CustomerPaymMode
SpecificPaymentTermsTerms of payment used as a criterion.String (100)
PaymTermId
NoYesPaymTerm.PaymTermIdPaymCalendarCriteriaRule.PaymTerm

Foreign keys (3)

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.

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

Email sales@drdynamics.co.uk