Contacts
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user