Ventas correcion mensaje al genrar OS
This commit is contained in:
@@ -6080,6 +6080,7 @@ Public Class ClsVentas
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "PRODEDIMIENTOS"
|
#Region "PRODEDIMIENTOS"
|
||||||
|
|
||||||
Public Function GetProcedimientos(CveProcedimiento As Integer, CveEmpresa As Integer, Estatus As Integer) As Boolean
|
Public Function GetProcedimientos(CveProcedimiento As Integer, CveEmpresa As Integer, Estatus As Integer) As Boolean
|
||||||
@@ -6302,28 +6303,6 @@ Public Class ClsVentas
|
|||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
|
|
||||||
#Region "ECOMMERCE"
|
|
||||||
Public Function GetEntregasEcommerce(FechaI As Date, FechaF As Date, CveEmpresa As Integer) As Boolean
|
|
||||||
Dim Retorno As Boolean = False
|
|
||||||
DataAdapter("PA_Vta_EntregasEcommerceGet")
|
|
||||||
|
|
||||||
With SqlAdapter.SelectCommand.Parameters
|
|
||||||
.Add("@FechaInicio", SqlDbType.Date).Value = FechaI
|
|
||||||
.Add("@FechaFin", SqlDbType.Date).Value = FechaF
|
|
||||||
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
|
||||||
End With
|
|
||||||
|
|
||||||
Try
|
|
||||||
SqlAdapter.Fill(Data)
|
|
||||||
Retorno = True
|
|
||||||
Catch ex As Exception
|
|
||||||
OnError("Ocurrió un error al obtener el Reporte de Comisiones.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
|
||||||
End Try
|
|
||||||
|
|
||||||
Return Retorno
|
|
||||||
End Function
|
|
||||||
#End Region
|
|
||||||
#Region "IDisposable Support"
|
#Region "IDisposable Support"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
|
||||||
<AutoRefresh>0</AutoRefresh>
|
<AutoRefresh>0</AutoRefresh>
|
||||||
<ReportSections>
|
<ReportSections>
|
||||||
<ReportSection>
|
<ReportSection>
|
||||||
@@ -182,21 +182,6 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</Textbox>
|
||||||
<Image Name="Logo">
|
|
||||||
<Source>Embedded</Source>
|
|
||||||
<Value>Logo</Value>
|
|
||||||
<Sizing>FitProportional</Sizing>
|
|
||||||
<Top>1.5468cm</Top>
|
|
||||||
<Left>8.2016cm</Left>
|
|
||||||
<Height>0.74287cm</Height>
|
|
||||||
<Width>1.52823cm</Width>
|
|
||||||
<ZIndex>6</ZIndex>
|
|
||||||
<Style>
|
|
||||||
<Border>
|
|
||||||
<Style>None</Style>
|
|
||||||
</Border>
|
|
||||||
</Style>
|
|
||||||
</Image>
|
|
||||||
</ReportItems>
|
</ReportItems>
|
||||||
<Height>0.92351in</Height>
|
<Height>0.92351in</Height>
|
||||||
<Style>
|
<Style>
|
||||||
@@ -235,7 +220,6 @@
|
|||||||
<Prompt>ReportParameter1</Prompt>
|
<Prompt>ReportParameter1</Prompt>
|
||||||
</ReportParameter>
|
</ReportParameter>
|
||||||
</ReportParameters>
|
</ReportParameters>
|
||||||
|
|
||||||
<EmbeddedImages>
|
<EmbeddedImages>
|
||||||
<EmbeddedImage Name="Logo">
|
<EmbeddedImage Name="Logo">
|
||||||
<MIMEType>image/jpeg</MIMEType>
|
<MIMEType>image/jpeg</MIMEType>
|
||||||
|
|||||||
@@ -35788,11 +35788,11 @@ Partial Class Ventas
|
|||||||
|
|
||||||
If CveOsDetalle > 0 Then
|
If CveOsDetalle > 0 Then
|
||||||
'MENSAJE PRINCIPAL
|
'MENSAJE PRINCIPAL
|
||||||
Dim MensajeAlertOS As New StringBuilder
|
'Dim MensajeAlertOS As New StringBuilder
|
||||||
MensajeAlertOS.AppendFormat(String.Format("<br/>La Orden de Servicio: <b>{0}</b> se generó correctamente.<br/><br/>", ObjOrdenServicio.Folio))
|
MensajeAlert.AppendFormat(String.Format("<br/>La Orden de Servicio: <b>{0}</b> se generó correctamente.<br/>", ObjOrdenServicio.Folio))
|
||||||
MensajeAlert.AppendFormat("<ul><li><a class=""Texto"" href=""/Compras/PopUpVerFactura.aspx?P={0}"">Descargar PDF</a></li></ul><br/>", Encripta(String.Format("OP=OS&CVEOS={0}", ObjOrdenServicio.CveOS)))
|
MensajeAlert.AppendFormat("<ul><li><a class=""Texto"" href=""/Compras/PopUpVerFactura.aspx?P={0}"">Descargar PDF</a></li></ul><br/>", Encripta(String.Format("OP=OS&CVEOS={0}", ObjOrdenServicio.CveOS)))
|
||||||
Dim Liga = $"document.location.href=""/OS/RepOrdenesServicios.aspx"";"
|
'Dim Liga = $"document.location.href=""/OS/RepOrdenesServicios.aspx"";"
|
||||||
Alert(MensajeAlertOS.ToString, TipoMensaje.MsgInformacion, Liga)
|
'Alert(MensajeAlertOS.ToString, TipoMensaje.MsgInformacion, Liga)
|
||||||
Else
|
Else
|
||||||
errorList.Add("Se presento un error al guardar la el detalle de la orden de servicio.")
|
errorList.Add("Se presento un error al guardar la el detalle de la orden de servicio.")
|
||||||
Errores = True
|
Errores = True
|
||||||
|
|||||||
Reference in New Issue
Block a user