This commit is contained in:
Andy Howard
2024-11-19 09:47:00 +00:00
parent c5ee285e27
commit 8b872cc8f3
214 changed files with 7924 additions and 5519 deletions
@@ -75,7 +75,6 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
//-------------------------------------------------------------------
// Create ItemBatch.
//public SbmItemBatch_Dbas(SbmSessionProfile sessionProfile, SysId id, SysId affIdOwner, Sbm.ItemBatchType type, String refs, ushort flags)
public override SbmItemBatch CreateItemBatch(Sbm.ItemBatchType itemBatchType, String refs)
{
ClearErrorState();
@@ -337,11 +336,11 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
List<String> filter = new List<String>();
// ItemBatch Id.
String includedIds = prm.IncludedIds.Concat(",");
String includedIds = prm.IdsIncluded.Concat(",");
String colItemBatch_Id = SbmDbDfn.GetColumnNameQual(SbmDbDfn.ColumnIdx.ItemBatch_Id, aliasItemBatch);
if (!includedIds.IsEmpty())
filter.Add(colItemBatch_Id + " IN (" + includedIds + ")");
String excludedIds = prm.ExcludedIds.Concat(",");
String excludedIds = prm.IdsExcluded.Concat(",");
if (!excludedIds.IsEmpty())
filter.Add(colItemBatch_Id + " NOT IN (" + excludedIds + ")");
@@ -511,7 +510,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Mgr
// Populate filter.
query.Filters.AddRange(GetItemBatchQueryFilter(prm));
if (prm.IncludedIds.Count != 1)
if (prm.IdsIncluded.Count != 1)
{
// Configure sort sequence.
foreach (String sortColumn in GetItemBatchSortColumns(prm))