Table 9657 "Custom Report Selection"
Base Application · Microsoft.Foundation.Reporting
Across versions
- BC23present
- BC243 fields changed, 2 events changed
- BC25unchanged
- BC268 fields changed
- BC272 events removed
- BC28-30unchanged
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.Foundation.Reporting · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Custom Report Selection |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Source Type | Integer | — | |
| 2 | Source No. | Code[20] | — | TableRelation if (“Source Type” = const(18)) Customer.“No.” else if (“Source Type” = const(23)) Vendor.“No.” |
| 3 | Usage | Enum “Report Selection Usage” | — | enum Enum 77 “Report Selection Usage” |
| 4 | Sequence | Integer | — | AutoIncrement |
| 5 | Report ID Δ BC26 | Integer | Specifies the ID of the report. | TableRelation “Report Metadata”.“ID” |
| 6 | Report Caption Δ BC24 Δ BC26 | Text[250] | Specifies the name of the report. | FlowField: lookup(“Report Metadata”.Caption where(“ID” = field(“Report ID”))); not editable |
| 7 | Custom Report Layout Code | Code[20] | — | TableRelation Table 9650 “Custom Report Layout” (“Custom Report Layout” where(Code = field(“Custom Report Layout Code”))) |
| 8 | Custom Report Description Δ BC24 Δ BC26 | Text[250] | Specifies a description of the custom report layout. | FlowField: lookup(“Custom Report Layout”.Description where(Code = field(“Custom Report Layout Code”))) |
| 9 | Send To Email Δ BC26 | Text[200] | Specifies that the report is used when sending emails. | |
| 19 | Use for Email Attachment Δ BC26 | 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. | |
| 20 | Use for Email Body Δ BC26 | 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. | |
| 21 | Email Body Layout Code Δ BC26 | Code[20] | Specifies the ID of the email body layout that is used. | TableRelation Table 9650 “Custom Report Layout” (“Custom Report Layout” where(Code = field(“Email Body Layout Code”), “Report ID” = field(“Report ID”))) |
| 22 | Email Body Layout Description Δ BC24 Δ BC26 | Text[250] | Specifies a description of the custom email body layout that is used. | FlowField: lookup(“Custom Report Layout”.Description where(Code = field(“Email Body Layout Code”))); not editable |
| 23 | Use Email from Contact | Boolean | Use Email from Contacts caption | |
| 24 | Selected Contacts Filter | Blob | — | |
| 25 | Email Attachment Layout Name | Text[250] | Email attachment layout name caption | not editable |
| 26 | Email Attachment Layout AppID | Guid | Email attachment layout App ID caption | not editable |
| 27 | Email Body Layout Name | Text[250] | Email body layout name caption | not editable |
| 28 | Email Body Layout AppID | Guid | Email body layout App ID caption | not editable |
| 29 | Email Body Layout Caption + BC24 | Text[250] | Specifies the description of the report layout that is used for email body. | FlowField: lookup(“Report Layout List”.Caption where(“Report ID” = field(“Report ID”), Name = field(“Email Attachment Layout Name”))); not editable |
Keys
- Key1: Source Type, Source No., Usage, Sequence (clustered)
- Key2: Report ID
Events published
OnAfterFilterEmailBodyUsage(var CustomReportSelection: Record "Custom Report Selection"; NewSourceType: Integer; NewSourceNo: Code[20]; NewUsage: Option)(integration)OnBeforeGetSendToEmail(Update: Boolean; var Result: Text[250]; var IsHandled: Boolean)(integration)OnCopyFromReportSelections(var CustomReportSelection: Record "Custom Report Selection"; var ReportSelections: Record "Report Selections")(integration)OnCopyFromReportSelectionsOnBeforeInsert(var CustomReportSelection: Record "Custom Report Selection"; ReportSelections: Record "Report Selections")(integration)OnGetSendToEmailFromContacts(var CustomReportSelection: Record "Custom Report Selection"; var Contact: Record Contact; var ShowExceededContactsNotification: Boolean)(integration)OnGetSelectedContactsFilter(var SelectedContactsFilter: Text)(integration)
Procedures
InitUsage()FilterReportUsage(NewSourceType: Integer; NewSourceNo: Code[20]; NewUsage: Option)FilterEmailBodyUsage(NewSourceType: Integer; NewSourceNo: Code[20]; NewUsage: Option)LookupCustomReportDescription()LookupEmailBodyDescription()CheckEmailSendTo(DataRecRef: RecordRef)CopyFromReportSelections(var ReportSelections: Record "Report Selections"; SourceType: Integer; SourceNo: Code[20])GetSendToEmailFromContactsSelection(LinkType: Option; LinkNo: Code[20])GetSendToEmailFromContacts(var Contact: Record Contact)ShowSelectedContacts()GetSendToEmail(Update: Boolean): Text[250]UpdateSendtoEmail(Update: Boolean)
Plus 9 local procedures.
Triggers
OnInsert, OnModify
Relations
- Custom Report Description: CalcFormula Table 9650 “Custom Report Layout”
- Email Body Layout Description: CalcFormula Table 9650 “Custom Report Layout”
- Custom Report Layout Code: TableRelation Table 9650 “Custom Report Layout”
- Email Body Layout Code: TableRelation Table 9650 “Custom Report Layout”
Pages and codeunits on this table
- Page 9657 “Customer Report Selections” (source table)
- Page 9658 “Vendor Report Selections” (source table)
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 28 “Error Message Management” (1 call:
CheckEmailSendTo → LogError) - Codeunit 46 “SelectionFilterManagement” (1 call:
CombineContacts → GetSelectionFilterForContact)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Custom Report Selection"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.