From ea56fab48d2ed55b4de46f4500565415535056b0 Mon Sep 17 00:00:00 2001 From: yanweiyuan3 <yanweiyuan3@gmail.com> Date: 星期二, 17 十月 2023 18:07:24 +0800 Subject: [PATCH] Move to GlobalOTDSOP --- _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