ALAppExtensions
ALAppExtensions copied to clipboard
[Request for External] - Codeunit 1248 "Process Bank Acc. Rec Lines"- InsertNonReconciledNonImportedLines and GetStatementLineNoOffset
Hello, I was wondering if you could make these two procedures external ?
local procedure InsertNonReconciledNonImportedLines(var TempBankAccReconLine: Record "Bank Acc. Reconciliation Line" temporary; StatementLineNoOffset: Integer)
var
BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line";
begin
if TempBankAccReconLine.FindSet then
repeat
if TempBankAccReconLine.CanImport then begin
BankAccReconciliationLine := TempBankAccReconLine;
BankAccReconciliationLine."Statement Line No." += StatementLineNoOffset;
BankAccReconciliationLine.Insert();
end;
until TempBankAccReconLine.Next = 0;
end;
local procedure GetStatementLineNoOffset(BankAccRecon: Record "Bank Acc. Reconciliation"): Integer
var
BankAccReconLine: Record "Bank Acc. Reconciliation Line";
begin
BankAccReconLine.SetRange("Statement Type", BankAccRecon."Statement Type");
BankAccReconLine.SetRange("Statement No.", BankAccRecon."Statement No.");
BankAccReconLine.SetRange("Bank Account No.", BankAccRecon."Bank Account No.");
if BankAccReconLine.FindLast then
exit(BankAccReconLine."Statement Line No.");
exit(0)
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. We will update this issue with information about availability.