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· rootPaymCalendar· OuterJoin toPaymCalendarRule· read-onlyPaymCalendarCriteriaRule· Derived toPaymCalendarRulePaymCalendarLocationRule· Derived toPaymCalendarRule
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
NameName of the rule. | String (60)Name | Yes | Yes | PaymCalendarRule.Name | |
DescriptionShort text that describes the rule. | String (60)Description | No | Yes | PaymCalendarRule.Description | |
InstanceRelationTypeNumeric relation type for the rule. Its exact meaning is not clear from the metadata.low confidence | Int64RelationType | No | No (private) | PaymCalendarRule.InstanceRelationType | |
ModuleTypeShows whether the rule is for customers or vendors. | Enum
| No | Yes | PaymCalendarRule.ModuleType | |
RuleTypeKind of rule: specific, customer/vendor location or company location. | Enum
| No | Yes | PaymCalendarRule.RuleType | |
IsActiveYes/No choice that shows whether the rule is active. | Enum
| No | Yes | PaymCalendarRule.IsActive | |
PriorityPriority number of the rule. It is also part of the key. | IntegerPaymCalendarPriority | No | Yes | PaymCalendarRule.Priority | |
ThirdPartyDocumentBankAddressPriorityPriority number given to the document bank account address when the rule looks for an address. | Integer | No | Yes | virtual | |
ThirdPartyPrimaryAddressPriorityPriority number given to the primary address when the rule looks for an address. | Integer | No | Yes | virtual | |
ThirdPartyDocumentAddressPriorityPriority number given to the document address when the rule looks for an address. | Integer | No | Yes | virtual | |
SpecificPaymentCalendarNameName that identifies the payment calendar. | String (60)Name | No | Yes | PaymCalendar.Name | |
SpecificVendorPaymentMethodVendor method of payment used as a criterion. | StringPaymMode | No | Yes | VendPaymModeTable.PaymMode | PaymCalendarCriteriaRule.VendorPaymMode |
SpecificCustomerPaymentMethodCustomer method of payment used as a criterion. | StringPaymMode | No | Yes | CustPaymModeTable.PaymMode | PaymCalendarCriteriaRule.CustomerPaymMode |
SpecificPaymentTermsTerms of payment used as a criterion. | String (100)PaymTermId | No | Yes | PaymTerm.PaymTermId | PaymCalendarCriteriaRule.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.
SpecificVendorPaymentMethod→VendPaymModeTable.PaymMode(key of VendPaymModeTable)Many PaymCalendarCriteriaRule records → zero or one VendPaymModeTable record
VendPaymModeTable details: see VendorPaymentMethodEntity, BankVendPaymModeBankAccountsEntity, VendPaymModeTableCDREntity
SpecificCustomerPaymentMethod→CustPaymModeTable.PaymMode(key of CustPaymModeTable)Many PaymCalendarCriteriaRule records → zero or one CustPaymModeTable record
CustPaymModeTable details: see CustomerPaymentMethodEntity, BankCustPaymModeBankAccountsEntity, CustPaymModeTableBiEntity
SpecificPaymentTerms→PaymTerm.PaymTermId(key of PaymTerm)Many PaymCalendarCriteriaRule records → zero or one PaymTerm record
PaymTerm details: see PaymentTermEntity, CredManPaymTermRankEntity, TaxWithholdSettlementPeriodEntity
Need help with PaymentCalendarRuleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.