Televenta etiquetas AIP
if (!IsPostBack)
{
try
{
xgvPedidos.DataSource = GetData(Convert.ToInt32(hdnClientepv.Value), Convert.ToInt32(hdnPuntovta.Value), Convert.ToInt32(hdnSupervisor.Value), Convert.ToInt32(hdnRuta.Value));
xgvPedidos.KeyFieldName = "producto";
xgvPedidos.DataBind();
if (esAIP)
{
xgvPedidos.Columns["colCantidadPrevia1"].Caption = "S";
xgvPedidos.Columns["colCantidadPrevia2"].Caption = "U";
xgvPedidos.Columns["colCantidadPrevia3"].Caption = "P";
}
}catch(Exception ex){
MyMessageBox.ShowError("Error al recuperar al cargar el pedido sugerido. </br>Error: " + ex.Message.Substring(0, ex.Message.Length < 250 ? ex.Message.Length : 250));
}
}