private ObservableCollection <WarehouseLocationBinCode> BuildWarehouseLocationBinCodeDropDown()
        {
            List <WarehouseLocationBinCode> list = new List <WarehouseLocationBinCode>();

            list = _serviceAgent.GetWarehouseLocationBinCodesReadOnly(ClientSessionSingleton.Instance.CompanyID).ToList();
            list.Add(new WarehouseLocationBinCode());
            list.Sort((x, y) => string.Compare(x.Code, y.Code));

            return(new ObservableCollection <WarehouseLocationBinCode>(list));
        }
Beispiel #2
0
 private ObservableCollection <WarehouseLocationBinCode> GetWarehouseLocationBinCodes()
 {
     return(new ObservableCollection <WarehouseLocationBinCode>(_serviceAgent.GetWarehouseLocationBinCodesReadOnly(ClientSessionSingleton.Instance.CompanyID).ToList()));
 }