예제 #1
0
        private List <MovementList> GetData(int pintPageIndex, int?pintPageSize, string pstrSortExpression, string pstrFilterExpression)
        {
            OperationResult objOperationResult = new OperationResult();
            DateTime?       pdatBeginDate      = dtpDateTimeStar.Value.Date;
            DateTime?       pdatEndDate        = dptDateTimeEnd.Value.Date;

            var _objData = _objLogisticBL.GetMovementsListByWarehouseId(ref objOperationResult, ddlware.SelectedValue.ToString(), 0, null, "", strFilterExpression, pdatBeginDate, pdatEndDate);

            if (objOperationResult.Success != 1)
            {
                MessageBox.Show("Error en operación:" + System.Environment.NewLine + objOperationResult.ExceptionMessage, "ERROR!", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            return(_objData);
        }