Table "Issued Reminder Header"
Stores the header information for a posted reminder document that has been issued to a customer.
Properties
| Name | Value |
|---|---|
| Caption | Issued Reminder Header |
| DataCaptionFields | 1,3 |
| DrillDownPageID | Page Microsoft.Sales.Reminder."Issued Reminder List" |
| LookupPageID | Page Microsoft.Sales.Reminder."Issued Reminder List" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "No." | Code[20] | Specifies the unique identifier for the issued reminder document. |
| "Customer No." | Code[20] | Specifies the customer to whom this reminder was issued. |
| Name | Text[100] | Specifies the name of the customer at the time the reminder was issued. |
| "Name 2" | Text[50] | Specifies additional name information for the customer. |
| Address | Text[100] | Specifies the street address of the customer at the time of issuing. |
| "Address 2" | Text[50] | Specifies additional address information for the customer. |
| "Post Code" | Code[20] | Specifies the postal code of the customer's address. |
| City | Text[30] | Specifies the city of the customer's address. |
| County | Text[30] | Specifies the county or state of the customer's address. |
| "Country/Region Code" | Code[10] | Specifies the country or region code of the customer's address. |
| "Language Code" | Code[10] | Specifies the language code used for reminder text translations. |
| "Currency Code" | Code[10] | Specifies the currency in which amounts on the reminder were calculated. |
| Contact | Text[100] | Specifies the name of the contact person at the customer. |
| "Your Reference" | Text[35] | Specifies the customer's reference number or code for this document. |
| "Shortcut Dimension 1 Code" | Code[20] | Specifies the first shortcut dimension code used when the reminder was posted. |
| "Shortcut Dimension 2 Code" | Code[20] | Specifies the second shortcut dimension code used when the reminder was posted. |
| "Customer Posting Group" | Code[20] | Specifies the customer posting group used when the reminder was posted. |
| "Gen. Bus. Posting Group" | Code[20] | Specifies the general business posting group used when the reminder was posted. |
| "VAT Registration No." | Text[20] | Specifies the customer's VAT registration number for tax reporting. |
| "Reason Code" | Code[10] | Specifies the reason code that explains the purpose of the reminder entry. |
| "Posting Date" | Date | Specifies the date when the reminder was posted to the general ledger. |
| "Document Date" | Date | Specifies the date of the reminder document. |
| "Due Date" | Date | Specifies the date by which the customer was required to pay. |
| "Reminder Terms Code" | Code[10] | Specifies the reminder terms code that was used for this reminder. |
| "Fin. Charge Terms Code" | Code[10] | Specifies the finance charge terms used for calculating interest. |
| "Interest Posted" | Boolean | Indicates whether interest charges were posted when the reminder was issued. |
| "Additional Fee Posted" | Boolean | Indicates whether additional fees were posted when the reminder was issued. |
| "Reminder Level" | Integer | Specifies the escalation level at which this reminder was issued. |
| "Posting Description" | Text[100] | Specifies the description that appeared on ledger entries when the reminder was posted. |
| Comment | Boolean | Indicates whether comments are attached to this issued reminder. |
| "Remaining Amount" | Decimal | Contains the total remaining amount that the customer owed on the entries included in this reminder. |
| "Interest Amount" | Decimal | Contains the total interest amount that was charged on this reminder. |
| "Additional Fee" | Decimal | Contains the total additional fee amount that was charged on this reminder. |
| "VAT Amount" | Decimal | Contains the total VAT amount that was calculated on this reminder. |
| "No. Printed" | Integer | Specifies how many times the reminder has been printed. |
| "User ID" | Code[50] | Specifies the user who issued the reminder. |
| "No. Series" | Code[20] | Specifies the number series used to assign the document number. |
| "Pre-Assigned No. Series" | Code[20] | Specifies the number series of the original reminder before it was issued. |
| "Pre-Assigned No." | Code[20] | Specifies the document number of the original reminder before it was issued. |
| "Source Code" | Code[10] | Specifies the source code for audit trail purposes. |
| "Tax Area Code" | Code[20] | Specifies the tax area code for sales tax calculation. |
| "Tax Liable" | Boolean | Indicates whether the customer is liable for sales tax. |
| "VAT Bus. Posting Group" | Code[20] | Specifies the VAT business posting group used when the reminder was posted. |
| "Add. Fee per Line" | Decimal | Contains the total line fee amount charged on this reminder. |
| "VAT Reporting Date" | Date | Specifies the date used for VAT reporting purposes. |
| Canceled | Boolean | Indicates whether this issued reminder has been canceled. |
| "Canceled By" | Code[50] | Specifies the user who canceled the issued reminder. |
| "Canceled Date" | Date | Specifies the date when the issued reminder was canceled. |
| "Canceled By Document No." | Code[20] | Specifies the document number that canceled this issued reminder. |
| "Format Region" | Text[80] | Specifies the regional format for dates, numbers, and currency display. |
| "Email Text" | Blob | Contains the email body text content that was used for reminder communications. |
| "Sent For Current Level" | Boolean | Indicates whether an email has been sent for the current reminder level. |
| "Last Email Sent Date Time" | DateTime | Specifies the date and time when the last email was sent for this reminder. |
| "Total Email Sent Count" | Integer | Specifies the total number of times an email has been sent for this reminder. |
| "Last Level Email Sent Count" | Integer | Specifies the number of times an email has been sent for the current reminder level. |
| "Email Sent Level" | Integer | Specifies the reminder level at which the last email was sent. |
| "Failed Email Outbox Entry No." | BigInteger | Specifies the entry number of a failed email in the outbox for retry purposes. |
| "Company Bank Account Code" | Code[20] | Specifies the company bank account for receiving payments referenced on this reminder. |
| "Dimension Set ID" | Integer | Specifies the combination of dimension values that were applied to this reminder. |
| "Reminder Automation Code" | Code[50] | Specifies the reminder automation group code that was used to create this reminder. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
PrintRecords
Prints or sends issued reminders based on the specified options.
procedure PrintRecords(ShowRequestForm: Boolean; SendAsEmail: Boolean; HideDialog: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| ShowRequestForm | Boolean |
True to show the report request form before printing. |
| SendAsEmail | Boolean |
True to send reminders by email instead of printing. |
| HideDialog | Boolean |
True to suppress the email send dialog. |
ClearSentEmailFieldsOnLevelUpdate
Clears the sent email tracking fields when the reminder level changes.
procedure ClearSentEmailFieldsOnLevelUpdate(var IssuedReminderHeader: Record "Issued Reminder Header")
Parameters
| Name | Type | Description |
|---|---|---|
| IssuedReminderHeader | Table Microsoft.Sales.Reminder."Issued Reminder Header" |
The issued reminder header to update. |
Navigate
Opens the Navigate page to show all related ledger entries for this issued reminder.
procedure Navigate()
IncrNoPrinted
Increments the print count for this issued reminder.
procedure IncrNoPrinted()
ShowDimensions
Opens the dimension set entries page to view dimensions assigned to this reminder.
procedure ShowDimensions()
GetCustomerVATRegistrationNumber
Retrieves the customer's VAT registration number for document printing.
procedure GetCustomerVATRegistrationNumber(): Text
Returns
| Type | Description |
|---|---|
| Text |
Returns the VAT registration number. |
GetCustomerVATRegistrationNumberLbl
Retrieves the caption for the VAT registration number field.
procedure GetCustomerVATRegistrationNumberLbl(): Text
Returns
| Type | Description |
|---|---|
| Text |
Returns the field caption text. |
CalculateLineFeeVATAmount
Calculates the total VAT amount for line fees on this reminder.
procedure CalculateLineFeeVATAmount(): Decimal
Returns
| Type | Description |
|---|---|
| Decimal |
Returns the sum of VAT amounts for line fee entries. |
CalculateTotalIncludingVAT
Calculates the total amount including VAT for all lines on this reminder.
procedure CalculateTotalIncludingVAT(): Decimal
Returns
| Type | Description |
|---|---|
| Decimal |
Returns the sum of amounts and VAT amounts for all reminder lines. |
RunCancelIssuedReminder
Runs the Cancel Issued Reminders report for the selected issued reminder records.
procedure RunCancelIssuedReminder(var IssuedReminderHeader: Record "Issued Reminder Header")
Parameters
| Name | Type | Description |
|---|---|---|
| IssuedReminderHeader | Table Microsoft.Sales.Reminder."Issued Reminder Header" |
The issued reminder header records to cancel. |
Events
OnAfterPrintRecords
Raised after printing the issued reminder records.
[IntegrationEvent(False,False)]
local procedure OnAfterPrintRecords(var IssuedReminderHeader: Record "Issued Reminder Header"; ShowRequestForm: Boolean; SendAsEmail: Boolean; HideDialog: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| IssuedReminderHeader | Table Microsoft.Sales.Reminder."Issued Reminder Header" |
The issued reminder header record. |
| ShowRequestForm | Boolean |
Indicates whether to show the request form. |
| SendAsEmail | Boolean |
Indicates whether to send as email. |
| HideDialog | Boolean |
Indicates whether to hide dialogs. |
OnBeforePrintRecords
Raised before printing the issued reminder records.
[IntegrationEvent(False,False)]
local procedure OnBeforePrintRecords(var IssuedReminderHeader: Record "Issued Reminder Header"; ShowRequestForm: Boolean; SendAsEmail: Boolean; HideDialog: Boolean; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| IssuedReminderHeader | Table Microsoft.Sales.Reminder."Issued Reminder Header" |
The issued reminder header record. |
| ShowRequestForm | Boolean |
Indicates whether to show the request form. |
| SendAsEmail | Boolean |
Indicates whether to send as email. |
| HideDialog | Boolean |
Indicates whether to hide dialogs. |
| IsHandled | Boolean |
Set to true to skip default printing. |
OnGetReportParameters
Raised to get report parameters for the issued reminder report.
[IntegrationEvent(False,False)]
internal procedure OnGetReportParameters(var LogInteraction: Boolean; var ShowNotDueAmounts: Boolean; var ShowMIRLines: Boolean; ReportID: Integer; var Handled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| LogInteraction | Boolean |
Returns whether to log interaction. |
| ShowNotDueAmounts | Boolean |
Returns whether to show not due amounts. |
| ShowMIRLines | Boolean |
Returns whether to show MIR lines. |
| ReportID | Integer |
The report ID being run. |
| Handled | Boolean |
Set to true to indicate parameters are provided. |