ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Codeunit 17 "Gen. Jnl.-Post Reverse", procedure CheckDimComb() - OnBeforeCheckDimensions()
Similar to how it's done in Codeunits 11, 21, and 211 we need an OnBeforeCheckDimensions() event with an IsHandled pattern:
local procedure CheckDimComb(EntryNo: Integer; DimSetID: Integer; TableID1: Integer; AccNo1: Code[20]; TableID2: Integer; AccNo2: Code[20])
var
DimMgt: Codeunit DimensionManagement;
TableID: array[10] of Integer;
AccNo: array[10] of Code[20];
IsHandled: Boolean;
begin
OnBeforeCheckDimensions(EntryNo, DimSetID, TableID1, AccNo1, TableID2, AccNo2, IsHandled);
if IsHandled then
exit;
[...]
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDimensions(EntryNo: Integer; DimSetID: Integer; TableID1: Integer; AccNo1: Code[20]; TableID2: Integer; AccNo2: Code[20]; var IsHandled: Boolean)
begin
end;
Thanks!
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.