Table 747 "VAT Report Archive"
Base Application · Microsoft.Finance.VAT.Reporting
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC273 events added
- BC28unchanged
- BC295 fields changed
- BC30unchanged
Neighbourhood 5 connected objects and pages
Base Application · Microsoft.Finance.VAT.Reporting · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 739 “VAT Report Log” (1 Learn page).
Properties
| Property | Value |
|---|---|
| Caption | VAT Report Archive |
| DataClassification | CustomerContent |
| Permissions | TableData “VAT Report Archive” = rimd |
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 | VAT Report Type Δ BC29 | Enum “VAT Report Configuration” | Specifies if you want to create a new VAT report, or if you want to change a previously submitted report. | enum Enum 740 “VAT Report Configuration” |
| 2 | VAT Report No. Δ BC29 | Code[20] | Specifies the number of the VAT Report. | TableRelation Table 740 “VAT Report Header” (“VAT Report Header”.“No.”) |
| 4 | Submitted By Δ BC29 | Code[50] | Specifies the name of the person who submitted the VAT Report. | TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation |
| 5 | Submission Message BLOB | BLOB | — | |
| 6 | Submittion Date Δ BC29 | Date | Specifies the date that the VAT Report was submitted. | |
| 7 | Response Message BLOB | BLOB | — | |
| 8 | Response Received Date Δ BC29 | DateTime | Specifies the date when the response was received. |
Keys
- Key1: VAT Report Type, VAT Report No. (clustered)
Events published
OnAfterInitVATReportArchive(var VATReportArchive: Record "VAT Report Archive"; var Rec: Record "VAT Report Archive")+ BC27 (integration)OnAfterNoSubmissionMessageAvailableError(var VATReportArchive: Record "VAT Report Archive"; var Rec: Record "VAT Report Archive"; VATReportTypeValue: Option; VATReportNoValue: Code[20])+ BC27 (integration)OnAfterNoResponseMessageAvailableError(var VATReportArchive: Record "VAT Report Archive"; var Rec: Record "VAT Report Archive"; VATReportTypeValue: Option; VATReportNoValue: Code[20])+ BC27 (integration)
Procedures
ArchiveSubmissionMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20]; TempBlobSubmissionMessage: Codeunit "Temp Blob"): Boolean: Archives the submission message for a VAT report with compression and user tracking. Creates new archive record with submission details and compressed message data.ArchiveResponseMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20]; TempBlobResponseMessage: Codeunit "Temp Blob"): Boolean: Archives the response message received from tax authorities for an existing VAT report submission. Updates existing archive record with response data and timestamp.DownloadSubmissionMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20]): Downloads the archived submission message as a compressed ZIP file. Includes document attachments if available, otherwise downloads BLOB data.DownloadResponseMessage(VATReportTypeValue: Option; VATReportNoValue: Code[20]): Downloads the archived response message as a compressed ZIP file. Includes document attachments if available, otherwise downloads BLOB data.SetSubmissionMessageBLOBFromBlob(TempBlob: Codeunit "Temp Blob"): Sets the submission message BLOB field from a Temp Blob codeunit. Transfers BLOB data using RecordRef for field manipulation.SetResponseMessageBLOBFromBlob(TempBlob: Codeunit "Temp Blob"): Sets the response message BLOB field from a Temp Blob codeunit. Transfers BLOB data using RecordRef for field manipulation.
Plus 1 local procedures.
Relations
- VAT Report No.: TableRelation Table 740 “VAT Report Header”
Pages and codeunits on this table
- Page 739 “VAT Report Log” (source table)
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 4100 “Temp Blob” (8 calls:
ArchiveResponseMessage → HasValue,ArchiveSubmissionMessage → HasValue,DownloadResponseMessage → FromRecord, …) - Codeunit 425 “Data Compression” (4 calls:
DownloadZipFile → AddEntry,DownloadZipFile → CloseZipArchive,DownloadZipFile → CreateZipArchive, …)
Countries that replace 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: "table", object_name: "VAT Report Archive"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.