Hello, can you please add a new event OnBeforeCheckDirectPostingCheckGLAccount to table 81 "Gen. Journal Line"?
local procedure CheckGLAcc(GLAcc: Record "G/L Account")
var
IsHandled: Boolean;
begin
GLAcc.CheckGLAcc();
IsHandled := false;
OnBeforeCheckDirectPostingCheckGLAccount(Rec, GLAcc, IsHandled);
If IsHandled then
exit;
if GLAcc."Direct Posting" or ("Journal Template Name" = '') or "System-Created Entry" then
exit;
if Rec."Posting Date" <> 0D then
if "Posting Date" = ClosingDate("Posting Date") then
exit;
CheckDirectPosting(GLAcc);
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDirectPostingCheckGLAccount(var GenJournalLine: Record "Gen. Journal Line"; var GLAccount: Record "G/L Account"; var IsHandled: Boolean)
begin
end;
Additional context
Enable different GLAccChecks. We need access to the Rec and the event OnBeforeCheckDirectPosting doesn???t have access
either.
Describe the request
Hello, can you please add a new event OnBeforeCheckDirectPostingCheckGLAccount to table 81 "Gen. Journal Line"?
Additional context
Enable different GLAccChecks. We need access to the Rec and the event OnBeforeCheckDirectPosting doesn???t have access either.
Internal work item: AB#499108