mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 17:36:53 +01:00
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 667c64a8-eb36-4440-bc41-6a97d8fb5542 Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
29 lines
693 B
AL
29 lines
693 B
AL
table 50243 "Perf Import Staging Entry"
|
|
{
|
|
fields
|
|
{
|
|
field(1; "Entry No."; Integer) { }
|
|
field(2; "Batch ID"; Guid) { }
|
|
field(3; Processed; Boolean) { }
|
|
}
|
|
|
|
keys
|
|
{
|
|
key(PK; "Entry No.") { Clustered = true; }
|
|
}
|
|
}
|
|
|
|
codeunit 50243 "Perf Sample ModifyAll Bad"
|
|
{
|
|
procedure MarkBatchProcessed(BatchId: Guid)
|
|
var
|
|
StagingEntry: Record "Perf Import Staging Entry";
|
|
begin
|
|
StagingEntry.SetRange("Batch ID", BatchId);
|
|
if StagingEntry.FindSet(true) then
|
|
repeat
|
|
StagingEntry.Processed := true;
|
|
StagingEntry.Modify(false);
|
|
until StagingEntry.Next() = 0;
|
|
end;
|
|
}
|