Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Event Change Request] Codeunit 13 "Gen. Jnl.-Post Batch" – OnBeforePostGenJnlLine #27008

Closed
RZ440 opened this issue Aug 13, 2024 · 2 comments
Labels
event-request Request for adding an event Finance GitHub request for Finance area ships-in-future-update Fix ships in a future update

Comments

@RZ440
Copy link

RZ440 commented Aug 13, 2024

Describe the request

Hello, can you please add ???GLRegNo??? to the event OnBeforePostGenJnlLine in codeunit 13 "Gen. Jnl.-Post Batch"?

    local procedure PostGenJournalLine(var GenJournalLine: Record "Gen. Journal Line"; CurrentICPartner: Code[20]; ICTransactionNo: Integer) Result: Boolean
.
.
.
        UpdateIncomingDocument(GenJnlLine5);
        UpdateDimBalBatchName(GenJnlLine5);
        OnBeforePostGenJnlLine(GenJnlLine5, SuppressCommit, IsPosted, GenJnlPostLine, GenJournalLine, GLRegNo);
        if not IsPosted then begin
            GenJnlPostLine.RunWithoutCheck(GenJnlLine5);
            InsertPostedGenJnlLine(GenJournalLine);
            RemoveRecordLink(GenJournalLine);
        end;
    [IntegrationEvent(true, false)]
    local procedure OnBeforePostGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; CommitIsSuppressed: Boolean; var Posted: Boolean; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; var PostingGenJournalLine: Record "Gen. Journal Line"; GLRegNo: Integer)
    begin
    end;

Additional context

We would like to add own entries to the G/L Register.
Internal work item: AB#545258

@alexei-dobriansky alexei-dobriansky added event-request Request for adding an event Finance GitHub request for Finance area labels Aug 21, 2024
@mildddd
Copy link

mildddd commented Sep 18, 2024

Hi,

You have information about "Gen. Journal Template" in GenJournalLine. No need for changing the event.

I will close the ticket.

@mildddd mildddd closed this as completed Sep 18, 2024
@JesperSchulz
Copy link
Contributor

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

@JesperSchulz JesperSchulz added the ships-in-future-update Fix ships in a future update label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event-request Request for adding an event Finance GitHub request for Finance area ships-in-future-update Fix ships in a future update
Projects
None yet
Development

No branches or pull requests

4 participants