mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 09:26:52 +01:00
Pure git-mv relocation of all 7 performance articles from community/knowledge/performance/ to microsoft/knowledge/performance/. No content changes. Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
18 lines
614 B
AL
18 lines
614 B
AL
codeunit 50100 "Item Reindex Queue"
|
|
{
|
|
procedure QueueItemsForReindex(CategoryCode: Code[20])
|
|
var
|
|
Item: Record Item;
|
|
ReindexQueue: Codeunit "Reindex Queue";
|
|
begin
|
|
// Default full-record load. Description, Unit Price, Inventory, and
|
|
// every other column are fetched across the wire and held in memory
|
|
// for the whole loop - the body only ever reads "No.".
|
|
Item.SetRange("Item Category Code", CategoryCode);
|
|
|
|
if Item.FindSet() then
|
|
repeat
|
|
ReindexQueue.Enqueue(Item."No.");
|
|
until Item.Next() = 0;
|
|
end;
|
|
}
|