ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 5740 "Transfer Header" – OnAfterInitDefaultDimensionSources

Open TMEKUMA opened this issue 3 years ago • 3 comments

[Event Request] Table 5740 " Transfer Header" – OnAfterInitDefaultDimensionSources

TMEKUMA avatar May 09 '23 09:05 TMEKUMA

Could we please have a publisher OnAfterInitDefaultDimensionSources in function InitDefaultDimensionSources Table Table 5740 " Transfer Header"?

local procedure InitDefaultDimensionSources(var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)
    begin
        DimMgt.AddDimSource(DefaultDimSource, Database::Location, Rec."Transfer-from Code", FieldNo = Rec.FieldNo("Transfer-from Code"));
        DimMgt.AddDimSource(DefaultDimSource, Database::Location, Rec."Transfer-to Code", FieldNo = Rec.FieldNo("Transfer-to Code"));
// >>>>>>>>
        OnAfterInitDefaultDimensionSources(Rec, DefaultDimSource, FieldNo);
// <<<<<<<< 
    end;

// >>>>>>>>
    [IntegrationEvent(false, false)]
    local procedure OnAfterInitDefaultDimensionSources(var TransferHeader: Record "Transfer Header"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; FieldNo: Integer)
    begin
    end;
// <<<<<<<< 

TMEKUMA avatar May 09 '23 09:05 TMEKUMA

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: 10806.

JesperSchulz avatar May 15 '23 14:05 JesperSchulz

Availability update: We will publish a fix for this issue in the next update for release 22.

Build ID to track: 56637.

JesperSchulz avatar May 16 '23 07:05 JesperSchulz