Codeunit 18060473 EOS054 EED Package Downloader
Codeunit 18060473 EOS054 EED Package Downloader
Methods
GetQuestionnairePackage
procedure GetQuestionnairePackage(LanguageCode: Code[10]; skiperror: Boolean): Boolean
This function will download the questionnaire package from the Github repository and apply it to the database
Parameters / Return Value
LanguageCode
Code[10]
The language code used to search for the correct questionnaire package
skiperror
Boolean
Returns
Boolean
GetSustSetupPackage
procedure GetSustSetupPackage(LanguageCode: Code[10]; skiperror: Boolean): Boolean
This function will download the sustainability setup package from the Github repository and apply it to the database
Parameters / Return Value
LanguageCode
Code[10]
The language code used to search for the correct questionnaire package
skiperror
Boolean
Returns
Boolean
GetPackage
procedure GetPackage(Folder: Text; FileName: Text[250]; LanguageCode: Code[10]; skiperror: Boolean): Boolean
This function will download the package from the Github repository and apply it to the database
Parameters / Return Value
Folder
Text[]
FileName
Text[250]
LanguageCode
Code[10]
skiperror
Boolean
Returns
Boolean
GetQuestionnairePackage
procedure GetQuestionnairePackage()
Get the questionnaire package for the current language
S_Message
procedure S_Message(Msg: Text)
Throws a message only if skipDialog is not enabled
Parameters / Return Value
Msg
Text[]
the message text
S_Error
procedure S_Error(Msg: Text)
Throws an error dialog only if skipDialog is not enabled
Parameters / Return Value
Msg
Text[]
the error text
IsQuestionnaireFolder
procedure IsQuestionnaireFolder(Folder: Text): Boolean
Check if the folder is the questionnaire folder
Parameters / Return Value
Folder
Text[]
the folder name
Returns
Boolean
True if the folder is the questionnaire folder
GetManifestFile
procedure GetManifestFile(var ManifestJSON: JsonObject; skiperror: Boolean): Boolean
Parameters / Return Value
ManifestJSON
JsonObject
skiperror
Boolean
Returns
Boolean
GetQuestionnairePackageName
procedure GetQuestionnairePackageName(): Text
Parameters / Return Value
- Returns
Text[]
GetInitDataPackageName
procedure GetInitDataPackageName(): Text
Parameters / Return Value
- Returns
Text[]
LanguageChooser
procedure LanguageChooser(var ManifestJSON: JsonObject; PackageName: Text): Code[10]
Parameters / Return Value
ManifestJSON
JsonObject
PackageName
Text[]
Returns
Code[10]
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.