Table

CustCollectionAgencyGracePeriodSetup_W

Collection agency grace period setup

Setup table for grace periods in collection agency handling. A record applies to one customer, a customer group or all customers, within a date range. It gives the number of days of grace after the transaction date.

Table name
CustCollectionAgencyGracePeriodSetup_W
Module
Accounts receivable
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
CustCollectionLetter
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCodeWhether the setup applies to one customer, a customer group or all customers.Enum
CustCollectionLetterAccountCode_W
TableGroupAll (enum)
NoCustCollectionAgencyGracePeriodSetupEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateFirst date of the validity period.Date
FromDate
NoCustCollectionAgencyGracePeriodSetupEntity
GraceDaysAfterTransDateNumber of grace days after the transaction date.Integer
PositiveDays
NoCustCollectionAgencyGracePeriodSetupEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NumCustomer account or customer group, depending on the account code.String (20)
CustCollectionLetterAccountRelation_W
NoCustGroup.CustGroupCustTable.AccountNumCustCollectionAgencyGracePeriodSetupEntity
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
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
ToDateLast date of the validity period.Date
ToDate
NoCustCollectionAgencyGracePeriodSetupEntity

Indexes (1)

Relations (2)

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

  • CustGroup → CustGroup

    Join on AccountCode = TableGroupAll::GroupId, Num = CustGroup.CustGroup

    Many CustCollectionAgencyGracePeriodSetup_W records → zero or one CustGroup record

  • CustTable → CustTable

    Join on AccountCode = TableGroupAll::Table, Num = CustTable.AccountNum

    Many CustCollectionAgencyGracePeriodSetup_W records → zero or one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk