...
WaitingJournal.VALIDATE("BBS Shipment No.",ShipmentNo);
WaitingJournal.VALIDATE("BBS Payment Order No.",PaymOrderNo);
WaitingJournal.VALIDATE("BBS Transaction No.",TransNo);
WaitingJournal.VALIDATE("Journal, Settlement Template",GenJnlLine."Journal Template Name");
WaitingJournal.VALIDATE("Journal - Settlement",GenJnlLine."Journal Batch Name");
// Delete the following lines.
WaitingJournal.MODIFY(TRUE);
UNTIL WaitingJournal.NEXT = 0;
CreateBalanceEntry(TransBBSDate,'',WaitingJournal."Account No.",RemAccount,RemAgreement);
// End of the lines.
END;
LOCAL PROCEDURE CreatePaymOrder@6();
VAR
NextPaymOrderID@1000000000 : Integer;
...
...
WaitingJournal.VALIDATE("BBS Shipment No.",ShipmentNo);
WaitingJournal.VALIDATE("BBS Payment Order No.",PaymOrderNo);
WaitingJournal.VALIDATE("BBS Transaction No.",TransNo);
WaitingJournal.VALIDATE("Journal, Settlement Template",GenJnlLine."Journal Template Name");
WaitingJournal.VALIDATE("Journal - Settlement",GenJnlLine."Journal Batch Name");
// Add the following lines.
WaitingJournal."Remittance Status" := WaitingJournal."Remittance Status"::Sent;
WaitingJournal.MODIFY(TRUE);
UNTIL WaitingJournal.NEXT = 0;
// End of the lines.
END;
LOCAL PROCEDURE CreatePaymOrder@6();
VAR
NextPaymOrderID@1000000000 : Integer;
...