Table

CredManBlockExclusionRule

Credit management rules setup

Holds the credit management rules that block or exclude customers. A rule can apply to one customer, a group or all, and may depend on a risk group. Rule types include days overdue, overdue amount, credit limit used and terms of payment.

Table name
CredManBlockExclusionRule
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
RulesIdx
Key fields
RuleId, RuleType, TableGroupAll, CustRelation, RiskGroupId, OverdueValueType
Model
CreditManagement

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleIdKind of blocking rule, such as Days overdue, Account status or Credit limit used.Enum
CredManBlockExclusionRuleType (enum)
YesCredManBlockExclusionRuleEntity
RuleTypeShows whether the rule is Blocking or Exclusion.Enum
CredManRuleType (enum)
NoCredManBlockExclusionRuleEntity
TableGroupAllWhether the rule applies to a single account (Table), a Group or All.Enum
TableGroupAll (enum)
NoCredManBlockExclusionRuleEntity
CustRelationCustomer account, customer group or account status the rule applies to.String (100)
CredManCustRel
NoCredManAccountStatusTable.CustAccountStatusIdCredManGroup.GroupIdCustTable.AccountNumPaymTerm.PaymTermIdCredManBlockExclusionRuleEntity
RiskGroupIdRisk group the rule applies to.String
CredManRiskGroupId
NoCredManRiskGroup.RiskGroupIdCredManBlockExclusionRuleEntity
OverdueValueTypeWhether the overdue value is measured in Days or Amount.Enum
CredManOverdueValueType (enum)
NoNone
CreditLimitThresholdThreshold value for the credit limit.Real
CredManCreditLimitThreshold
NoCredManBlockExclusionRuleEntity
CurrencyCodeCurrency used for amounts in the rule.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
GraceValueGrace value allowed for the rule.Real
CredManGraceValue
NoCredManBlockExclusionRuleEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReleaseSalesOrderYes or No flag linked to releasing sales orders.Enum
CredManReleaseSalesOrder
NoYes (enum)
NoCredManBlockExclusionRuleEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValueTypeWhether the value is a Percent or a Fixed amount.Enum
CredManBlockExclusionValueType (enum)
NoCredManBlockExclusionRuleEntity

Indexes (1)

Relations (6)

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

  • CredManGroup → CredManGroup

    Join on TableGroupAll = TableGroupAll::GroupId, CustRelation = CredManGroup.GroupId

    Many CredManBlockExclusionRule records → zero or one CredManGroup record

  • CustTable → CustTable

    Join on TableGroupAll = TableGroupAll::Table, CustRelation = CustTable.AccountNum

    Many CredManBlockExclusionRule records → zero or one CustTable record

  • PaymTerm → PaymTerm

    Join on RuleId = CredManBlockExclusionRuleType::PaymentTerm, TableGroupAll = TableGroupAll::Table, CustRelation = PaymTerm.PaymTermId

    Many CredManBlockExclusionRule records → zero or one PaymTerm record

  • CredManRiskGroup → CredManRiskGroup

    Join on RiskGroupId = CredManRiskGroup.RiskGroupId

    Many CredManBlockExclusionRule records → exactly one CredManRiskGroup record

  • CredManAccountStatusTable → CredManAccountStatusTable

    Join on RuleId = CredManBlockExclusionRuleType::AccountStatus, TableGroupAll = TableGroupAll::Table, CustRelation = CredManAccountStatusTable.CustAccountStatusId

    Many CredManBlockExclusionRule records → zero or one CredManAccountStatusTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CredManBlockExclusionRule records → exactly one Currency record

Get this data out

Tables are not exposed directly. These public entities read from CredManBlockExclusionRule; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk