ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 81 "Gen. Journal Line" - procedure GetAppliesToDocDueDate()

Open jlorenc01 opened this issue 3 years ago • 1 comments

Hi there,

I would like to ask for a new publisher in the table 81 "Gen. Journal Line", procedure GetAppliesToDocDueDate(). We need to set our "Due Date". Thank you.

procedure GetAppliesToDocDueDate() Result: Date
var
    CustLedgEntry: Record "Cust. Ledger Entry";
    VendLedgEntry: Record "Vendor Ledger Entry";
    ...
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeGetAppliesToDocDueDate(Rec, Result, IsHandled) // NEW EVENT
    if IsHandled then
        exit;
        
    GetAccTypeAndNo(Rec, AccType, AccNo);
    ...
end;

// NEW EVENT
[IntegrationEvent(false, false)]
local procedure OnBeforeGetAppliesToDocDueDate(var GenJournalLine: Record "Gen. Journal Line"; var Result: Date; var IsHandled: Boolean)
begin
end;

jlorenc01 avatar Oct 12 '23 07:10 jlorenc01

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

JesperSchulz avatar Oct 19 '23 10:10 JesperSchulz