mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-06 15:16:56 +01:00
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).
24 lines
635 B
AL
24 lines
635 B
AL
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") { }
|
|
}
|
|
}
|
|
}
|
|
}
|