mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-07 15:46:55 +01:00
Add 18 community AL/BC patterns across style, data-modeling, web-services, appsource, breaking-changes, performance, and testing
Contributed by CURABIS ApS, generalized from patterns observed across real AppSource/PTE development. Each article follows the knowledge file format (frontmatter, Description/Best Practice/Anti Pattern, sibling .good.al/.bad.al samples).
This commit is contained in:
parent
07e324ddbc
commit
057e17c202
52 changed files with 1109 additions and 0 deletions
|
|
@ -0,0 +1,24 @@
|
|||
page 50102 "Project Task API"
|
||||
{
|
||||
PageType = API;
|
||||
APIPublisher = 'contoso';
|
||||
APIGroup = 'jobs';
|
||||
APIVersion = 'v1.0';
|
||||
EntityName = 'projectTask';
|
||||
EntitySetName = 'projectTasks';
|
||||
SourceTable = "Project Task";
|
||||
|
||||
layout
|
||||
{
|
||||
area(content)
|
||||
{
|
||||
repeater(General)
|
||||
{
|
||||
// "Remaining Hours" is a stored field, set inside the
|
||||
// OnValidate of "Budgeted Hours" — it goes stale whenever
|
||||
// "Hours Used" changes through any other path.
|
||||
field(remainingHours; Rec."Remaining Hours") { }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue