You can build Arrays of everything in AL and Business Central

Поділитися
Вставка
  • Опубліковано 4 гру 2024

КОМЕНТАРІ • 6

  • @tetraquark2402
    @tetraquark2402 3 місяці тому +1

    Temp table array is pretty cool

  • @JAlmaraz
    @JAlmaraz 3 місяці тому

    Great video as usual, thank you. This feature is from C/SIDE environment, isn´t it?

  • @denisshitov7221
    @denisshitov7221 3 місяці тому

    Thanks, Erik

  • @martinoomen7050
    @martinoomen7050 3 місяці тому

    Thanks for your video. Now I don't know the full context in case of your Toolbox, but wouldn't something like below make (almost) infinite recrefs possible?
    local procedure Example()
    var
    Customer: Record Customer;
    RecRef: RecordRef;
    RecIDList: List of [RecordId];
    RecID: RecordId;
    begin
    if Customer.findset then
    repeat
    RecIDList.Add(Customer.RecordId);
    until Customer.Next() = 0;
    foreach RecID in RecIDList do
    RecRef.Get(RecID)
    end;

    • @Hougaard
      @Hougaard  3 місяці тому +1

      No, because a recordid doesn't hold filters or a set..

    • @ant1d0te
      @ant1d0te 2 місяці тому

      @@Hougaard in BC25 you have a possibility to use List of [Codeunit] that could have RecRef as global :)