We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dear Support, Could You please add a new publisher into PostFixedAsset function in codeunit 12 - "Gen. Jnl.-Post Line"?
<<<<< Original >>>>>
. . if not IsHandled then begin InitGLEntry(GenJnlLine, GLEntry, '', GenJnlLine."Amount (LCY)", GenJnlLine."Source Currency Amount", true, GenJnlLine."System-Created Entry"); GLEntry."Gen. Posting Type" := GenJnlLine."Gen. Posting Type"; GLEntry."Bal. Account Type" := GenJnlLine."Bal. Account Type"; GLEntry."Bal. Account No." := GenJnlLine."Bal. Account No."; InitVAT(GenJnlLine, GLEntry, VATPostingSetup); GLEntry2 := GLEntry; FAJnlPostLine.GenJnlPostLine( GenJnlLine, GLEntry2.Amount, GLEntry2."VAT Amount", NextTransactionNo, NextEntryNo, GLReg."No."); ShortcutDim1Code := GenJnlLine."Shortcut Dimension 1 Code"; ShortcutDim2Code := GenJnlLine."Shortcut Dimension 2 Code"; . .
<<<<< Modified >>>>>
. . if not IsHandled then begin InitGLEntry(GenJnlLine, GLEntry, '', GenJnlLine."Amount (LCY)", GenJnlLine."Source Currency Amount", true, GenJnlLine."System-Created Entry"); GLEntry."Gen. Posting Type" := GenJnlLine."Gen. Posting Type"; GLEntry."Bal. Account Type" := GenJnlLine."Bal. Account Type"; GLEntry."Bal. Account No." := GenJnlLine."Bal. Account No."; InitVAT(GenJnlLine, GLEntry, VATPostingSetup); GLEntry2 := GLEntry; IsHandled := false; OnBeforeGenJnlPostLine(GenJnlLine, GLEntry2, NextTransactionNo, NextEntryNo, GLReg, IsHandled); --> NEW PUBLISHER if not IsHandled then FAJnlPostLine.GenJnlPostLine( GenJnlLine, GLEntry2.Amount, GLEntry2."VAT Amount", NextTransactionNo, NextEntryNo, GLReg."No."); ShortcutDim1Code := GenJnlLine."Shortcut Dimension 1 Code"; ShortcutDim2Code := GenJnlLine."Shortcut Dimension 2 Code"; . . [IntegrationEvent(false, false)] local procedure OnBeforeGenJnlPostLine(GenJournalLine: Record "Gen. Journal Line"; GLEntry2: Record "G/L Entry"; NextTransactionNo: Integer; NextGLEntryNo: Integer; GLReg: Record "G/L Register"; var IsHandled: Boolean) begin end;
Thank you in advance,
Daniel
Due to a customer modification in this field triggers. Internal work item: AB#560505
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the request
Dear Support,
Could You please add a new publisher into PostFixedAsset function in codeunit 12 - "Gen. Jnl.-Post Line"?
<<<<< Original >>>>>
<<<<< Modified >>>>>
Thank you in advance,
Daniel
Additional context
Due to a customer modification in this field triggers.
Internal work item: AB#560505
The text was updated successfully, but these errors were encountered: