Table "Custom Report Selection"
ID 9657
Namespace: Microsoft.Foundation.Reporting
Properties
| Name |
Value |
| Caption |
Custom Report Selection
|
| DataClassification |
CustomerContent
|
Fields
| Name |
Type |
Description |
| "Source Type" |
Integer
|
|
| "Source No." |
Code[20]
|
|
| Usage |
Enum Microsoft.Foundation.Reporting."Report Selection Usage"
|
|
| Sequence |
Integer
|
|
| "Report ID" |
Integer
|
Specifies the ID of the report.
|
| "Report Caption" |
Text[250]
|
Specifies the name of the report.
|
| "Custom Report Layout Code" |
Code[20]
|
|
| "Custom Report Description" |
Text[250]
|
Specifies a description of the custom report layout.
|
| "Send To Email" |
Text[200]
|
Specifies that the report is used when sending emails.
|
| "Use for Email Attachment" |
Boolean
|
Specifies that summarized information, such as invoice number, due date, and payment service link, will be inserted in the body of the email that you send.
|
| "Use for Email Body" |
Boolean
|
Specifies that summarized information, such as invoice number, due date, and payment service link, will be inserted in the body of the email that you send.
|
| "Email Body Layout Code" |
Code[20]
|
Specifies the ID of the email body layout that is used.
|
| "Email Body Layout Description" |
Text[250]
|
Specifies a description of the custom email body layout that is used.
|
| "Use Email from Contact" |
Boolean
|
|
| "Selected Contacts Filter" |
Blob
|
|
| "Email Attachment Layout Name" |
Text[250]
|
|
| "Email Attachment Layout AppID" |
Guid
|
|
| "Email Body Layout Name" |
Text[250]
|
|
| "Email Body Layout AppID" |
Guid
|
|
| "Email Body Layout Caption" |
Text[250]
|
Specifies the description of the report layout that is used for email body.
|
| 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
InitUsage
FilterReportUsage
procedure FilterReportUsage(NewSourceType: Integer; NewSourceNo: Code[20]; NewUsage: Option)
Parameters
| Name |
Type |
Description |
|
NewSourceType
|
Integer |
|
|
NewSourceNo
|
Code[20] |
|
|
NewUsage
|
Option |
|
FilterEmailBodyUsage
procedure FilterEmailBodyUsage(NewSourceType: Integer; NewSourceNo: Code[20]; NewUsage: Option)
Parameters
| Name |
Type |
Description |
|
NewSourceType
|
Integer |
|
|
NewSourceNo
|
Code[20] |
|
|
NewUsage
|
Option |
|
LookupCustomReportDescription
procedure LookupCustomReportDescription()
LookupEmailBodyDescription
procedure LookupEmailBodyDescription()
CopyFromReportSelections
procedure CopyFromReportSelections(var ReportSelections: Record "Report Selections"; SourceType: Integer; SourceNo: Code[20])
Parameters
GetSendToEmailFromContactsSelection
procedure GetSendToEmailFromContactsSelection(LinkType: Option; LinkNo: Code[20])
Parameters
| Name |
Type |
Description |
|
LinkType
|
Option |
|
|
LinkNo
|
Code[20] |
|
GetSendToEmailFromContacts
procedure GetSendToEmailFromContacts(var Contact: Record Contact)
Parameters
ShowSelectedContacts
procedure ShowSelectedContacts()
GetSendToEmail
procedure GetSendToEmail(Update: Boolean): Text[250]
Parameters
| Name |
Type |
Description |
|
Update
|
Boolean |
|
Returns
| Type |
Description |
|
Text[250] |
|
UpdateSendtoEmail
procedure UpdateSendtoEmail(Update: Boolean)
Parameters
| Name |
Type |
Description |
|
Update
|
Boolean |
|
Events
OnAfterFilterEmailBodyUsage
[IntegrationEvent(False,False)]
local procedure OnAfterFilterEmailBodyUsage(var CustomReportSelection: Record "Custom Report Selection"; NewSourceType: Integer; NewSourceNo: Code[20]; NewUsage: Option)
Parameters
OnBeforeGetSendToEmail
[IntegrationEvent(True,False)]
local procedure OnBeforeGetSendToEmail(Update: Boolean; var Result: Text[250]; var IsHandled: Boolean)
Parameters
| Name |
Type |
Description |
|
Update
|
Boolean |
|
|
Result
|
Text[250] |
|
|
IsHandled
|
Boolean |
|
OnCopyFromReportSelections
[IntegrationEvent(False,False)]
local procedure OnCopyFromReportSelections(var CustomReportSelection: Record "Custom Report Selection"; var ReportSelections: Record "Report Selections")
Parameters
OnCopyFromReportSelectionsOnBeforeInsert
[IntegrationEvent(False,False)]
local procedure OnCopyFromReportSelectionsOnBeforeInsert(var CustomReportSelection: Record "Custom Report Selection"; ReportSelections: Record "Report Selections")
Parameters
OnGetSendToEmailFromContacts
[IntegrationEvent(False,False)]
local procedure OnGetSendToEmailFromContacts(var CustomReportSelection: Record "Custom Report Selection"; var Contact: Record Contact; var ShowExceededContactsNotification: Boolean)
Parameters
OnGetSelectedContactsFilter
[IntegrationEvent(False,False)]
local procedure OnGetSelectedContactsFilter(var SelectedContactsFilter: Text)
Parameters
| Name |
Type |
Description |
|
SelectedContactsFilter
|
Text |
|
See also