From ff1d40a1a235da7c3bdfa26070af267f19c7a3d3 Mon Sep 17 00:00:00 2001
From: renhao <renhui.hao@capgemini.com>
Date: 星期三, 18 十月 2023 09:29:50 +0800
Subject: [PATCH] Merge branch 'dev'

---
 _Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl b/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl
index 7e7ec19..59dd8e3 100644
--- a/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl
+++ b/_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl
@@ -1,7 +1,7 @@
 Quintiq file version 2.0
 #parent: #root
 StaticMethod FindReleasedVersions (
-  GlobalOTDTable globalotdtable,
+  GlobalOTDSOP globalotdsop,
   String businesstype,
   String versionid
 ) as owning VersionControls
@@ -12,7 +12,10 @@
     // Administrator Sep-13-2023 (created)
     
     // Get the latest version data 
-    latestversion := selectset( globalotdtable, VersionControl, version, version.BusinessType()=businesstype and version.IsReleased()=true and version.VersionID().FindString( versionid, 0 ) = 0 );
+    latestversion := selectset( globalotdsop, 
+                                VersionControl, 
+                                version, 
+                                version.BusinessType()=businesstype and version.IsReleased()=true and version.VersionID().FindString( versionid, 0 ) = 0 );
     
     return &latestversion;
   *]

--
Gitblit v1.9.3