SELECT *
FROM Customer
WHERE ([No.] = '10000')
SELECT [No.], [Name], [Search Name]
FROM Customer
WHERE ([No.] = '10000')
procedure ILEPerformanceMeasurements()
var
ItemLedgerEntry: Record "Item Ledger Entry";
ILEDictionary: Dictionary of [Integer, Text];
StartDateTime: DateTime;
begin
StartDateTime := CurrentDateTime();
if ItemLedgerEntry.FindSet() then
repeat
ILEDictionary.Add(ItemLedgerEntry."Entry No.", ItemLedgerEntry.Description);
until ItemLedgerEntry.Next() = 0;
Message('Working time: %1 \ Total count is: %2', CurrentDateTime() - StartDateTime, ItemLedgerEntry.Count());
end;
procedure ILEPerformanceMeasurements()
var
ItemLedgerEntry: Record "Item Ledger Entry";
ILEDictionary: Dictionary of [Integer, Text];
StartDateTime: DateTime;
begin
StartDateTime := CurrentDateTime();
ItemLedgerEntry.SetLoadFields(ItemLedgerEntry."Entry No.", ItemLedgerEntry.Description);
if ItemLedgerEntry.FindSet() then
repeat
ILEDictionary.Add(ItemLedgerEntry."Entry No.", ItemLedgerEntry.Description);
until ItemLedgerEntry.Next() = 0;
Message('Working time: %1 \ Total count is: %2', CurrentDateTime() - StartDateTime, ItemLedgerEntry.Count());
end;