Table
CustAutomationStrategyLine
Collections process automation line
Holds one step of a collections process automation strategy. Each line sets an action, how many days before or after the invoice due date it applies, and who receives it. Lines link to their parent strategy through ParentRecId and can point to an activity template or an email template.
- Table name
CustAutomationStrategyLine- Module
Accounts receivable- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
DaysBusinessDocBusinessContactParentRecId- Replacement key
None- Key fields
Days, BusinessDocument, BusinessPurposeContact, ParentRecId- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DaysNumber of days between the invoice due date and this step. | IntegerCustAutomationDays | No | None | |
BusinessDocumentName of the activity template or email ID used as the document for this step. | String (60)CustAutomationStrategyBusinessDocument | No | CustAutomationActivityTemplate.TemplateNameSysEmailSystemTable.EmailId | None |
BusinessPurposeContactBusiness purpose of the contact to use for this step. | String (60)CustAutomationBusinessPurposeContact | No | None | |
ParentRecIdPoints to the collections process automation strategy that owns this line. | Int64 | Yes | CustAutomationStrategy.RecId | None |
ActionTypeKind of action the line carries out: an activity, a collection letter or an email. | EnumCustAutomationActionType (enum) | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree-text description of the line. | String (512)TransactionTextLarge | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PredunningYes/no flag marking the line as a pre-dunning step. | EnumNoYes (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecipientWho the step is aimed at: nobody, the customer, the sales group or the collections agent. | EnumCustAutomationRecipient (enum) | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WhenSays whether the step falls before or after the invoice due date. | EnumCustAutomationWhenRelationDueDate (enum) | No | None |
Indexes (1)
DaysBusinessDocBusinessContactParentRecIdPrimary indexDays,BusinessDocument,BusinessPurposeContact,ParentRecIdUnique.
Relations (3)
Each relation joins CustAutomationStrategyLine to another table on the fields shown.
CustAutomationStrategy→CustAutomationStrategyJoin on
ParentRecId = CustAutomationStrategy.RecIdCardinality not set in the metadata.
CustAutomationActivityTemplate→CustAutomationActivityTemplateJoin on
BusinessDocument = CustAutomationActivityTemplate.TemplateName,ActionType = CustAutomationActionType::ActivityCardinality not set in the metadata.
SysEmailSystemTable→SysEmailSystemTableJoin on
BusinessDocument = SysEmailSystemTable.EmailId,ActionType = CustAutomationActionType::EmailMany CustAutomationStrategyLine records → zero or one SysEmailSystemTable record
Get this data out
No public entity reads from CustAutomationStrategyLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustAutomationStrategyLine in a report, an integration or a migration? Talk to Dr Dynamics.