Table 60 "Document Sending Profile"
Base Application · Microsoft.Foundation.Reporting
Across versions
- BC23present
- BC244 events changed
- BC25-26unchanged
- BC271 events added
- BC282 procedures added, 1 events added
- BC2912 fields changed
- BC30unchanged
Neighbourhood 27 connected objects and pages
Base Application · Microsoft.Foundation.Reporting · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 359 “Document Sending Profiles” (4 Learn pages), Page 360 “Document Sending Profile” (4).
Properties
| Property | Value |
|---|---|
| Caption | Document Sending Profile |
| 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 | Code Δ BC29 | Code[20] | Specifies a code to identify the document sending method in the system. | NotBlank |
| 2 | Description Δ BC29 | Text[100] | Specifies the document sending format. | |
| 10 | Printer Δ BC29 | Option | Specifies if and how the document is printed when you choose the Post and Send button. If you choose the Yes (Prompt for Settings) option, the document is printed according to settings that you must make on the printer setup dialog. | OptionCaption: No,Yes (Prompt for Settings),Yes (Use Default Settings) |
| 11 | E-Mail Δ BC29 | Option | Specifies if and how the document is attached as a PDF file to an email to the involved customer when you choose the Post and Send button. If you choose the Yes (Prompt for Settings) option, the document is attached to an email according to settings that you must make in the Send Email window. | OptionCaption: No,Yes (Prompt for Settings),Yes (Use Default Settings) |
| 12 | E-Mail Attachment Δ BC29 | Enum “Document Sending Profile Attachment Type” | Specifies the type of file to attach. | enum Enum 63 “Document Sending Profile Attachment Type” |
| 13 | E-Mail Format Δ BC29 | Code[20] | Specifies how customers are set up with their preferred method of sending sales documents. | TableRelation Table 61 “Electronic Document Format” (“Electronic Document Format”.Code) |
| 15 | Disk Δ BC29 | Enum “Doc. Sending Profile Disk” | Specify if the document is saved as a PDF file when you choose the Post and Send button. | enum Enum 65 “Doc. Sending Profile Disk” |
| 16 | Disk Format Δ BC29 | Code[20] | Specifies the format of the electronic document. | TableRelation Table 61 “Electronic Document Format” (“Electronic Document Format”.Code) |
| 20 | Electronic Document Δ BC29 | Enum “Doc. Sending Profile Elec.Doc.” | Specifies if the document is sent as an electronic document that the customer can import into their system when you choose the Post and Send button. To use this option, you must also fill the Electronic Format field. Alternatively, the file can be saved to disk. | enum Enum 64 “Doc. Sending Profile Elec.Doc.” |
| 21 | Electronic Format Δ BC29 | Code[20] | Specifies which format to use for electronic document sending. You must fill this field if you selected the Silent option in the Electronic Document field. | TableRelation Table 61 “Electronic Document Format” (“Electronic Document Format”.Code) |
| 30 | Default Δ BC29 | Boolean | Specifies if this document sending method will be used as the default method for all customers. | |
| 50 | Send To | Enum “Doc. Sending Profile Send To” | — | enum Enum 66 “Doc. Sending Profile Send To” |
| 51 | Usage | Enum “Document Sending Profile Usage” | — | enum Enum 62 “Document Sending Profile Usage” |
| 52 | One Related Party Selected | Boolean | — | |
| 60 | Combine Email Documents Δ BC29 | Boolean | Merge selected documents into a single PDF file when you send the documents by email or print them. For example, this reduces the number of documents the recipient must process. |
Keys
- Key1: Code (clustered)
Events published
OnAfterSend(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; ToCust: Code[20]; DocName: Text[150]; CustomerFieldNo: Integer; DocumentNoFieldNo: Integer; DocumentSendingProfile: Record "Document Sending Profile")Δ BC24 (integration)- subscribers: Codeunit 6103 “E-Document Subscribers” OnAfterSendEDocument
OnAfterSendCustomerRecords(ReportUsage: Integer; RecordVariant: Variant; DocName: Text[150]; CustomerNo: Code[20]; DocumentNo: Code[20]; CustomerFieldNo: Integer; DocumentFieldNo: Integer)(integration)OnAfterSendVendor(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; ToVendor: Code[20]; DocName: Text[150]; VendorNoFieldNo: Integer; DocumentNoFieldNo: Integer; DocumentSendingProfile: Record "Document Sending Profile")Δ BC24 (integration)- subscribers: Codeunit 6103 “E-Document Subscribers” OnAfterSendVendorEDocument
OnAfterSendToEMail(var DocumentSendingProfile: Record "Document Sending Profile"; ReportUsage: Enum "Report Selection Usage"; RecordVariant: Variant; DocNo: Code[20]; DocName: Text[150]; ToCust: Code[20]; DocNoFieldNo: Integer; ShowDialog: Boolean)(integration)- subscribers: Codeunit 6103 “E-Document Subscribers” OnAfterSendToEMailEDocument
OnAfterSendToEmailVendor(var DocumentSendingProfile: Record "Document Sending Profile"; ReportUsage: Enum "Report Selection Usage"; RecordVariant: Variant; DocNo: Code[20]; DocName: Text[150]; ToVendor: Code[20]; VendorNoFieldNo: Integer; ShowDialog: Boolean)(integration)OnBeforeCheckShowProfileSelectionMethodDialog(var ProfileSelectionMethod: Option ConfirmDefault,ConfirmPerEach,UseDefault; AccountNo: Code[20]; IsCustomer: Boolean; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeGetDefaultSendingProfileForCustomerFromLookup(CustomerNo: Code[20]; var DocumentSendingProfile: Record "Document Sending Profile"; var IsHandled: Boolean)(integration)OnBeforeGetDefaultSendingProfileForVendorFromLookup(VendorNo: Code[20]; var DocumentSendingProfile: Record "Document Sending Profile"; var IsHandled: Boolean)(integration)OnBeforeGetRecordAsText(DocumentSendingProfile: Record "Document Sending Profile"; var RecordAsText: Text; var Handled: Boolean)(integration)OnBeforeOnDelete(DocumentSendingProfile: Record "Document Sending Profile"; var IsHandled: Boolean)(integration)OnBeforeSend(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; ToCust: Code[20]; DocName: Text[150]; CustomerFieldNo: Integer; DocumentNoFieldNo: Integer; var IsHandled: Boolean)Δ BC24 (integration)OnBeforeSendCustomerRecords(ReportUsage: Integer; RecordVariant: Variant; DocName: Text[150]; CustomerNo: Code[20]; DocumentNo: Code[20]; CustomerFieldNo: Integer; DocumentFieldNo: Integer; var Handled: Boolean)(integration)OnBeforeSendVendor(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; ToVendor: Code[20]; DocName: Text[150]; VendorNoFieldNo: Integer; DocumentNoFieldNo: Integer; var IsHandled: Boolean)Δ BC24 (integration)OnBeforeSendVendorRecords(ReportUsage: Integer; RecordVariant: Variant; DocName: Text[150]; VendorNo: Code[20]; DocumentNo: Code[20]; VendorFieldNo: Integer; DocumentFieldNo: Integer; var Handled: Boolean)(integration)OnBeforeSendToDisk(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; DocName: Text; ToCust: Code[20]; var IsHandled: Boolean)(integration)OnBeforeTrySendToPrinter(ReportUsage: Integer; RecordVariant: Variant; CustomerFieldNo: Integer; ShowDialog: Boolean; var Handled: Boolean)(integration)OnBeforeTrySendToEMail(ReportUsage: Integer; RecordVariant: Variant; DocumentNoFieldNo: Integer; DocName: Text[150]; CustomerFieldNo: Integer; var ShowDialog: Boolean; var Handled: Boolean; var IsCustomer: Boolean; var DocumentSendingProfile: Record "Document Sending Profile")+ BC28 − BC28 (integration)OnCheckElectronicSendingEnabled(var ExchServiceEnabled: Boolean)(integration)- subscribers: Codeunit 6103 “E-Document Subscribers” OnCheckElectronicSendingEnabled
OnGetDocumentName(ReportUsage: Enum "Report Selection Usage"; var DocumentName: Text[150])(integration)OnGetDefaultOnBeforeDocumentSendingProfileInsert(var DocumentSendingProfile: Record "Document Sending Profile")(integration)OnSendCustomerRecordsOnBeforeLookupProfile(ReportUsage: Integer; RecordVariant: Variant; CustomerNo: Code[20]; var RecRefToSend: RecordRef; SingleCustomerSelected: Boolean; var ShowDialog: Boolean)(integration)OnSendVendorRecordsOnBeforeLookupProfile(ReportUsage: Integer; RecordVariant: Variant; VendorNo: Code[20]; var RecRefToSend: RecordRef; SingleVendorSelected: Boolean; var ShowDialog: Boolean)(integration)OnBeforeVerifySelectedOptionsValid(var DocumentSendingProfile: Record "Document Sending Profile"; var IsHandled: Boolean)(integration)OnAfterGetRecordAsText(DocumentSendingProfile: Record "Document Sending Profile"; var RecordAsText: Text; RecordAsTextFormatterTxt: Text; FieldCaptionContentFormatterTxt: Text)(integration)OnBeforeSendToPrinter(var DocumentSendingProfile: Record "Document Sending Profile"; var ReportSelections: Record "Report Selections"; RecordVariant: Variant)(integration)OnSendWithReportDistributionManagement(var DocumentSendingProfile: Record "Document Sending Profile"; var SendWithReportDistributionManagement: Boolean)+ BC27 (integration)- subscribers: Codeunit 6103 “E-Document Subscribers” OnSendWithReportDistributionManagementDisableIfEDocument
Procedures
GetDefaultForCustomer(CustomerNo: Code[20]; var DocumentSendingProfile: Record "Document Sending Profile")GetDefaultForVendor(VendorNo: Code[20]; var DocumentSendingProfile: Record "Document Sending Profile")GetDefault(var DefaultDocumentSendingProfile: Record "Document Sending Profile")GetRecordAsText(): TextWillUserBePrompted(): BooleanSetDocumentUsage(DocumentVariant: Variant)VerifySelectedOptionsValid()LookupProfile(CustNo: Code[20]; Multiselection: Boolean; ShowDialog: Boolean): BooleanLookUpProfileVendor(VendorNo: Code[20]; Multiselection: Boolean; ShowDialog: Boolean): BooleanSendCustomerRecords(ReportUsage: Integer; RecordVariant: Variant; DocName: Text[150]; CustomerNo: Code[20]; DocumentNo: Code[20]; CustomerFieldNo: Integer; DocumentFieldNo: Integer)SendVendorRecords(ReportUsage: Integer; RecordVariant: Variant; DocName: Text[150]; VendorNo: Code[20]; DocumentNo: Code[20]; VendorFieldNo: Integer; DocumentFieldNo: Integer)Send(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; ToCust: Code[20]; DocName: Text[150]; CustomerFieldNo: Integer; DocumentNoFieldNo: Integer)SendVendor(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; ToVendor: Code[20]; DocName: Text[150]; VendorNoFieldNo: Integer; DocumentNoFieldNo: Integer)TrySendToVAN(RecordVariant: Variant)TrySendToPrinter(ReportUsage: Integer; RecordVariant: Variant; CustomerFieldNo: Integer; ShowDialog: Boolean)TrySendToPrinterVendor(ReportUsage: Integer; RecordVariant: Variant; VendorNoFieldNo: Integer; ShowDialog: Boolean)TrySendToEMail(ReportUsage: Integer; RecordVariant: Variant; DocumentNoFieldNo: Integer; DocName: Text[150]; CustomerFieldNo: Integer; ShowDialog: Boolean)TrySendToEMailGroupedMultipleSelection(ReportUsage: Enum "Report Selection Usage"; RecordVariant: Variant; DocumentNoFieldNo: Integer; DocName: Text[150]; CustomerVendorFieldNo: Integer; IsCustomer: Boolean)TrySendToDisk(ReportUsage: Integer; RecordVariant: Variant; DocNo: Code[20]; DocName: Text[150]; ToCust: Code[20])SendToVAN(RecordVariant: Variant)SendToPrinter(ReportUsage: Enum "Report Selection Usage"; RecordVariant: Variant; CustomerNoFieldNo: Integer)SendToDisk(ReportUsage: Enum "Report Selection Usage"; RecordVariant: Variant; DocNo: Code[20]; DocName: Text; ToCust: Code[20])GetOfficeAddinDefault(var TempDocumentSendingProfile: Record "Document Sending Profile" temporary; CanAttach: Boolean)ProfileSelectionMethodDialog(var ProfileSelectionMethod: Option ConfirmDefault,ConfirmPerEach,UseDefault; IsCustomer: Boolean): BooleanIsSingleRecordSelected(RecordVariant: Variant; CVNo: Code[20]; CVFieldNo: Integer): Boolean(protected)CheckElectronicSendingEnabled()
Plus 15 local procedures.
Triggers
OnDelete, OnInsert
Relations
- lookup page Page 359 “Document Sending Profiles”
- Disk Format: TableRelation Table 61 “Electronic Document Format”
- E-Mail Format: TableRelation Table 61 “Electronic Document Format”
- Electronic Format: TableRelation Table 61 “Electronic Document Format”
Referenced by
7 fields in 7 objects relate to this table (TableRelation or CalcFormula).
- Table 1381 “Customer Templ.”: Document Sending Profile
- Table 1383 “Vendor Templ.”: Document Sending Profile
- Table 18 “Customer”: Document Sending Profile
- Table 23 “Vendor”: Document Sending Profile
- Table 6121 “E-Document”: Document Sending Profile
- Table 62 “Record Export Buffer”: Document Sending Profile
- Table extension 6102 “E-Doc. Location”: Transfer Doc. Sending Profile
Pages and codeunits on this table
- Page 359 “Document Sending Profiles” (source table)
- Page 360 “Document Sending Profile” (source table)
- Page 364 “Select Sending Options” (source table)
- Page 365 “Post and Send Confirmation” (source table)
Extended by
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 452 “Report Distribution Management” (10 calls:
SendToDisk → CreateOrAppendZipFile,SendToDisk → SaveFileOnClient,SendToDiskVendor → CreateOrAppendZipFile, …) - Codeunit 1630 “Office Management” (4 calls:
LookupProfile → AttachAvailable,LookupProfile → IsAvailable,LookUpProfileVendor → AttachAvailable, …) - Codeunit 425 “Data Compression” (4 calls:
SaveZipArchiveToBLOB → CloseZipArchive,SaveZipArchiveToBLOB → SaveZipArchive,SendToEMail → SaveZipArchive, …) - Codeunit 4100 “Temp Blob” (3 calls:
SaveZipArchiveToBLOB → CreateOutStream,SendToEMail → CreateInStream,SendToEmailVendor → CreateInStream) - Codeunit 260 “Document-Mailing” (2 calls:
SendToEMail → EmailFile,SendToEmailVendor → EmailFile) - Codeunit 8703 “Feature Telemetry” (2 calls:
Send → LogUsage,SendVendor → LogUsage) - Codeunit 10 “Type Helper” (1 call:
SendToEMail → CopyRecVariantToRecRef) - Codeunit 1410 “Doc. Exch. Service Mgt.” (1 call:
CheckElectronicSendingEnabled → CheckServiceEnabled) - Page 364 “Select Sending Options” (1 call:
RunSelectSendingOptionsPage → (object))
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: "Document Sending Profile"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.