Source AL, 87 lines
src/System Application/App/External File Storage/src/Scenario/FileScenario.Codeunit.allines 11 to 26 of 87, Copyright (c) Microsoft Corporation. MIT
codeunit 9452 "File Scenario"{ /// <summary> /// Gets the default file account. /// </summary> /// <param name="TempFileAccount">Out parameter holding information about the default file account.</param> /// <returns>True if an account for the default scenario was found; otherwise - false.</returns> procedure GetDefaultFileAccount(var TempFileAccount: Record "File Account" temporary): Boolean begin exit(FileScenarioImpl.GetFileAccount(Enum::"File Scenario"::Default, TempFileAccount)); end; /// <summary> /// 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. /// </summary>
All 87 lines
Events 1 in 29
Public procedures 6 in 29
| GetDefaultFileAccount(var TempFileAccount: Record "File Account" temporary): Boolean | new in 26 |
| GetFileAccount(Scenario: Enum "File Scenario"; var TempFileAccount: Record "File Account" temporary): Boolean | new in 26 |
| SetDefaultFileAccount(TempFileAccount: Record "File Account" temporary) | new in 26 |
| SetFileAccount(Scenario: Enum "File Scenario"; TempFileAccount: Record "File Account" temporary) | new in 26 |
| UnassignScenario(Scenario: Enum "File Scenario") | new in 26 |
| GetSpecificFileAccount(Scenario: Enum "File Scenario"; var TempFileAccount: Record "File Account" temporary): Boolean | new in 28 |
Changes 1 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | | | | 1 | |
|---|
| GetSpecificFileAccount(Scenario: Enum "File Scenario"; var TempFileAccount: Record "File Account" temporary): Boolean | new in 28 |
| added |
All 1 changes in 26-29