-
Notifications
You must be signed in to change notification settings - Fork 319
[Quality Management] [Demo Data] New Contoso Demo Tool module for Quality Management #6083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
attilatoury
merged 18 commits into
main
from
private/attilatoury/contoso-demo-data-module-for-quality-mgmt
Jan 22, 2026
Merged
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
b570c7d
removed obsolete install files
attilatoury 65d2d90
added a new contoso coffee demo dataset app for quality management an…
attilatoury f4a41eb
revert delete internal procedure which is used in the test app
attilatoury 33bf678
to be discussed with UX team
attilatoury c629a77
update extension logo
attilatoury a2a4a7c
added missing copyright section
attilatoury 3dea825
removed comment
attilatoury 67a04bf
action application area
attilatoury a727528
Merge branch 'main' of https://github.com/microsoft/BCApps into priva…
attilatoury d23e8e1
removed obsolete reference to resources folder in app json
attilatoury 32f21cd
Merge branch 'main' of https://github.com/microsoft/BCApps into priva…
attilatoury 6e515f2
removed unused imports
attilatoury 80cf1cd
Merge branch 'main' of https://github.com/microsoft/BCApps into priva…
attilatoury 032c5fb
merge conflict
attilatoury cd1e9fc
unused variable
attilatoury 4bff877
code cop rules errors were not showing
attilatoury 9a085d9
code review comments
attilatoury 4722d8a
Merge branch 'main' of https://github.com/microsoft/BCApps into priva…
attilatoury File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file removed
BIN
-58 KB
src/Apps/W1/Quality Management/app/Resources/InstallFiles/ConfigurationPackageExcelData.xlsx
Binary file not shown.
Binary file removed
BIN
-14.9 KB
src/Apps/W1/Quality Management/app/Resources/InstallFiles/PackageQM-EXPRESSDEMO.rapidstart
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...agementContosoCoffeeDemoDataset/DemoData/1.Setup Data/CreateQualityInspResult.Codeunit.al
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| // ------------------------------------------------------------------------------------------------ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. See License.txt in the project root for license information. | ||
| // ------------------------------------------------------------------------------------------------ | ||
| namespace Microsoft.DemoData.QualityManagement; | ||
|
|
||
| using Microsoft.DemoTool.Helpers; | ||
| using Microsoft.QualityManagement.Configuration.Result; | ||
|
|
||
| codeunit 5216 "Create Quality Insp. Result" | ||
| { | ||
| InherentEntitlements = X; | ||
| InherentPermissions = X; | ||
|
|
||
| trigger OnRun() | ||
| var | ||
| ContosoQualityManagement: Codeunit "Contoso Quality Management"; | ||
| begin | ||
| ContosoQualityManagement.InsertQualityInspectionResult(Fail(), FailDescLbl, 1, Enum::"Qlty. Result Copy Behavior"::"Automatically copy the result", Enum::"Qlty. Result Visibility"::"Configuration only", '<>0', '<>""', 'No', Enum::"Qlty. Result Category"::"Not acceptable", Enum::"Qlty. Result Finish Allowed"::"Allow Finish"); | ||
attilatoury marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ContosoQualityManagement.InsertQualityInspectionResult(InProgress(), InProgressDescLbl, 0, Enum::"Qlty. Result Copy Behavior"::"Automatically copy the result", Enum::"Qlty. Result Visibility"::"Configuration only", '', '', '', Enum::"Qlty. Result Category"::Uncategorized, Enum::"Qlty. Result Finish Allowed"::"Allow Finish"); | ||
| ContosoQualityManagement.InsertQualityInspectionResult(Pass(), PassDescLbl, 2, Enum::"Qlty. Result Copy Behavior"::"Automatically copy the result", Enum::"Qlty. Result Visibility"::Promoted, '<>0', '<>""', 'Yes', Enum::"Qlty. Result Category"::Acceptable, Enum::"Qlty. Result Finish Allowed"::"Allow Finish"); | ||
| end; | ||
|
|
||
| procedure Fail(): Code[20] | ||
| begin | ||
| exit(FailTok); | ||
| end; | ||
|
|
||
| procedure InProgress(): Code[20] | ||
| begin | ||
| exit(InProgressTok); | ||
| end; | ||
|
|
||
| procedure Pass(): Code[20] | ||
| begin | ||
| exit(PassTok); | ||
| end; | ||
|
|
||
| var | ||
| FailTok: Label 'FAIL', MaxLength = 20; | ||
| InProgressTok: Label 'INPROGRESS', MaxLength = 20; | ||
| PassTok: Label 'PASS', MaxLength = 20; | ||
|
|
||
| FailDescLbl: Label 'Fail', MaxLength = 100; | ||
| InProgressDescLbl: Label 'In Progress', MaxLength = 100; | ||
| PassDescLbl: Label 'Pass', MaxLength = 100; | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.