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 team, Could we get the event OnBeforeSetGenJnlLine and OnAfterSetGenJnlLine on Codeunit 367 - "CheckManagement"?
local procedure SetGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; OriginalAmount: Decimal; CurrencyCode: Code[10]; DocumentNo: Code[20]; Dim1Code: Code[20]; Dim2Code: Code[20]; DimSetID: Integer) var **IsHandled: Boolean** begin **IsHandled := false; OnBeforeSetGenJnlLine(GenJnlLine, IsHandled); If IsHandled then exit();** GenJnlLine.Validate(Amount, OriginalAmount); GenJnlLine.Validate("Currency Code", CurrencyCode); MakeAppliesID(GenJnlLine."Applies-to ID", DocumentNo); GenJnlLine."Shortcut Dimension 1 Code" := Dim1Code; GenJnlLine."Shortcut Dimension 2 Code" := Dim2Code; GenJnlLine."Dimension Set ID" := DimSetID; GenJnlLine."Source Currency Code" := CurrencyCode; OnAfterSetGenJnlLine(GenJnlLine); end;
[IntegrationEvent(false, false)] local procedure OnBeforeSetGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean); begin end;
[IntegrationEvent(false, false)] local procedure OnAfterSetGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"); begin end;
Thank you in advance!
n/a Internal work item: AB#561101
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the request
Dear team,
Could we get the event OnBeforeSetGenJnlLine and OnAfterSetGenJnlLine on Codeunit 367 - "CheckManagement"?
Thank you in advance!
Additional context
n/a
Internal work item: AB#561101
The text was updated successfully, but these errors were encountered: