예제 #1
0
        public DataSet ProcesarSocioLineaPagRetencion(SocioLineaPagRetencionBE BE)
        {
            DataSet dsResult;

            try
            {
                cmd = db.GetStoredProcCommand("SocioLineaPagRetencion_Mnt");
                db.AddInParameter(cmd, "OPCION", DbType.Int32, BE.OPCION);
                db.AddInParameter(cmd, "USUARIO", DbType.String, BE.USUARIO);
                db.AddInParameter(cmd, "IdLinea", DbType.String, BE.IdLinea);
                db.AddInParameter(cmd, "IdPagadora", DbType.String, BE.IdPagadora);
                db.AddInParameter(cmd, "IdDocumento", DbType.String, BE.IdDocumento);
                db.AddInParameter(cmd, "IdItem", DbType.String, BE.IdItem);
                db.AddInParameter(cmd, "nRetencion", DbType.Decimal, BE.nRetencion);
                dsResult = db.ExecuteDataSet(cmd);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
            return(dsResult);
        }
예제 #2
0
 public DataSet ProcesarSocioLineaPagRetencion(SocioLineaPagRetencionBE BE)
 {
     return(SocioLineaPagRetencionDA.ProcesarSocioLineaPagRetencion(BE));
 }