From 7e740b1a0c596dbdcbe100da14ac7d1b800acf0f Mon Sep 17 00:00:00 2001 From: Andreas Moth Date: Fri, 9 Feb 2024 13:18:58 +0100 Subject: [PATCH] Codeflow comments --- src/Business Foundation/App/NoSeries/readme_refactoring.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Business Foundation/App/NoSeries/readme_refactoring.md b/src/Business Foundation/App/NoSeries/readme_refactoring.md index 5f1630673e..f514f4576c 100644 --- a/src/Business Foundation/App/NoSeries/readme_refactoring.md +++ b/src/Business Foundation/App/NoSeries/readme_refactoring.md @@ -54,7 +54,7 @@ if "No." = '' then begin GLSetup.Get(); GLSetup.TestField("Bank Account Nos."); "No. Series" := GLSetup."Bank Account Nos."; - NoSeries.AreRelated(GLSetup."Bank Account Nos.", xRec."No. Series") then + if NoSeries.AreRelated(GLSetup."Bank Account Nos.", xRec."No. Series") then "No. Series" := xRec."No. Series" "No." := NoSeries.GetNextNo("No. Series"); end; @@ -69,7 +69,7 @@ if "No." = '' then begin NoSeriesManagement.RaiseObsoleteOnBeforeInitSeries(GLSetup."Bank Account Nos.", xRec."No. Series", 0D, "No.", "No. Series", IsHandled); if not IsHandled then begin "No. Series" := GLSetup."Bank Account Nos."; - NoSeries.AreRelated(GLSetup."Bank Account Nos.", xRec."No. Series") then + if NoSeries.AreRelated(GLSetup."Bank Account Nos.", xRec."No. Series") then "No. Series" := xRec."No. Series" "No." := NoSeries.GetNextNo("No. Series"); NoSeriesManagement.RaiseObsoleteOnAfterInitSeries("No. Series", GLSetup."Bank Account Nos.", 0D, "No.");