mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 17:36:53 +01:00
14 lines
369 B
AL
14 lines
369 B
AL
codeunit 50931 "Perf Sample TextBuilder Good"
|
|
{
|
|
procedure BuildItemList(var Item: Record Item): Text
|
|
var
|
|
Builder: TextBuilder;
|
|
begin
|
|
if Item.FindSet() then
|
|
repeat
|
|
Builder.AppendLine(StrSubstNo('%1,%2', Item."No.", Item.Description));
|
|
until Item.Next() = 0;
|
|
|
|
exit(Builder.ToText());
|
|
end;
|
|
}
|