ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Extensibility issues: Page 9233 G/L Balance by Dim. Matrix

Open matteomontanari opened this issue 5 years ago • 1 comments

We need new event to handle the behavior of the Drilldown method.

Something like: [IntegrationEvent(false, false)] local procedure OnBeforeDrillDown(SetColFilter: Boolean; var GLAcc: Record "G/L Account"; AnalysisByDimParameters: Record "Analysis by Dim. Parameters"; var Handled: Boolean)

The DrillDown procedure changed as following:

    local procedure DrillDown(SetColFilter: Boolean)
    var
        GLEntry: Record "G/L Entry";
        GLBudgetEntry: Record "G/L Budget Entry";
        Handled : Boolean; //Added Variable
    begin
        SetCommonFilters(GLAcc);
        SetDimFilters(GLAcc, 0);
        if SetColFilter then
            SetDimFilters(GLAcc, 1);

        //Start Added
        OnBeforeDrillDown(SetColFilter, GLAcc, AnalysisByDimParameters, Handled);
        if Handled then
            exit;
        //Stop Added

matteomontanari avatar Dec 17 '20 17:12 matteomontanari

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. We will update this issue with information about availability. 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.

JesperSchulz avatar Dec 24 '20 14:12 JesperSchulz