ALAppExtensions
ALAppExtensions copied to clipboard
[Change Request] table 221 "Gen. Jnl. Allocation" - procedure CopyVATSetupToJnlLines
Describe the request
Hello, can you please change the procedure CopyVATSetupToJnlLines from local to protected?
protected procedure CopyVATSetupToJnlLines(): Boolean
var
GenJournalBatch: Record "Gen. Journal Batch";
begin
if ("Journal Template Name" <> '') and ("Journal Batch Name" <> '') then
if GenJournalBatch.Get(Rec."Journal Template Name", Rec."Journal Batch Name") then
exit(GenJournalBatch."Copy VAT Setup to Jnl. Lines");
exit(true);
end;
Additional context
Used OnAfterValidate ???Account No.???. We want to use that check as well, and not copy it. Internal work item: AB#499105
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: 17192.