Contacts
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Mgr
|
||||
ClearErrorState();
|
||||
if (!SysId.IsValid(id)) return false;
|
||||
SbmVehicle.Params prm = new SbmVehicle.Params();
|
||||
prm.IncludedIds.Add(id);
|
||||
prm.IdsIncluded.Add(id);
|
||||
prm.StatusCat = SbmVehicle.StatusCat.Any;
|
||||
return GetVehicleCount(prm) == 1;
|
||||
}
|
||||
@@ -53,7 +53,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Mgr
|
||||
ClearErrorState();
|
||||
if (!SysId.IsValid(id)) return null;
|
||||
SbmVehicle.Params prm = new SbmVehicle.Params();
|
||||
prm.IncludedIds.Add(id);
|
||||
prm.IdsIncluded.Add(id);
|
||||
prm.StatusCat = SbmVehicle.StatusCat.Any;
|
||||
return GetVehicle(prm);
|
||||
}
|
||||
@@ -173,6 +173,7 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Mgr
|
||||
DataValue value = new DataValue();
|
||||
switch ((SbmVehicle.Column)column.Id)
|
||||
{
|
||||
//-----------------------------------------------------------
|
||||
// Notes.
|
||||
case SbmVehicle.Column.Notes:
|
||||
value = new DataValue(SacsHierarchyItem.FormatForDisplay(values.GetValue(column.DataName).ToString(), 200));
|
||||
@@ -191,7 +192,11 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Mgr
|
||||
}
|
||||
break;
|
||||
|
||||
//-----------------------------------------------------------
|
||||
//-----------------------------------------------------------
|
||||
default:
|
||||
value = values.GetValue(column.DataName);
|
||||
break;
|
||||
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user