[Event Request] Сodeunit "Gen. Jnl.-Post Line" fuction PostDtldEmplLedgEntries
Please add the event in function same as exists for customer and vendor:
`
procedure PostDtldEmplLedgEntries(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; EmplPostingGr: Record "Employee Posting Group"; LedgEntryInserted: Boolean) DtldLedgEntryInserted: Boolean
begin
if GenJnlLine."Account Type" <> GenJnlLine."Account Type"::Employee then
exit;
if DtldEmplLedgEntry.FindLast() then
DtldEmplLedgEntryNoOffset := DtldEmplLedgEntry."Entry No."
else
DtldEmplLedgEntryNoOffset := 0;
DtldCVLedgEntryBuf.Reset();
if DtldCVLedgEntryBuf.FindSet() then begin
if LedgEntryInserted then begin
SaveEntryNo := NextEntryNo;
IncrNextEntryNo();
end;
repeat
InsertDtldEmplLedgEntry(GenJnlLine, DtldCVLedgEntryBuf, DtldEmplLedgEntry, DtldEmplLedgEntryNoOffset);
IsHandled := false;
OnPostDtldEmplLedgEntriesOnBeforeUpdateTotalAmounts(GenJnlLine, DtldCVLedgEntryBuf, DtldEmplLedgEntry, IsHandled);
if not IsHandled then
UpdateTotalAmounts(TempDimPostingBuffer, GenJnlLine."Dimension Set ID", DtldCVLedgEntryBuf);
// new event --
// include sender
OnPostDtldEmplLedgEntriesOnAfterUpdateTotalAmounts(GenJnlLine, DtldCVLedgEntryBuf, DtldEmplLedgEntry);
// new event ++
until DtldCVLedgEntryBuf.Next() = 0;
end;
// new event --
OnPostDtldEmplLedgEntriesOnBeforeCreateGLEntriesForTotalAmounts(EmplPostingGr, DtldCVLedgEntryBuf);**
// new event ++
CreateGLEntriesForTotalAmounts(
GenJnlLine, TempDimPostingBuffer, DummyAdjAmount, SaveEntryNo, EmplPostingGr.GetPayablesAccount, LedgEntryInserted);
// new event --
OnPostDtldVendLedgEntriesOnAfterCreateGLEntriesForTotalAmounts(TempGLEntryBuf, GlobalGLEntry, NextTransactionNo);
// new event ++
DtldLedgEntryInserted := not DtldCVLedgEntryBuf.IsEmpty;
DtldCVLedgEntryBuf.DeleteAll();
end;
`
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:
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: .
Please what is the latest on this
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: .
Please what is the latest on this
@elecsach, this is a resolved issue from 2022. What do yo mean by "What is the latest on this"? Also, why would you ask that question as an issue on the Visual Studio Code team?
I have added a new field in the "Employee Posting Group" table(Table 5221) with the following details: Field No. Field Name Data Type Length 50000 Receivables Account Code 20
There is a journal that I automatically generate from a custom built application that uses this new field so that when posting the journal instead using the default account field in the "Employee Posting Group", it uses the newly defined account field(Receivables Account);
Below is the modification to the function "PostDtldEmplLedgEntries" in codeunit 12 in ver 14 of D365 BC which I want to implement in D365 BC ver 23:
//<<<<<<<<<<<<<<
GenJnlLine,TempInvPostBuf,DummyAdjAmount,SaveEntryNo,EmplPostingGr.GetReceivablesAccount,LedgEntryInserted)
//<<<<<<<<<<<<<<
GenJnlLine,TempInvPostBuf,DummyAdjAmount,SaveEntryNo,EmplPostingGr.GetPayablesAccount,LedgEntryInserted);
On Mon, Apr 22, 2024 at 1:24 PM Jesper Schulz-Wedde < @.***> wrote:
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: .
Please what is the latest on this
@elecsach https://github.com/elecsach, this is a resolved issue from 2022. What do yo mean by "What is the latest on this"? Also, why would you ask that question as an issue on the Visual Studio Code team?
— Reply to this email directly, view it on GitHub https://github.com/microsoft/ALAppExtensions/issues/18911#issuecomment-2069416460, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH62L3UZA5LQRFY6N3D6QSLY6UFPXAVCNFSM52CNHJ32U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBWHE2DCNRUGYYA . You are receiving this because you were mentioned.Message ID: @.***>
If events are missing, please create a new event request here on GitHub, and our team will look into providing it 😊 We're not monitoring closed event requests.