Codeunit 3309 "PA Demo Guide"
PayablesAgent · Microsoft.Agent.PayablesAgent
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 7 connected objects and pages
PayablesAgent · Microsoft.Agent.PayablesAgent · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
DemoExperienceAvailable(): Boolean: Returns true if the demo experience is available for the current company.OpenGuidePage(PASetupConfiguration: Codeunit "PA Setup Configuration"): Opens the demo guide page.CreateDemoFilesForEmail()(obsolete 28.0: Demo files are created during the evaluation company creation): Creates demo files to use for the demo email when the agent is enabled.SendDemoInvoicesByEmail(PASetupConfiguration: Codeunit "PA Setup Configuration"): Boolean: Sends the sample invoices by email if the agent is active, otherwise flags them to be sent at activation.SendDemoEmail(PASetupConfiguration: Codeunit "PA Setup Configuration"): Boolean: Sends a demo email using the provided PA setup configuration.IsEmailConfiguredForDemoEmail(PASetupConfiguration: Codeunit "PA Setup Configuration"): Boolean: Returns True if an email account is configured so that demo invoices can be sent by email.GetDemoFilesToDownloadCount(): Integer: Gets the count of the demo files to download.ShowDemoFilesToDownload(): Shows the page with the demo files available for download.DownloadDemoFile(PADemoFile: Record "PA Demo File")(obsolete 28.0: Sample files are now downloaded from E-Doc Sample Purch. Inv. Files page): Downloads the selected demo file.
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 3304 “PA Setup Configuration” (4 calls:
IsEmailConfiguredForDemoEmail → GetEmailAccount,IsEmailConfiguredForDemoEmail → GetPayablesAgentSetup,SendDemoEmail → GetAgentSetupBuffer, …) - Codeunit 8904 “Email Message” (2 calls:
SendDemoEmail → AddAttachment,SendDemoEmail → Create) - Codeunit 8711 “Telemetry” (1 call:
SendDemoEmail → LogMessage) - Codeunit 8901 “Email” (1 call:
SendDemoEmail → Send)
Called by
- Page 3307 “PA Demo Guide” (3 calls:
OnOpenPage → GetDemoFilesToDownloadCount,SendDemoInvoices → IsEmailConfiguredForDemoEmail,SendDemoInvoices → SendDemoInvoicesByEmail) - Page 3304 “Payables Agent Setup” (2 calls:
CalcOpenAgentDemoGuideVisible → DemoExperienceAvailable,OpenDemoGuide → OpenGuidePage) - Codeunit 3307 “Payables Agent Setup” (1 call:
ApplyPayablesAgentSetup → SendDemoEmail)
Recent changes
- 2026-09-09 #11213 Fix sample invoice email when the agent setup is not saved yet (main, BC30, fix)
- 2026-08-27 #10568 Send sample invoices from the demo guide directly (main, BC30, fix)
Deprecations
- procedure CreateDemoFilesForEmail: Pending 28.0 (#if not CLEAN28), “Demo files are created during the evaluation company creation”
- procedure DownloadDemoFile: Pending 28.0 (#if not CLEAN28), “Sample files are now downloaded from E-Doc Sample Purch. Inv. Files page”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "codeunit", object_name: "PA Demo Guide"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.