Table 60 Document Sending Profile

Base Application, Microsoft.Foundation.Reporting

src/Layers/W1/BaseApp/Foundation/Reporting/DocumentSendingProfile.Table.al36 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Default.OnValidate line 89, trigger

  1. 97writesTable 60 Document Sending Profile ModifyAll

OnDelete line 141, trigger

  1. 147raisesOnBeforeOnDeleteIsHandled
  2. 157writesTable 18 Customer ModifyAll

GetDefaultForCustomer line 195

  1. 203callsGetDefault

GetDefaultSendingProfileForCustomerFromLookup line 206, local

  1. 211raisesOnBeforeGetDefaultSendingProfileForCustomerFromLookupIsHandled
  2. 215callsGetDefaultForCustomer

GetDefaultSendingProfileForVendorFromLookup line 218, local

  1. 223raisesOnBeforeGetDefaultSendingProfileForVendorFromLookupIsHandled
  2. 227callsTable 60 Document Sending Profile GetDefaultForVendor

GetDefaultForVendor line 230

  1. 238callsGetDefault

GetDefault line 241

  1. 248validatesTable 60 Document Sending Profile Code
  2. 249validatesTable 60 Document Sending Profile Description
  3. 250validatesTable 60 Document Sending Profile E-Mail
  4. 251validatesTable 60 Document Sending Profile E-Mail Attachment
  5. 252validatesTable 60 Document Sending Profile Default
  6. 253raisesOnGetDefaultOnBeforeDocumentSendingProfileInsert
  7. 254writesTable 60 Document Sending Profile Insert(true)

GetRecordAsText line 260

  1. 266raisesOnBeforeGetRecordAsText
  2. 288raisesOnAfterGetRecordAsText

SetDocumentUsage line 300

  1. 305callsTable 61 Electronic Document Format GetDocumentFormatUsage
  2. 306validatesTable 60 Document Sending Profile Usage

VerifySelectedOptionsValid line 309

  1. 314raisesOnBeforeVerifySelectedOptionsValidIsHandled

LookupProfile line 328

  1. 333callsCodeunit 1630 Office Management IsAvailable
  2. 334callsGetOfficeAddinDefault
  3. 334callsCodeunit 1630 Office Management AttachAvailable
  4. 338callsGetDefaultSendingProfileForCustomerFromLookup
  5. 340callsRunSelectSendingOptionsPage

LookUpProfileVendor line 346

  1. 351callsCodeunit 1630 Office Management IsAvailable
  2. 352callsGetOfficeAddinDefault
  3. 352callsCodeunit 1630 Office Management AttachAvailable
  4. 356callsGetDefaultSendingProfileForVendorFromLookup
  5. 358callsRunSelectSendingOptionsPage

RunSelectSendingOptionsPage line 364, local

  1. 370validatesTable 60 Document Sending Profile One Related Party Selected
  2. 371writesTable 60 Document Sending Profile Insert
  3. 374runsPage 364 Select Sending Options

SendCustomerRecords line 382

  1. 393raisesOnBeforeSendCustomerRecords
  2. 395callsIsSingleRecordSelected
  3. 397callsCheckShowProfileSelectionMethodDialog
  4. 402raisesOnSendCustomerRecordsOnBeforeLookupProfile
  5. 403callsTable 60 Document Sending Profile LookupProfile
  6. 404callsTable 60 Document Sending Profile Send
  7. 415raisesOnSendCustomerRecordsOnBeforeLookupProfile
  8. 416callsTable 60 Document Sending Profile LookupProfile
  9. 417callsTable 60 Document Sending Profile Send
  10. 422raisesOnAfterSendCustomerRecords

SendVendorRecords line 425

  1. 435raisesOnBeforeSendVendorRecords
  2. 439callsIsSingleRecordSelected
  3. 441callsCheckShowProfileSelectionMethodDialog
  4. 446raisesOnSendVendorRecordsOnBeforeLookupProfile
  5. 447callsTable 60 Document Sending Profile LookUpProfileVendor
  6. 448callsTable 60 Document Sending Profile SendVendor
  7. 459raisesOnSendVendorRecordsOnBeforeLookupProfile
  8. 460callsTable 60 Document Sending Profile LookUpProfileVendor
  9. 461callsTable 60 Document Sending Profile SendVendor

CheckShowProfileSelectionMethodDialog line 466, local

  1. 472raisesOnBeforeCheckShowProfileSelectionMethodDialogIsHandled
  2. 477callsTable 60 Document Sending Profile ProfileSelectionMethodDialog

Send line 482

  1. 488raisesOnBeforeSendIsHandled
  2. 493callsCodeunit 8703 Feature Telemetry LogUsage
  3. 495callsUpdateDocumentProfileForRecord
  4. 496callsSendToVAN
  5. 497callsSendToPrinter
  6. 498callsTrySendToEMailGroupedMultipleSelection
  7. 500callsSendToDisk
  8. 502raisesOnAfterSend

SendVendor line 506

  1. 512raisesOnBeforeSendVendorIsHandled
  2. 517callsCodeunit 8703 Feature Telemetry LogUsage
  3. 519callsSendToVAN
  4. 520callsSendToPrinterVendor
  5. 521callsTrySendToEMailGroupedMultipleSelection
  6. 522callsSendToDiskVendor
  7. 524raisesOnAfterSendVendor

TrySendToVAN line 530

  1. 533callsSendToVAN

TrySendToPrinter line 536

  1. 540raisesOnBeforeTrySendToPrinter
  2. 549callsSendToPrinter

TrySendToPrinterVendor line 552

  1. 559callsSendToPrinterVendor

TrySendToEMail line 562

  1. 568raisesOnBeforeTrySendToEMail
  2. 579callsTrySendToEMailGroupedMultipleSelection

TrySendToEMailGroupedMultipleSelection line 583

  1. 597callsGetDistinctCustomerVendor
  2. 606callsGetMultipleDocumentsNo
  3. 607callsGetMultipleDocumentsName
  4. 609callsSendToEMail
  5. 611callsSendToEmailVendor
  6. 622callsCodeunit 452 Report Distribution Management GetFullDocumentTypeText
  7. 624callsSendToEMail
  8. 626callsSendToEmailVendor

GetMultipleDocumentsName line 641, local

  1. 660raisesOnGetDocumentName

TrySendToDisk line 682

  1. 685callsSendToDisk

SendToVAN line 688

  1. 694raisesOnSendWithReportDistributionManagement
  2. 699callsCodeunit 452 Report Distribution Management VANDocumentReport

SendToPrinter line 702

  1. 707raisesOnBeforeSendToPrinter
  2. 713callsTable 77 Report Selections PrintWithDialogForCust

SendToPrinterVendor line 716, local

  1. 725callsTable 77 Report Selections PrintWithDialogForVend

SendToEMail line 728, local

  1. 755callsTable 77 Report Selections SendEmailToCust
  2. 758callsTable 77 Report Selections GetEmailBodyForCust
  3. 759callsCodeunit 452 Report Distribution Management SendXmlEmailAttachment
  4. 764callsTable 61 Electronic Document Format SendElectronically
  5. 765callsCodeunit 452 Report Distribution Management CreateOrAppendZipFile
  6. 766callsTable 77 Report Selections SendToZipForCust
  7. 768callsCodeunit 425 Data Compression SaveZipArchive
  8. 769callsCodeunit 4100 Temp Blob CreateInStream
  9. 771callsCodeunit 10 Type Helper CopyRecVariantToRecRef
  10. 782callsTable 77 Report Selections GetEmailBodyForCust
  11. 784callsCodeunit 260 Document-Mailing EmailFile
  12. 790raisesOnAfterSendToEMail

SendToEmailVendor line 793, local

  1. 819callsTable 77 Report Selections SendEmailToVendor
  2. 822callsTable 77 Report Selections GetEmailBodyForVend
  3. 823callsCodeunit 452 Report Distribution Management SendXmlEmailAttachmentVendor
  4. 828callsTable 61 Electronic Document Format SendElectronically
  5. 829callsCodeunit 452 Report Distribution Management CreateOrAppendZipFile
  6. 830callsTable 77 Report Selections SendToZipForVend
  7. 832callsCodeunit 425 Data Compression SaveZipArchive
  8. 833callsCodeunit 4100 Temp Blob CreateInStream
  9. 846callsTable 77 Report Selections GetEmailBodyForVend
  10. 848callsCodeunit 260 Document-Mailing EmailFile
  11. 854raisesOnAfterSendToEmailVendor

SendToDisk line 857

  1. 871raisesOnBeforeSendToDiskIsHandled
  2. 877callsTable 77 Report Selections SendToDiskForCust
  3. 880callsTable 61 Electronic Document Format SendElectronically
  4. 881callsCodeunit 452 Report Distribution Management SaveFileOnClient
  5. 885callsTable 61 Electronic Document Format SendElectronically
  6. 886callsCodeunit 452 Report Distribution Management CreateOrAppendZipFile
  7. 887callsTable 77 Report Selections SendToZipForCust
  8. 888callsSaveZipArchiveToBLOB
  9. 890callsCodeunit 452 Report Distribution Management SaveFileOnClient

SendToDiskVendor line 895, local

  1. 910callsTable 77 Report Selections SendToDiskForVend
  2. 913callsTable 61 Electronic Document Format SendElectronically
  3. 914callsCodeunit 452 Report Distribution Management SaveFileOnClient
  4. 918callsTable 61 Electronic Document Format SendElectronically
  5. 919callsCodeunit 452 Report Distribution Management CreateOrAppendZipFile
  6. 920callsTable 77 Report Selections SendToZipForVend
  7. 921callsSaveZipArchiveToBLOB
  8. 923callsCodeunit 452 Report Distribution Management SaveFileOnClient

CheckElectronicSendingEnabled line 980

  1. 985callsHasThirdPartyDocExchService
  2. 986callsCodeunit 1410 Doc. Exch. Service Mgt. CheckServiceEnabled

HasThirdPartyDocExchService line 989, local

  1. 991raisesOnCheckElectronicSendingEnabled

SaveZipArchiveToBLOB line 994, local

  1. 998callsCodeunit 4100 Temp Blob CreateOutStream
  2. 999callsCodeunit 425 Data Compression SaveZipArchive
  3. 1000callsCodeunit 425 Data Compression CloseZipArchive

UpdateDocumentProfileForRecord line 1003, local

  1. 1009callsUpdateDocumentProfileForCustomer