KVSCOREiDataPackage#
Procedures#
GetDescription() : Text#
Summary: The Description of the package
procedure GetDescription(): Text
Example:
procedure GetDescription(): Text
begin
exit('This is a description of the package');
end;
SetupDataAvailable() : Boolean#
Summary: Procedure to check if the Package contains Setup Data
procedure SetupDataAvailable(): Boolean
Example:
procedure SetupDataAvailabel(): Boolean
begin
exit(true);
end;
DemoDataAvailable() : Boolean#
Summary: Procedure to check if the Package contains Demo Data
procedure DemoDataAvailable(): Boolean
Example:
procedure DemoDataAvailabel(): Boolean
begin
exit(true);
end;
DemoDataImportOnAutomatedImport() : Boolean#
Summary: Procedure to control if the package should be imported on an automated import. If your app provides multiple data packages which are in conflict with each other you should just mark one as automated importable. you should also think about whether it would make sense to trigger an event with an handled pattern to allow an app that has a dependency to yours to replace your default with its own.
procedure DemoDataImportOnAutomatedImport(): Boolean
Example:
procedure DemoDataImportOnAutomatedImport(): Boolean
begin
exit(true);
end;
SetupDataImportOnAutomatedImport() : Boolean#
Summary: Procedure to control if the package should be imported on an automated import. If your app provides multiple data packages which are in conflict with each other you should just mark one as automated importable. you should also think about whether it would make sense to trigger an event with an handled pattern to allow an app that has a dependency to yours to replace your default with its own.
procedure SetupDataImportOnAutomatedImport(): Boolean
Example:
procedure SetupDataImportOnAutomatedImport(): Boolean
begin
exit(true);
end;
CreateSetupData() :#
Summary: Procedure to Create the Setup Data
procedure CreateSetupData():
CreateDemoData() :#
Summary: Procedure to Create the Demo Data
procedure CreateDemoData():
RunSetup() :#
Summary: Procedure to run an corresponding Setup
procedure RunSetup():
Example: Default implementation exists:
procedure RunSetup()
var
DataDefaults: Codeunit KVSCOREDataDefaults;
begin
DataDefaults.RunSetup();
end;
ProvidingApp() : ModuleInfo#
Summary: Procedure to provide information about the providing App
procedure ProvidingApp(): ModuleInfo
Example: Default implementation exists:
procedure ProvidingApp(): ModuleInfo;
var
DataDefaults: Codeunit KVSCOREDataDefaults;
begin
exit(DataDefaults.ProvidingApp());
end;