Codeunit 600 "Data Archive"
System Application · System.DataAdministration
Across versions
- BC23-30present
Neighbourhood 13 connected objects and pages
System Application · System.DataAdministration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Events published
OnDataArchiveImplementationExists(var Exists: Boolean)(integration): Checks if there is an implementation of an IDataArchiveProvider- subscribers: Codeunit 605 “Data Archive Provider” OnDataArchiveImplementationExists
OnDataArchiveImplementationBind(var IDataArchiveProvider: Interface "Data Archive Provider"; var IsBound: Boolean)(integration): Asks for an implementation of an IDataArchiveProvider- subscribers: Codeunit 605 “Data Archive Provider” OnDataArchiveImplementationBind
Procedures
Create(Description: Text): Integer: Creates a new archive entry.CreateAndStartLoggingDeletions(Description: Text): Integer: Creates a new archive entry, resets the session and starts logging all new deletions.Open(ID: Integer): Opens an existing archive entry.Save(): Saves and closes the currently open archive entry.DiscardChanges(): Discards any additions and closes the currently open archive entry.SaveRecord(RecordVariant: Variant): Saves the supplied record to the currently open archive entry.SaveRecord(var RecordRef: RecordRef): Saves the supplied record to the currently open archive entry.SaveRecords(var RecordRef: RecordRef): Saves all records within the filters to the currently open archive entry.StartSubscriptionToDelete(): Starts subscription to the OnDatabaseDelete trigger and calls SaveRecord with any deleted record.StartSubscriptionToDelete(ResetSession: Boolean): Starts subscription to the OnDatabaseDelete trigger and calls SaveRecord with any deleted record.StopSubscriptionToDelete(): Stops the subscription to the OnDatabaseDelete trigger.DataArchiveProviderExists(): Boolean: Informs the consumer app whether there is a provider for this interface.SetDataArchiveProvider(var NewDataArchiveProvider: Interface "Data Archive Provider"): Checks if there is an implementation of an IDataArchiveProvider
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 610 “Data Archive Implementation” (11 calls:
Create → Create,CreateAndStartLoggingDeletions → CreateAndStartLoggingDeletions,DataArchiveProviderExists → DataArchiveProviderExists, …)
Called by
- Report 398 “Date Compress Vendor Ledger” (4 calls:
InitializeParameter → DataArchiveProviderExists,InitializeRequest → DataArchiveProviderExists,SummarizeDtldEntry → SaveRecord, …) - Report 198 “Date Compress Customer Ledger” (3 calls:
InitializeParameter → DataArchiveProviderExists,SummarizeDtldEntry → SaveRecord,SummarizeEntry → SaveRecord) - Codeunit 610 “Data Archive Implementation” (2 calls:
BindImplementation → OnDataArchiveImplementationBind,DataArchiveProviderExists → OnDataArchiveImplementationExists) - Report 1198 “Date Compress Resource Ledger” (2 calls:
InitializeParameter → DataArchiveProviderExists,SummarizeEntry → SaveRecord) - Report 1498 “Date Compress Bank Acc. Ledger” (2 calls:
InitializeParameter → DataArchiveProviderExists,SummarizeEntry → SaveRecord) - Report 7139 “Date Comp. Item Budget Entries” (2 calls:
InitializeVariables → DataArchiveProviderExists,SummarizeEntry → SaveRecord) - Report 97 “Date Compr. G/L Budget Entries” (2 calls:
InitializeParameter → DataArchiveProviderExists,SummarizeEntry → SaveRecord) - Report 98 “Date Compress General Ledger” (2 calls:
InitializeParameter → DataArchiveProviderExists,SummarizeEntry → SaveRecord) - Report 5696 “Date Compress FA Ledger” (1 call:
SummarizeEntry → SaveRecord) - Report 5697 “Date Compress Insurance Ledger” (1 call:
SummarizeEntry → SaveRecord) - Report 5698 “Date Compress Maint. Ledger” (1 call:
SummarizeEntry → SaveRecord) - Report 95 “Date Compress VAT Entries” (1 call:
InitializeRequest → DataArchiveProviderExists)
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: "Data Archive"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.