Codeunit 8800 Custom Layout Reporting

Base Application, Microsoft.Foundation.Reporting

src/Layers/W1/BaseApp/Foundation/Reporting/CustomLayoutReporting.Codeunit.al56 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

GetLayoutIteratorKeyFilter line 103

  1. 118callsGetCustomerFilter
  2. 120callsGetVendorFilter
  3. 130callsSetNextGroupFilter

GetCustomerFilter line 133, local

  1. 146callsCodeunit 46 SelectionFilterManagement GetSelectionFilter

GetVendorFilter line 149, local

  1. 162callsCodeunit 46 SelectionFilterManagement GetSelectionFilter

ProcessReport line 166

  1. 180callsCodeunit 28 Error Message Management Activate
  2. 181callsCodeunit 28 Error Message Management PushContext
  3. 187callsSetOutputType
  4. 193callsGetViewFromParameters
  5. 198callsFindNextEmptyFilterGroup
  6. 199callsGetViewFromParameters
  7. 205callsSetCustomReportSelectionTableFilter
  8. 211callsGetOptionValueFromRequestPage
  9. 212callsGetRequestParametersText
  10. 215callsProcessReportPerObject
  11. 221callsProcessReportPerObject
  12. 224callsProcessReportPerLayout
  13. 226callsLogAndClearLastError
  14. 235callsIsTestMode
  15. 236callsCodeunit 419 File Management CopyServerFile
  16. 236callsCodeunit 419 File Management CombinePath
  17. 238callsIsBackground
  18. 238callsCodeunit 419 File Management ServerFileExists
  19. 239callsSendToReportInbox
  20. 241callsCodeunit 419 File Management DownloadHandler
  21. 244callsCodeunit 419 File Management BLOBImportFromServerFile
  22. 245callsCodeunit 4100 Temp Blob CreateInStream
  23. 246callsCodeunit 425 Data Compression AddEntry
  24. 247callsTable 823 Name/Value Buffer AddNewEntry
  25. 249callsCodeunit 425 Data Compression SaveZipArchive
  26. 250callsCodeunit 425 Data Compression CloseZipArchive
  27. 253callsIsTestMode
  28. 254callsCodeunit 419 File Management CopyServerFile
  29. 254callsCodeunit 419 File Management CombinePath
  30. 256callsIsBackground
  31. 256callsCodeunit 419 File Management ServerFileExists
  32. 257callsSendToReportInbox
  33. 259callsCodeunit 419 File Management DownloadHandler
  34. 262callsCleanupTempFiles
  35. 264raisesOnAfterProcessReport
  36. 267callsLogSimpleError
  37. 269callsCodeunit 29 Error Message Handler HasErrors
  38. 270raisesOnBeforeThrowProcessReportError
  39. 271callsIsBackground
  40. 272callsCodeunit 29 Error Message Handler ShowErrors

ProcessReportData line 277

  1. 281callsInitializeReportData
  2. 288callsProcessReport

ProcessReportPerLayout line 310, local

  1. 339callsResolveCustomReportLayoutCode
  2. 344callsGetLayoutIteratorKeyFilter
  3. 348callsRunReportWithCustomReportSelection
  4. 366callsExcludeReportedObjects
  5. 370callsRunReport

ExcludeReportedObjects line 373, local

  1. 389callsCodeunit 46 SelectionFilterManagement GetMaximumNumberOfParametersInSQLQuery
  2. 394callsCodeunit 46 SelectionFilterManagement AddQuotes
  3. 402callsSetNextGroupFilter

ProcessReportPerObject line 407, local

  1. 427raisesOnProcessReportPerObjectOnBeforeReportDataRecordRefLoop
  2. 436callsSetNextGroupFilter
  3. 439callsSetIteratorJoinFieldRef
  4. 445raisesOnProcessReportPerObjectOnBeforeRunReportIsHandled
  5. 449callsGetNextGroupFilters
  6. 450callsIsRunReportOncePerFilter
  7. 454callsRunReportWithCustomReportSelection
  8. 457callsRunReport
  9. 460callsGetNextGroupFilters
  10. 462raisesOnProcessReportPerObjectOnAfterRunReport
  11. 466callsSetGroupFilter
  12. 471raisesOnAfterProcessReportPerObject

RunReportWithCustomReportSelection line 474, local

  1. 481raisesOnBeforeRunReportWithCustomReportSelection
  2. 485validatesTable 9657 Custom Report Selection Report ID
  3. 486callsLogAndClearLastError
  4. 492callsTable 9651 Report Layout Selection SetTempLayoutSelectedName
  5. 494callsResolveCustomReportLayoutCode
  6. 495callsTable 9651 Report Layout Selection SetTempLayoutSelected
  7. 501callsGetSendToEmailID
  8. 502callsCheckEmailSendTo
  9. 505callsIsWordLayout
  10. 506callsSaveAsReport
  11. 508callsSaveAsReport
  12. 510callsLogErrorEmailSendTo
  13. 512callsEmailReport
  14. 515callsSaveAsReport
  15. 517callsSaveAsReport
  16. 519callsSaveAsReport
  17. 521callsPrintReport
  18. 523callsPreviewReport
  19. 525callsSaveAsReport
  20. 528callsTable 9651 Report Layout Selection ClearTempLayoutSelected
  21. 530validatesTable 9657 Custom Report Selection Report ID
  22. 531callsLogAndClearLastError

RunReport line 534, local

  1. 540raisesOnBeforeRunReport
  2. 542callsLogAndClearLastError
  3. 549callsRunReportWithCustomReportSelection

GetOutputOption line 558

  1. 564callsGetOptionValueFromRequestPageForReport

PrintReport line 606, local

  1. 608raisesOnBeforePrintReport
  2. 613callsGetRequestParametersText

EmailReport line 617, local

  1. 632callsCreateReportWithExtension
  2. 641callsGetKeyFieldRef
  3. 642callsGetNameFieldRef
  4. 644callsGetKeyFieldRef
  5. 645callsGetNameFieldRef
  6. 648callsResolveEmailBodyLayoutCode
  7. 650callsTable 9651 Report Layout Selection GetTempLayoutSelected
  8. 651callsTable 9651 Report Layout Selection GetTempSelectedLayoutName
  9. 653callsTable 9651 Report Layout Selection SetTempLayoutSelectedName
  10. 655callsTable 9651 Report Layout Selection SetTempLayoutSelected
  11. 658callsCreateReportWithExtension
  12. 663callsTable 9651 Report Layout Selection SetTempLayoutSelectedName
  13. 665callsTable 9651 Report Layout Selection SetTempLayoutSelected
  14. 668callsRemoveEmptyFile
  15. 673callsTryEmailReport

PreviewReport line 676, local

  1. 678callsIsWebClient
  2. 679callsIsWordLayout
  3. 680callsSaveAsReport
  4. 682callsSaveAsReport
  5. 685callsGetRequestParametersText

SaveAsReport line 690, local

  1. 716callsIsWebClient
  2. 718callsGenerateFileNameForReport
  3. 720callsCodeunit 419 File Management ServerTempFileName
  4. 723callsBoundCallReportSaveAs
  5. 723callsGetRequestParametersText
  6. 724raisesOnSaveAsReportOnBeforeFileClose
  7. 727callsRemoveEmptyFile
  8. 727callsCodeunit 419 File Management ServerFileExists
  9. 728callsIsWebClient
  10. 728callsIsBackground
  11. 729callsAddFileToClientZip
  12. 731callsCodeunit 419 File Management DownloadHandler
  13. 732callsTable 823 Name/Value Buffer AddNewEntry

GenerateFileNameForReport line 737, local

  1. 744raisesOnBeforeGenerateFileNameForReportIsHandled
  2. 746callsGenerateFileName
  3. 750callsGetNameFieldRef
  4. 753callsGetNameFieldRef
  5. 758callsGenerateFileName

GenerateFileName line 761, local

  1. 769callsGetRequestParametersText
  2. 779callsGetOptionValueFromRequestPage
  3. 783callsGetTempLayoutReportCaption
  4. 787callsGetFileNameForPart
  5. 787callsGetFileNameAsOfPart
  6. 789callsGetFileNameForPart
  7. 791raisesOnGenerateFileNameOnAfterAssignFileName
  8. 793callsCodeunit 419 File Management StripNotsupportChrInFileName
  9. 799callsCodeunit 419 File Management AppendFileNameWithIndex
  10. 802callsTable 823 Name/Value Buffer AddNewEntry
  11. 805callsCodeunit 419 File Management CombinePath

GetOptionValueFromRequestPage line 822, local

  1. 824callsCodeunit 1530 Request Page Parameters Helper GetRequestPageOptionValue

GetOptionValueFromRequestPageForReport line 828

  1. 833callsGetOptionValueFromRequestPage
  2. 833callsGetRequestParametersText

GetViewFromParameters line 853, local

  1. 861callsCodeunit 4102 Temp Blob List Get
  2. 864callsCodeunit 1530 Request Page Parameters Helper ConvertParametersToFilters

GetRequestParameters line 869, local

  1. 886callsIsTestMode
  2. 892callsRunRequestPage
  3. 906callsStoreRequestParameters
  4. 907callsSaveReportRequestPageParameters
  5. 909callsSetOutputType
  6. 912callsIsTestMode
  7. 916callsCodeunit 8894 Email Account IsAnyAccountRegistered

SetOutputType line 922, local

  1. 928callsGetOptionValueFromRequestPage
  2. 928callsGetRequestParametersText
  3. 929raisesOnSetOutputTypeOnAfterSetOutputMethod
  4. 936callsSetOutputOption

StoreRequestParameters line 950, local

  1. 957callsCodeunit 4100 Temp Blob CreateOutStream
  2. 961callsCodeunit 4102 Temp Blob List Set
  3. 963callsCodeunit 4102 Temp Blob List Add
  4. 965callsCodeunit 4102 Temp Blob List Count
  5. 966writesTable 823 Name/Value Buffer Insert

GetRequestParametersText line 970, local

  1. 979callsCodeunit 4102 Temp Blob List Get
  2. 980callsCodeunit 4100 Temp Blob CreateInStream

AddFileToClientZip line 985, local

  1. 995callsCodeunit 419 File Management ServerTempFileName
  2. 998callsCodeunit 425 Data Compression CreateZipArchive
  3. 1003callsTable 823 Name/Value Buffer AddNewEntry

CallReportSaveAs line 1008

  1. 1012raisesOnBeforeCallReportSaveAs

BoundCallReportSaveAs line 1024, local

  1. 1029callsCodeunit 8800 Custom Layout Reporting CallReportSaveAs

IsWordLayout line 1032, local

  1. 1042callsCodeunit 9657 Report Management Helper SelectedLayoutType
  2. 1044callsCodeunit 9657 Report Management Helper SelectedLayoutType

SetReportDataItem line 1047, local

  1. 1067callsSetNextGroupFilter
  2. 1070callsCodeunit 8617 Config. Validate Management GetRelationInfoByIDs

IsWebClient line 1100

  1. 1104callsCodeunit 4030 Client Type Management GetCurrentClientType

IsTestMode line 1114, local

  1. 1117raisesOnIsTestMode

InitializeReportData line 1150

  1. 1153callsSetReportUsage
  2. 1154callsSetReportDataItem
  3. 1155callsGetRequestParameters

InitializeData line 1159

  1. 1161callsInitializeReportData

GetKeyFieldRef line 1173, local

  1. 1181callsCodeunit 701 Data Type Management FindFieldByName

GetNameFieldRef line 1189, local

  1. 1197callsCodeunit 701 Data Type Management FindFieldByName

SetNextGroupFilter line 1231, local

  1. 1235callsFindNextEmptyFilterGroup
  2. 1236callsSetGroupFilter

CleanupTempFiles line 1260, local

  1. 1265callsTryDeleteFile

TryDeleteFile line 1270, local

  1. 1272callsCodeunit 419 File Management DeleteServerFile

TryCreateFileStream line 1276, local

  1. 1278callsCodeunit 419 File Management ServerTempFileName
  2. 1280callsGenerateFileNameForReport

TryEmailReport line 1287, local

  1. 1299callsCodeunit 419 File Management BLOBImportFromServerFile
  2. 1300callsCodeunit 4100 Temp Blob CreateInStream
  3. 1302callsCodeunit 419 File Management BLOBImportFromServerFile
  4. 1314callsGetSendToEmailID
  5. 1317callsCodeunit 260 Document-Mailing EmailFile
  6. 1321callsTable 823 Name/Value Buffer AddNewEntry
  7. 1323callsAddFileToClientZip
  8. 1326callsTable 823 Name/Value Buffer AddNewEntry

CreateReportWithExtension line 1331, local

  1. 1341callsTryCreateFileStream
  2. 1344callsBoundCallReportSaveAs
  3. 1344callsGetRequestParametersText
  4. 1345callsTable 823 Name/Value Buffer AddNewEntry
  5. 1346raisesOnCreateReportWithExtensionOnBeforePdfFileClose
  6. 1357callsTryCreateFileStream
  7. 1360callsBoundCallReportSaveAs
  8. 1360callsGetRequestParametersText
  9. 1361callsTable 823 Name/Value Buffer AddNewEntry
  10. 1362raisesOnCreateReportWithExtensionOnBeforeHtmlFileClose

SetIteratorJoinFieldRef line 1376, local

  1. 1387raisesOnBeforeSetIteratorJoinFieldRefIsHandled

RunRequestPage line 1431

  1. 1438callsGetReportRequestPageParameters
  2. 1439raisesOnRunRequestPageOnBeforeReportRunRequestPage

LogSimpleError line 1443, local

  1. 1445callsCodeunit 28 Error Message Management LogSimpleErrorMessage

LogAndClearLastError line 1448, local

  1. 1451callsLogSimpleError

IsBackground line 1456, local

  1. 1458callsCodeunit 4030 Client Type Management GetCurrentClientType

SetTableFilterForReportID line 1466

  1. 1469callsParseCustomerNo

SaveReportRequestPageParameters line 1510

  1. 1515callsIsObjectOptionsInsertDeleteAllowed
  2. 1525writesTable 2000000196 Object Options Delete
  3. 1535writesTable 2000000196 Object Options Insert

CheckForCustomLayoutReportingJob line 1543

  1. 1547callsCodeunit 8810 Customer Layout - Statement CheckReportRunningInBackground

ConvertToRepInboxOutputType line 1582, local

  1. 1586callsSetReportInboxOutputTypeForPrint
  2. 1589callsSetReportInboxOutputTypeForPrint

SetReportInboxOutputTypeForPrint line 1602, local

  1. 1606callsResolveCustomReportLayoutCode
  2. 1607callsIsWordLayout

SendToReportInbox line 1613, local

  1. 1623validatesTable 477 Report Inbox Output Type
  2. 1626callsConvertToRepInboxOutputType
  3. 1633callsGetTempLayoutReportCaption
  4. 1638writesTable 477 Report Inbox Insert(true)
  5. 1639writesTable 477 Report Inbox Modify(true)

CheckEmailSendTo line 1642, local

  1. 1649callsCodeunit 8894 Email Account ValidateEmailAddresses

LogErrorEmailSendTo line 1655, local

  1. 1663callsIsCustomReportSelectionNull
  2. 1672callsCodeunit 28 Error Message Management LogError

GetSendToEmailID line 1685, local

  1. 1687callsTable 9657 Custom Report Selection GetSendToEmail
  2. 1688callsGetSendToEmailIDFromSource
  3. 1690callsTable 9657 Custom Report Selection GetSendToEmail
  4. 1692raisesOnAfterGetSendToEmailID

GetSendToEmailIDFromSource line 1695, local

  1. 1708raisesOnAfterGetSendToEmailIDFromSource