Codeunit 9452 "File Scenario"
System Application · System.ExternalFileStorage
Across versions
- BC23-25not present
- BC26added
- BC27unchanged
- BC281 procedures added
- BC29-30unchanged
Neighbourhood 6 connected objects and pages
System Application · System.ExternalFileStorage · BC26-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeInsertAvailableFileScenario(Scenario: Enum "File Scenario"; var IsAvailable: Boolean)(integration): Event for changing whether an file scenario should be added to the list of assignable scenarios. If the scenario has already been assigned or is the default scenario, this event won’t be published.
Procedures
GetDefaultFileAccount(var TempFileAccount: Record "File Account" temporary): BooleanGetFileAccount(Scenario: Enum "File Scenario"; var TempFileAccount: Record "File Account" temporary): Boolean: Gets the file account used by the given file scenario. If the no account is defined for the provided scenario, the default account (if defined) will be returned.GetSpecificFileAccount(Scenario: Enum "File Scenario"; var TempFileAccount: Record "File Account" temporary): Boolean+ BC28: Gets the file account used by the given file scenario.SetDefaultFileAccount(TempFileAccount: Record "File Account" temporary): Sets a default file account.SetFileAccount(Scenario: Enum "File Scenario"; TempFileAccount: Record "File Account" temporary): Sets a file account to be used by the given file scenario.UnassignScenario(Scenario: Enum "File Scenario"): Unassign an file scenario. The scenario will then use the default file account.
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 9453 “File Scenario Impl.” (6 calls:
GetDefaultFileAccount → GetFileAccount,GetFileAccount → GetFileAccount,GetSpecificFileAccount → GetSpecificFileAccount, …)
Called by
- Codeunit 8751 “DA External Storage Impl.” (10 calls:
BeforeAddOrModifyFileScenarioCheck → GetSpecificFileAccount,DeleteExternalFile → GetSpecificFileAccount,DownloadFromExternalStorage → GetSpecificFileAccount, …) - Codeunit 9451 “File Account Impl.” (3 calls:
DefaultAccountDeletion → UnassignScenario,DeleteAccounts → GetDefaultFileAccount,MakeDefault → SetDefaultFileAccount) - Codeunit 9453 “File Scenario Impl.” (1 call:
GetAvailableScenariosForAccount → OnBeforeInsertAvailableFileScenario) - Codeunit 9455 “External File Storage Impl.” (1 call:
Initialize → GetFileAccount) - Page 9450 “File Accounts” (1 call:
UpdateFileAccounts → GetDefaultFileAccount) - Page 9451 “File Account Wizard” (1 call:
OnInit → GetDefaultFileAccount)
Implemented by
- Codeunit 8751 “DA External Storage Impl.”
- Codeunit 9459 “Default File Scenario Impl.”
- Enum 9451 “File Scenario”
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: "File Scenario"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.