microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
768 stars 610 forks source link

[Event Request] page 31175 "Advance Letter Appl. Edit CZZ" (Czech) #26915

Closed M4fin closed 3 weeks ago

M4fin commented 1 month ago

Describe the request

Hello,

we need an event in OnLookup trigger for "Advance Letter No." field in this page:

field("Advance Letter No."; Rec."Advance Letter No.")
                {
                    ApplicationArea = Basic, Suite;
                    ToolTip = 'Specifies advance letter no.';
                    NotBlank = true;

                    trigger OnValidate()
                    begin
                        if Rec."Advance Letter No." <> '' then begin
                            TempAdvanceLetterApplication.Get(Rec."Advance Letter Type", Rec."Advance Letter No.", Rec."Document Type", Rec."Document No.");
                            Rec.CopyFrom(TempAdvanceLetterApplication);
                        end
                    end;

                    trigger OnLookup(var Text: Text): Boolean
                    begin
                        OnBeforeOnLookupAdvanceLetterNo(Rec, TempAdvanceLetterApplication);

                        if Page.RunModal(Page::"Advance Letter Application CZZ", TempAdvanceLetterApplication) = Action::LookupOK then
                      // START
                      begin
                      //STOP
                            Rec.CopyFrom(TempAdvanceLetterApplication);
                      // START
                      OnAfterOnLookupAdvanceLetterNo(Rec);
                      end
                      //STOP
                    end;
                }
[IntegrationEvent(false, false)]
local procedure OnAfterOnLookupAdvanceLetterNo(var AdvanceLetterApplicationCZZ: Record "Advance Letter Application CZZ")
begin
end;

Additional context

User wants to get a warning after entering a Advance letter number if the Advance letter would be without VAT Internal work item: AB#542993

hodnot commented 1 month ago

Hi @JesperSchulz, please look on this.

thank you, Petr

azure-boards[bot] commented 1 month ago

✅ Successfully linked to Azure Boards work item(s):

JesperSchulz commented 3 weeks ago

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: .