Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ page 20438 "Qlty. Management Setup Wizard"
group(DemoDataIntroduction)
{
Caption = 'Demo data for Quality Management';
InstructionalText = 'The Quality Management application includes demo data available through the Contoso Coffee Demo Dataset application.';
InstructionalText = 'Follow the instructions below to install demo data for Quality Management. Use this data to explore quality inspection templates, inspection rules, and sample inspections';
}
group(DemoDataInstructions)
{
Caption = 'Install demo data';
InstructionalText = 'To install demo data, go to the Contoso Demo Tool page and select the Quality Management module.';
InstructionalText = 'To use the demo data, make sure the Quality Management Demo Data application is installed.';
}
}
group(SettingsFor_StepWhatAreYouMakingQltyInspectionsFor)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ codeunit 5213 "Quality Management Module" implements "Contoso Demo Data Module"
procedure GetDependencies() Dependencies: List of [Enum "Contoso Demo Data Module"]
begin
Dependencies.Add(Enum::"Contoso Demo Data Module"::Foundation);
Dependencies.Add(Enum::"Contoso Demo Data Module"::Finance);
Dependencies.Add(Enum::"Contoso Demo Data Module"::Inventory);
Dependencies.Add(Enum::"Contoso Demo Data Module"::Purchase);
end;

procedure CreateSetupData()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,48 @@ pageextension 5800 QltyManagementSetupWizardExt extends "Qlty. Management Setup
{
layout
{
modify(DemoDataInstructions)
{
Caption = 'Install demo data';
InstructionalText = 'To install demo data, go to the Contoso Demo Tool page and select the Quality Management module.';
}
addafter(DemoDataInstructions)
{
field(LinkToContosoDemoToolPage; LinkToContosoDemoToolPageLbl)
{
Caption = 'Open the Contoso Demo Tool page';
Caption = 'Contoso Demo Tool page';
ShowCaption = false;
Editable = false;
ApplicationArea = QualityManagement;

trigger OnDrillDown()
begin
Page.RunModal(Page::"Contoso Demo Tool");
Page.Run(Page::"Contoso Demo Tool");
end;
}
// TODO: Preferred UX but requires Contoso Coffee Demo Dataset app to be INTERNAL VISIBLE TO this app
// field(InstallDemoData; DoInstallDemoData)
// {
// Caption = 'Install Quality Management demo data now';
// ToolTip = 'Select this option to install Quality Management demo data.';
// ApplicationArea = QualityManagement;

// trigger OnValidate()
// var
// DemoDataModule: Record "Contoso Demo Data Module";
// DemoTool: Codeunit "Contoso Demo Tool";
// begin
// if DoInstallDemoData then
// if Confirm(InstallConfirmMsg, false) then
// if DemoDataModule.Get(Enum::"Contoso Demo Data Module"::"Quality Management") then
// DemoTool.CreateDemoData(DemoDataModule, Enum::"Contoso Demo Data Level"::All);
// end;
// }
}
}

var
LinkToContosoDemoToolPageLbl: Label 'Contoso Demo Tool';
// InstallConfirmMsg: Label 'Are you sure you want to install Quality Management demo data now?';
// DoInstallDemoData: Boolean;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "a0673989-48a4-48a0-9517-499c9f4037d3",
"name": "Quality Management Contoso Coffee Demo Dataset",
"name": "Quality Management Demo Data",
"publisher": "Microsoft",
"version": "28.0.0.0",
"brief": "To help partners demonstrate the capabilities of the Quality Management extension, we are making demo data available for various quality management scenarios.",
Expand Down
Loading