mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +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).
14 lines
348 B
AL
14 lines
348 B
AL
table 50100 "Period Stats"
|
|
{
|
|
fields
|
|
{
|
|
field(1; "Period Start"; Date) { }
|
|
field(2; Flow; Enum "Some Flow") { }
|
|
}
|
|
keys
|
|
{
|
|
// Table already shipped with key(PK; "Period Start").
|
|
// Adding Flow here breaks every upgrade with AS0009.
|
|
key(PK; Flow, "Period Start") { Clustered = true; }
|
|
}
|
|
}
|