codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 740 "VAT Report Mediator"

Base Application · Microsoft.Finance.VAT.Reporting

Across versions

  1. BC23-30present

Neighbourhood 3 connected objects and pages

Codeunit 741 "VAT Report Release/Reopen" (calls, 4 links)VAT Report Release/ReopenPage 740 "VAT Report" (calls, 4 links)VAT ReportReport 740 "VAT Report Print" (calls)VAT Report Print

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Finance.VAT.Reporting · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnGetVATReportConfigurationOnAfterVATReportsConfigurationSetFilters(var VATReportsConfiguration: Record "VAT Reports Configuration"; VATReportHeader: Record "VAT Report Header") (integration): Integration event raised after setting filters on VAT reports configuration. Allows customization of configuration filtering logic for specific scenarios.

Procedures

  • GetLines(VATReportHeader: Record "VAT Report Header"): Generates VAT statement lines for the report using configured suggest lines codeunit. Validates report is open and routes to appropriate line generation logic.
  • Generate(VATReportHeader: Record "VAT Report Header"): Generates VAT report content using configured content codeunit. Creates formatted output for printing or electronic submission.
  • ShowGenerate(VATReportHeader: Record "VAT Report Header"): Boolean: Determines if Generate action should be visible for the VAT report. Checks configuration for content codeunit without submission codeunit.
  • Export(VATReportHeader: Record "VAT Report Header"): Exports VAT report using configured content and submission codeunits. Handles both content generation and electronic submission processes.
  • ShowExport(VATReportHeader: Record "VAT Report Header"): Boolean: Determines if Export action should be visible for the VAT report. Checks configuration for submission codeunit availability.
  • ReceiveResponse(VATReportHeader: Record "VAT Report Header"): Receives and processes responses from tax authority using configured response handler codeunit. Updates VAT report status based on submission response.
  • ShowReceiveResponse(VATReportHeader: Record "VAT Report Header"): Boolean: Determines if Receive Response action should be visible for the VAT report. Checks report status and response handler configuration.
  • Release(VATReportHeader: Record "VAT Report Header"): Releases VAT report from open to released status with validation. Delegates to VAT Report Release/Reopen codeunit for processing.
  • Reopen(VATReportHeader: Record "VAT Report Header"): Reopens released VAT report back to open status for modifications. Delegates to VAT Report Release/Reopen codeunit for processing.
  • Print(VATReportHeader: Record "VAT Report Header"): Prints VAT report based on current status with automatic release if needed. Routes to appropriate print method based on report status.
  • Submit(VATReportHeader: Record "VAT Report Header"): Submits released VAT report to submitted status for tax authority processing. Delegates to VAT Report Release/Reopen codeunit for status management.
  • ShowSubmissionMessage(VATReportHeader: Record "VAT Report Header"): Boolean: Determines if submission message should be displayed based on report status and attachments. Checks for existing submission attachments and configuration settings.
  • GetVATReportConfiguration(var VATReportsConfiguration: Record "VAT Reports Configuration"; VATReportHeader: Record "VAT Report Header"): Retrieves VAT report configuration based on report type and version. Applies filters and finds matching configuration record for report processing.

Plus 2 local procedures.

Triggers

OnRun

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.

Called by

  • Page 740 “VAT Report” (4 calls: InitPageControllers → ShowExport, InitPageControllers → ShowGenerate, InitPageControllers → ShowReceiveResponse, …)

Countries that replace it

AU, DE, IT

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: "VAT Report Mediator"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources