mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Move canonical knowledge for Microsoft-owned review domains into the Microsoft layer and document the skill/knowledge co-location policy. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2a6ea875-d38e-4f30-aadb-0d606f9be231
36 lines
978 B
AL
36 lines
978 B
AL
table 50130 "Service Request"
|
|
{
|
|
fields
|
|
{
|
|
field(1; "No."; Code[20])
|
|
{
|
|
DataClassification = CustomerContent;
|
|
}
|
|
field(2; Status; Enum "Service Request Status")
|
|
{
|
|
DataClassification = CustomerContent;
|
|
}
|
|
}
|
|
|
|
keys
|
|
{
|
|
key(PK; "No.")
|
|
{
|
|
Clustered = true;
|
|
}
|
|
}
|
|
|
|
trigger OnModify()
|
|
begin
|
|
// Dead branch under any code-driven Modify: from code xRec mirrors Rec, so
|
|
// the two Status values are always equal and LogStatusChange never runs.
|
|
// Editing the field on a page DOES populate xRec, so this passes manual
|
|
// testing and then silently does nothing in a job queue or API call.
|
|
if Status <> xRec.Status then
|
|
LogStatusChange(xRec.Status, Status);
|
|
end;
|
|
|
|
local procedure LogStatusChange(FromStatus: Enum "Service Request Status"; ToStatus: Enum "Service Request Status")
|
|
begin
|
|
end;
|
|
}
|