.
This commit is contained in:
@@ -2152,7 +2152,7 @@ Public Class ClsVentas
|
|||||||
End Function
|
End Function
|
||||||
Public Function AddPromociones(Promocion As String, FechaInicio As Date, FechaFin As Date, CveVendedor As Integer, CveCliente As Integer, Estatus As Boolean,
|
Public Function AddPromociones(Promocion As String, FechaInicio As Date, FechaFin As Date, CveVendedor As Integer, CveCliente As Integer, Estatus As Boolean,
|
||||||
CveMoneda As Integer, CveUsuario As Integer, CveEmpresa As Integer, CveSubProyecto As Integer, TipoAplicacion As String,
|
CveMoneda As Integer, CveUsuario As Integer, CveEmpresa As Integer, CveSubProyecto As Integer, TipoAplicacion As String,
|
||||||
Optional CveMarca As Integer = -1, Optional EsDistribuidor As Integer = -1, Optional CvePromocionPadre As Integer = -1) As Integer
|
Optional CveMarca As Integer = -1, Optional EsDistribuidor As Integer = -1) As Integer
|
||||||
Dim Retorno = -1
|
Dim Retorno = -1
|
||||||
DataAdapter("PA_Vta_PromocionesAdd")
|
DataAdapter("PA_Vta_PromocionesAdd")
|
||||||
|
|
||||||
@@ -2170,7 +2170,6 @@ Public Class ClsVentas
|
|||||||
.Add("@TipoAplicacion", SqlDbType.VarChar).Value = TipoAplicacion
|
.Add("@TipoAplicacion", SqlDbType.VarChar).Value = TipoAplicacion
|
||||||
.Add("@CveMarca", SqlDbType.Int).Value = CveMarca
|
.Add("@CveMarca", SqlDbType.Int).Value = CveMarca
|
||||||
.Add("@EsDistribuidor", SqlDbType.Int).Value = EsDistribuidor
|
.Add("@EsDistribuidor", SqlDbType.Int).Value = EsDistribuidor
|
||||||
.Add("@CvePromocionPadre", SqlDbType.Int).Value = CvePromocionPadre
|
|
||||||
.Add("@CvePromocion", SqlDbType.Int).Direction = ParameterDirection.Output
|
.Add("@CvePromocion", SqlDbType.Int).Direction = ParameterDirection.Output
|
||||||
End With
|
End With
|
||||||
|
|
||||||
|
|||||||
@@ -2773,7 +2773,7 @@ Partial Class Bancos_IE
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Dim UsaComplementariaBancos As Boolean = False
|
Dim UsaComplementariaBancos As Boolean = False
|
||||||
UsaComplementariaBancos = True
|
UsaComplementariaBancos = If(UsuarioActual.CveEmpresa.Contiene(13, 83), False, True)
|
||||||
|
|
||||||
If MsgError = "" Then
|
If MsgError = "" Then
|
||||||
|
|
||||||
@@ -3706,8 +3706,16 @@ Partial Class Bancos_IE
|
|||||||
IDCtaBeneficiario = IdCtaAnticipoExtranjera
|
IDCtaBeneficiario = IdCtaAnticipoExtranjera
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Dim Importe30 As Decimal = TxtImporte.Text.ToDecimal
|
||||||
|
|
||||||
|
If Not UsaComplementariaBancos AndAlso tCveMoneda > 1 Then
|
||||||
|
Importe30 = TxtImporte.Text.ToDecimal + (TxtImporte.Text.ToDecimal * TxtTipoCambio.Text.ToDecimal - TxtImporte.Text.ToDecimal).RoundSQL()
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
'MOVIMIENTOS EGRESOS
|
'MOVIMIENTOS EGRESOS
|
||||||
If ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, TxtImporte.Text.ToDecimal, Ref, CveConceptoContable, Conc, Now, IDCtaContable, -1, CveIE, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveOC:=CveOrdenCompra, CvePersonal:=CvePersonal, CveCreditoDetalle:=CveCreditoDetalle, CveCliente:=CveCliente, ImporteMX:=TxtImporte.Text.ToDecimal, ImporteME:=tImporteMonedaExtranjera, CveIEDevolucion:=DDlCheques.SelectedValue.ToEntero) Then
|
If ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, TxtImporte.Text.ToDecimal, Ref, CveConceptoContable, Conc, Now, IDCtaContable, -1, CveIE, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveOC:=CveOrdenCompra, CvePersonal:=CvePersonal, CveCreditoDetalle:=CveCreditoDetalle, CveCliente:=CveCliente, ImporteMX:=Importe30, ImporteME:=tImporteMonedaExtranjera, CveIEDevolucion:=DDlCheques.SelectedValue.ToEntero) Then
|
||||||
Dim IVA As Decimal = 0 ' TxtImporte.Text.ToDouble * HdnProvPorIVA.Value.ToDouble
|
Dim IVA As Decimal = 0 ' TxtImporte.Text.ToDouble * HdnProvPorIVA.Value.ToDouble
|
||||||
If ObjMov.AddPrePolizasDetalle(CvePrePoliza, Not TipoMovimiento, TxtImporte.Text.ToDecimal - IVA - CIF, Ref, CveConceptoCompra, Conc, Now, IDCtaBeneficiario, -1, CveIE, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveOC:=CveOrdenCompra, CvePersonal:=CvePersonal, CveCreditoDetalle:=CveCreditoDetalle, CveCliente:=CveCliente, ImporteMX:=If(UsaComplementariaBancos, TxtImporte.Text.ToDecimal, tImporteMonedaExtranjera), ImporteME:=TxtImporte.Text.ToDecimal, CveIEDevolucion:=DdlIEAcreedor.SelectedValue.ToEntero) Then
|
If ObjMov.AddPrePolizasDetalle(CvePrePoliza, Not TipoMovimiento, TxtImporte.Text.ToDecimal - IVA - CIF, Ref, CveConceptoCompra, Conc, Now, IDCtaBeneficiario, -1, CveIE, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveOC:=CveOrdenCompra, CvePersonal:=CvePersonal, CveCreditoDetalle:=CveCreditoDetalle, CveCliente:=CveCliente, ImporteMX:=If(UsaComplementariaBancos, TxtImporte.Text.ToDecimal, tImporteMonedaExtranjera), ImporteME:=TxtImporte.Text.ToDecimal, CveIEDevolucion:=DdlIEAcreedor.SelectedValue.ToEntero) Then
|
||||||
If IVA > 0 AndAlso Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, False, IVA, Ref, 19, Conc, Now, IDCtaBeneficiario, -1, CveIE, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveOC:=CveOrdenCompra, CvePersonal:=CvePersonal, CveCreditoDetalle:=CveCreditoDetalle, CveCliente:=CveCliente, ImporteMX:=TxtImporte.Text.ToDecimal, ImporteME:=tImporteMonedaExtranjera, CveIEDevolucion:=DDlCheques.SelectedValue.ToEntero) Then
|
If IVA > 0 AndAlso Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, False, IVA, Ref, 19, Conc, Now, IDCtaBeneficiario, -1, CveIE, CveCompra:=CveCompra, CveProveedor:=CveProveedor, CveOC:=CveOrdenCompra, CvePersonal:=CvePersonal, CveCreditoDetalle:=CveCreditoDetalle, CveCliente:=CveCliente, ImporteMX:=TxtImporte.Text.ToDecimal, ImporteME:=tImporteMonedaExtranjera, CveIEDevolucion:=DDlCheques.SelectedValue.ToEntero) Then
|
||||||
@@ -3725,7 +3733,7 @@ Partial Class Bancos_IE
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
'BANCOS COMPLEMENTARIA
|
'BANCOS COMPLEMENTARIA
|
||||||
If tCveMoneda > 1 Then
|
If tCveMoneda > 1 And UsaComplementariaBancos Then
|
||||||
Dim ImporteAplicar As Decimal = TxtImporte.Text.ToDecimal
|
Dim ImporteAplicar As Decimal = TxtImporte.Text.ToDecimal
|
||||||
Dim ImporteAplicarMN = (ImporteAplicar * TxtTipoCambio.Text.ToDecimal - ImporteAplicar).RoundSQL()
|
Dim ImporteAplicarMN = (ImporteAplicar * TxtTipoCambio.Text.ToDecimal - ImporteAplicar).RoundSQL()
|
||||||
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, ImporteAplicar, Ref, 204, Conc, Now, IDCtaContableComplementaria, -1, CveIE, CveCompra:=CveCompraDeCDin, CveProveedor:=CveProveedor, ImporteMX:=ImporteAplicarMN, ImporteME:=ImporteAplicar, TipoCambio:=TxtTipoCambio.Text.ToDecimal) Then
|
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, ImporteAplicar, Ref, 204, Conc, Now, IDCtaContableComplementaria, -1, CveIE, CveCompra:=CveCompraDeCDin, CveProveedor:=CveProveedor, ImporteMX:=ImporteAplicarMN, ImporteME:=ImporteAplicar, TipoCambio:=TxtTipoCambio.Text.ToDecimal) Then
|
||||||
|
|||||||
@@ -3442,7 +3442,7 @@ Partial Class Bancos_PopIECompras
|
|||||||
|
|
||||||
Protected Sub CVTxtImporte_ServerValidate(source As Object, args As ServerValidateEventArgs)
|
Protected Sub CVTxtImporte_ServerValidate(source As Object, args As ServerValidateEventArgs)
|
||||||
|
|
||||||
Dim Saldo As Decimal = LtlSaldo.Text.Replace("USD", "").Replace(",", "").ToDecimal
|
Dim Saldo As Decimal = LtlSaldo.Text.Replace("USD", "").Replace("MXN", "").Replace(",", "").ToDecimal
|
||||||
Dim ImportePagado As Decimal = TxtImporte.Text.ToDecimal
|
Dim ImportePagado As Decimal = TxtImporte.Text.ToDecimal
|
||||||
|
|
||||||
If ChkPagarPesos.Checked Then
|
If ChkPagarPesos.Checked Then
|
||||||
|
|||||||
@@ -253,7 +253,8 @@ Partial Class Bancos_Transferencias
|
|||||||
|
|
||||||
If CveMonedaOrigen = 1 AndAlso CveMonedaDestino <> 1 Then
|
If CveMonedaOrigen = 1 AndAlso CveMonedaDestino <> 1 Then
|
||||||
'pesos a otra moneda se divide
|
'pesos a otra moneda se divide
|
||||||
ImporteMXDestino = Math.Round(TxtImporte.Text.Trim.ToDouble / TxtTipoCambio.Text.ToDouble, 2)
|
ImporteDestino = Math.Round(TxtImporte.Text.Trim.ToDouble / TxtTipoCambio.Text.ToDouble, 2)
|
||||||
|
ImporteMXDestino = TxtImporte.Text.Trim.ToDouble
|
||||||
ElseIf CveMonedaOrigen <> 1 AndAlso CveMonedaDestino = 1 Then
|
ElseIf CveMonedaOrigen <> 1 AndAlso CveMonedaDestino = 1 Then
|
||||||
'de otra moneda a pesos se multiplica
|
'de otra moneda a pesos se multiplica
|
||||||
ImporteDestino = Math.Round(TxtImporte.Text.Trim.ToDouble * TxtTipoCambio.Text.ToDouble, 2)
|
ImporteDestino = Math.Round(TxtImporte.Text.Trim.ToDouble * TxtTipoCambio.Text.ToDouble, 2)
|
||||||
@@ -269,6 +270,7 @@ Partial Class Bancos_Transferencias
|
|||||||
TipoCambio = TxtTipoCambio.Text.ToDouble 'GlobalTipoCambio(TxtFechaDocumento.Text.ToDate)
|
TipoCambio = TxtTipoCambio.Text.ToDouble 'GlobalTipoCambio(TxtFechaDocumento.Text.ToDate)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
Dim CvePrePoliza As Integer = ObjMov.AddPrePolizas("Bancos/Transferencias", 13, TxtImporte.Text.Trim.ToDouble, TxtImporte.Text.Trim.ToDouble, CveMonedaOrigen, TxtFechaDocumento.Text.ToDate, $"Transferencia entre cuentas {TxtObservaciones.Text}", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
Dim CvePrePoliza As Integer = ObjMov.AddPrePolizas("Bancos/Transferencias", 13, TxtImporte.Text.Trim.ToDouble, TxtImporte.Text.Trim.ToDouble, CveMonedaOrigen, TxtFechaDocumento.Text.ToDate, $"Transferencia entre cuentas {TxtObservaciones.Text}", UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||||
|
|
||||||
If UsuarioActual.CveEmpresa = 48 Then
|
If UsuarioActual.CveEmpresa = 48 Then
|
||||||
@@ -363,11 +365,21 @@ Partial Class Bancos_Transferencias
|
|||||||
If RBLOpcion.SelectedValue = "2" Then TipoMovtoDetalle = False ' cuando sea un reembolso/devoluci<63>n, es ingreso a bancos
|
If RBLOpcion.SelectedValue = "2" Then TipoMovtoDetalle = False ' cuando sea un reembolso/devoluci<63>n, es ingreso a bancos
|
||||||
Dim TC As Decimal = TxtTipoCambio.Text.ToDecimal
|
Dim TC As Decimal = TxtTipoCambio.Text.ToDecimal
|
||||||
|
|
||||||
If ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovtoDetalle, TxtImporte.Text.ToDouble, $"Transferencia entre cuentas {TxtObservaciones.Text}", 30, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IdCtaContableOrigen, -1, CveIE, ImporteMX:=If(UsuarioActual.CveEmpresa = 119, TxtImporte.Text.ToDouble, ImporteMXOrigen), ImporteME:=If(CveMonedaOrigen > 1, TxtImporte.Text.ToDouble * TC, 0), CveCuenta:=CveCuentaOrigen, CveIEDevolucion:=CveIEDevolucion) Then
|
If ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovtoDetalle,
|
||||||
If CveMonedaOrigen > 1 AndAlso UsuarioActual.CveEmpresa = 119 Then
|
TxtImporte.Text.ToDouble, $"Transferencia entre cuentas {TxtObservaciones.Text}", 30, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IdCtaContableOrigen, -1, CveIE,
|
||||||
|
ImporteMX:=If(Not UsuarioActual.CveEmpresa.Contiene(13, 83), TxtImporte.Text.ToDouble, ImporteMXOrigen),
|
||||||
|
ImporteME:=If(CveMonedaOrigen > 1, TxtImporte.Text.ToDouble * TC, 0),
|
||||||
|
CveCuenta:=CveCuentaOrigen,
|
||||||
|
CveIEDevolucion:=CveIEDevolucion) Then
|
||||||
|
|
||||||
|
If CveMonedaOrigen > 1 AndAlso Not UsuarioActual.CveEmpresa.Contiene(13, 83) Then
|
||||||
'Agregamos complementaria
|
'Agregamos complementaria
|
||||||
|
|
||||||
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovtoDetalle, 0, $"Transferencia entre cuentas {TxtObservaciones.Text}", 204, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IDCtaContableComplementariaOrigen, -1, CveIE:=CveIE, ImporteMX:=(TxtImporte.Text.ToDouble * TC - TxtImporte.Text.ToDouble).RoundSQL, ImporteME:=TxtImporte.Text.ToDouble, TipoCambio:=TC) Then
|
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, TipoMovtoDetalle,
|
||||||
|
0, $"Transferencia entre cuentas {TxtObservaciones.Text}", 204, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IDCtaContableComplementariaOrigen, -1, CveIE:=CveIE,
|
||||||
|
ImporteMX:=(TxtImporte.Text.ToDouble * TC - TxtImporte.Text.ToDouble).RoundSQL,
|
||||||
|
ImporteME:=TxtImporte.Text.ToDouble,
|
||||||
|
TipoCambio:=TC) Then
|
||||||
MsgError = "Ocurri<EFBFBD> un error al registrar el asiento del ingreso."
|
MsgError = "Ocurri<EFBFBD> un error al registrar el asiento del ingreso."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -385,13 +397,20 @@ Partial Class Bancos_Transferencias
|
|||||||
|
|
||||||
'Agregamos la contraria a bancos cuando es cuenta
|
'Agregamos la contraria a bancos cuando es cuenta
|
||||||
Else
|
Else
|
||||||
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, Not TipoMovtoDetalle, ImporteDestino, $"Transferencia entre cuentas {TxtObservaciones.Text}", 30, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IdCtaContableDestino, -1, CveIEDestino, ImporteMX:=If(UsuarioActual.CveEmpresa = 119, ImporteDestino, ImporteMXDestino), ImporteME:=If(CveMonedaDestino > 1, TxtImporte.Text.ToDouble * TC, 0)) Then
|
|
||||||
|
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, Not TipoMovtoDetalle,
|
||||||
|
ImporteDestino, $"Transferencia entre cuentas {TxtObservaciones.Text}", 30, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IdCtaContableDestino, -1, CveIEDestino,
|
||||||
|
ImporteMX:=If(Not UsuarioActual.CveEmpresa.Contiene(13, 83), ImporteDestino, ImporteMXDestino),
|
||||||
|
ImporteME:=If(CveMonedaDestino > 1, ImporteDestino, 0), CveCuenta:=CveCuentaDestino) Then
|
||||||
MsgError = "Ocurrio un error al ingresar la prepoliza"
|
MsgError = "Ocurrio un error al ingresar la prepoliza"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If CveMonedaDestino > 1 AndAlso UsuarioActual.CveEmpresa = 119 Then
|
If CveMonedaDestino > 1 AndAlso Not UsuarioActual.CveEmpresa.Contiene(13, 83) Then
|
||||||
'Agregamos complementaria
|
'Agregamos complementaria
|
||||||
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, Not TipoMovtoDetalle, 0, $"Transferencia entre cuentas {TxtObservaciones.Text}", 204, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IDCtaContableComplementariaDestino, -1, CveIE:=CveIEDestino, ImporteMX:=(TxtImporte.Text.ToDouble * TC - TxtImporte.Text.ToDouble).RoundSQL, ImporteME:=TxtImporte.Text.ToDouble, TipoCambio:=TC) Then
|
If Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, Not TipoMovtoDetalle,
|
||||||
|
0, $"Transferencia entre cuentas {TxtObservaciones.Text}", 204, $"Transferencia entre cuentas {TxtObservaciones.Text}", Now, IDCtaContableComplementariaDestino, -1, CveIE:=CveIEDestino,
|
||||||
|
ImporteMX:=(ImporteMXDestino - ImporteDestino).RoundSQL,
|
||||||
|
ImporteME:=ImporteDestino, TipoCambio:=TC) Then
|
||||||
MsgError = "Ocurri<EFBFBD> un error al registrar el asiento del ingreso."
|
MsgError = "Ocurri<EFBFBD> un error al registrar el asiento del ingreso."
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
@@ -7412,11 +7412,12 @@ Partial Class Compras_Compras
|
|||||||
Else
|
Else
|
||||||
|
|
||||||
Dim usacomplementariaAnticipo As Boolean = False
|
Dim usacomplementariaAnticipo As Boolean = False
|
||||||
usacomplementariaAnticipo = If(Ant.TCCompra > 1, True, False)
|
usacomplementariaAnticipo = If(Ant.TCCompra > 1 And not UsuarioActual.CveEmpresa.Contiene(13,83), True, False)
|
||||||
Dim TipoCambioAnt As Decimal = Ant.TCCompra
|
Dim TipoCambioAnt As Decimal = Ant.TCCompra
|
||||||
|
|
||||||
Dim ImporteAnt As Decimal = importeMovimiento
|
Dim ImporteAnt As Decimal = importeMovimiento
|
||||||
Dim ImporteAntMN As Decimal = ImporteAnt * TipoCambioAnt
|
Dim ImporteAntMN As Decimal = ImporteAnt * TipoCambioAnt
|
||||||
|
|
||||||
If usacomplementariaAnticipo Then
|
If usacomplementariaAnticipo Then
|
||||||
IdCtaContable = CtaProveedorAnticiposComplementaria
|
IdCtaContable = CtaProveedorAnticiposComplementaria
|
||||||
ImporteAntMN = TipoCambioAnt * ImporteAnt - ImporteAnt
|
ImporteAntMN = TipoCambioAnt * ImporteAnt - ImporteAnt
|
||||||
@@ -7436,6 +7437,11 @@ Partial Class Compras_Compras
|
|||||||
|
|
||||||
'Dim ImporComisionAnticipo As Decimal = Ant.ImporteComision
|
'Dim ImporComisionAnticipo As Decimal = Ant.ImporteComision
|
||||||
'Dim importeMNComision As Decimal = ImporComisionAnticipo * tipoCambioActual * Multiplicador
|
'Dim importeMNComision As Decimal = ImporComisionAnticipo * tipoCambioActual * Multiplicador
|
||||||
|
|
||||||
|
If Not usacomplementariaAnticipo Then
|
||||||
|
ImporteAntMN = TipoCambioAnt * ImporteAnt
|
||||||
|
End If
|
||||||
|
|
||||||
If ImporComisionAnticipo = 0 Then
|
If ImporComisionAnticipo = 0 Then
|
||||||
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, ImporteAnt, Referencia, ConceptoContableAnticipo, Concepto, FechaMovimiento, IdCtaContable, -1, CveCompra:=CveCompraNC, CveCompraAmortizacion:=CveCompra, CveProveedor:=CveProveedorLocal, CveIE:=Ant.CveIE, ImporteMX:=ImporteAntMN, ImporteME:=If(tipoCambioActual = 1, 0, ImporteAnt), TipoCambio:=TipoCambioAnt, Contabilizable:=SeContabiliza) Then
|
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, ImporteAnt, Referencia, ConceptoContableAnticipo, Concepto, FechaMovimiento, IdCtaContable, -1, CveCompra:=CveCompraNC, CveCompraAmortizacion:=CveCompra, CveProveedor:=CveProveedorLocal, CveIE:=Ant.CveIE, ImporteMX:=ImporteAntMN, ImporteME:=If(tipoCambioActual = 1, 0, ImporteAnt), TipoCambio:=TipoCambioAnt, Contabilizable:=SeContabiliza) Then
|
||||||
ErrorPrepoliza = True
|
ErrorPrepoliza = True
|
||||||
|
|||||||
@@ -1,5 +1,342 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/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>
|
||||||
|
<DataSources>
|
||||||
|
<DataSource Name="DsOC">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>06ae5329-8ff5-42b5-b7f4-6d68e5186420</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
<DataSource Name="DataSet2">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>3fde81d4-b9ca-4175-9160-5293ca8b9aa9</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
<DataSource Name="DsFirmas">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
<DataSource Name="DsDesgloseImpuestos">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
<DataSource Name="DsDocumentosRelacionados">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
<DataSource Name="DsNCVinculadas">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
</DataSources>
|
||||||
|
<DataSets>
|
||||||
|
<DataSet Name="DsOC">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DsOC</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="ImporteIEPS">
|
||||||
|
<DataField>ImporteIEPS</DataField>
|
||||||
|
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="ImporteIVA">
|
||||||
|
<DataField>ImporteIVA</DataField>
|
||||||
|
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="PorcentajeIEPS">
|
||||||
|
<DataField>PorcentajeIEPS</DataField>
|
||||||
|
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="PorcentajeIVA">
|
||||||
|
<DataField>PorcentajeIVA</DataField>
|
||||||
|
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Cantidad">
|
||||||
|
<DataField>Cantidad</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="CveUnidadMedida">
|
||||||
|
<DataField>CveUnidadMedida</DataField>
|
||||||
|
<rd:TypeName>System.Int64</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Abreviatura">
|
||||||
|
<DataField>Abreviatura</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="PS">
|
||||||
|
<DataField>PS</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="CveClasificacion">
|
||||||
|
<DataField>CveClasificacion</DataField>
|
||||||
|
<rd:TypeName>System.Int64</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Clasificacion">
|
||||||
|
<DataField>Clasificacion</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="CveActivoFijo">
|
||||||
|
<DataField>CveActivoFijo</DataField>
|
||||||
|
<rd:TypeName>System.Int64</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Codigo">
|
||||||
|
<DataField>Codigo</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="TipoDato">
|
||||||
|
<DataField>TipoDato</DataField>
|
||||||
|
<rd:TypeName>System.Int64</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="CodigoAF">
|
||||||
|
<DataField>CodigoAF</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="CodigoPS">
|
||||||
|
<DataField>CodigoPS</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="UnidadMedida">
|
||||||
|
<DataField>UnidadMedida</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Importe">
|
||||||
|
<DataField>Importe</DataField>
|
||||||
|
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Total">
|
||||||
|
<DataField>Total</DataField>
|
||||||
|
<rd:TypeName>System.Decimal</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="UM">
|
||||||
|
<DataField>UM</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Obs">
|
||||||
|
<DataField>Obs</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="SubProyecto">
|
||||||
|
<DataField>SubProyecto</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="PU">
|
||||||
|
<DataField>PU</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Descuento">
|
||||||
|
<DataField>Descuento</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Marca">
|
||||||
|
<DataField>Marca</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="SATClaveProdServ">
|
||||||
|
<DataField>SATClaveProdServ</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="CodigoObjetoImpuesto">
|
||||||
|
<DataField>CodigoObjetoImpuesto</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DsOC</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\Users\Orlando Bojorquez\Documents\Visual Studio 2013\WebSites\WebSite1\App_Code\DsOC.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DtOCDetalle</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
<DataSet Name="DataSet1">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DataSet2</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="ImpuestoLocal">
|
||||||
|
<DataField>ImpuestoLocal</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Importe">
|
||||||
|
<DataField>Importe</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Nombre">
|
||||||
|
<DataField>Nombre</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="ImporteT">
|
||||||
|
<DataField>ImporteT</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Orden">
|
||||||
|
<DataField>Orden</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DataSet2</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\Users\jesus\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DataSet2.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DataTable1</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
<DataSet Name="DataSet2">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DsFirmas</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="Titulo">
|
||||||
|
<DataField>Titulo</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Nombre">
|
||||||
|
<DataField>Nombre</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Puesto">
|
||||||
|
<DataField>Puesto</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Lado">
|
||||||
|
<DataField>Lado</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DsFirmas</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DataTable1</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
<DataSet Name="DataSet3">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DsDesgloseImpuestos</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="Impuesto">
|
||||||
|
<DataField>Impuesto</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="tasa">
|
||||||
|
<DataField>tasa</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Importe">
|
||||||
|
<DataField>Importe</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Orden">
|
||||||
|
<DataField>Orden</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DsDesgloseImpuestos</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DataTable1</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
<DataSet Name="DataSet4">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DsDesgloseImpuestos</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="SerieFolio">
|
||||||
|
<DataField>SerieFolio</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Fecha">
|
||||||
|
<DataField>Fecha</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Importe">
|
||||||
|
<DataField>Importe</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="FolioFiscal">
|
||||||
|
<DataField>FolioFiscal</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DsDocumentosRelacionados</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DataTable1</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
<DataSet Name="DataSet5">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DsDesgloseImpuestos</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="SerieFolio">
|
||||||
|
<DataField>SerieFolio</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Fecha">
|
||||||
|
<DataField>Fecha</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="SubTotal">
|
||||||
|
<DataField>SubTotal</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Importe">
|
||||||
|
<DataField>Importe</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Moneda">
|
||||||
|
<DataField>Moneda</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DsNCVinculadas</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DataTable1</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
</DataSets>
|
||||||
|
<ReportSections>
|
||||||
|
<ReportSection>
|
||||||
<Body>
|
<Body>
|
||||||
<ReportItems>
|
<ReportItems>
|
||||||
<Textbox Name="Textbox20">
|
<Textbox Name="Textbox20">
|
||||||
@@ -1049,13 +1386,16 @@
|
|||||||
<Width>0.54927in</Width>
|
<Width>0.54927in</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>0.826in</Width>
|
<Width>0.74976in</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>0.8527in</Width>
|
<Width>0.76555in</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>3.41945in</Width>
|
<Width>3.107in</Width>
|
||||||
|
</TablixColumn>
|
||||||
|
<TablixColumn>
|
||||||
|
<Width>0.63292in</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>0.57354in</Width>
|
<Width>0.57354in</Width>
|
||||||
@@ -1064,7 +1404,7 @@
|
|||||||
<Width>0.59047in</Width>
|
<Width>0.59047in</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>0.61967in</Width>
|
<Width>0.45526in</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>0.79194in</Width>
|
<Width>0.79194in</Width>
|
||||||
@@ -1222,6 +1562,43 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Textbox22">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>Obj. Imp.</Value>
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Calibri</FontFamily>
|
||||||
|
<FontSize>9.5pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
<Color>White</Color>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style>
|
||||||
|
<TextAlign>Center</TextAlign>
|
||||||
|
</Style>
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox22</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<BackgroundColor>#3a4173</BackgroundColor>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
<TablixCell>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="Textbox3">
|
<Textbox Name="Textbox3">
|
||||||
@@ -1373,7 +1750,7 @@
|
|||||||
</TablixCells>
|
</TablixCells>
|
||||||
</TablixRow>
|
</TablixRow>
|
||||||
<TablixRow>
|
<TablixRow>
|
||||||
<Height>0.14436in</Height>
|
<Height>0.167in</Height>
|
||||||
<TablixCells>
|
<TablixCells>
|
||||||
<TablixCell>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
@@ -1514,6 +1891,39 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="CodigoObjetoImpuesto">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>=Fields!CodigoObjetoImpuesto.Value</Value>
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Calibri</FontFamily>
|
||||||
|
<FontSize>7.5pt</FontSize>
|
||||||
|
<FontWeight>Normal</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>CodigoObjetoImpuesto</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
<TablixCell>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="PU">
|
<Textbox Name="PU">
|
||||||
@@ -1620,6 +2030,7 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</Textbox>
|
||||||
|
<rd:Selected>true</rd:Selected>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</TablixCell>
|
||||||
<TablixCell>
|
<TablixCell>
|
||||||
@@ -1631,7 +2042,7 @@
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>=(Fields!Cantidad.Value * Fields!PU.Value) - Fields!Descuento.Value</Value>
|
<Value>=(Fields!Cantidad.Value * Fields!PU.Value) - Fields!Descuento.Value + Fields!ImporteIVA.Value</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontFamily>Calibri</FontFamily>
|
<FontFamily>Calibri</FontFamily>
|
||||||
<FontSize>7.5pt</FontSize>
|
<FontSize>7.5pt</FontSize>
|
||||||
@@ -1673,6 +2084,7 @@
|
|||||||
<TablixMember />
|
<TablixMember />
|
||||||
<TablixMember />
|
<TablixMember />
|
||||||
<TablixMember />
|
<TablixMember />
|
||||||
|
<TablixMember />
|
||||||
</TablixMembers>
|
</TablixMembers>
|
||||||
</TablixColumnHierarchy>
|
</TablixColumnHierarchy>
|
||||||
<TablixRowHierarchy>
|
<TablixRowHierarchy>
|
||||||
@@ -1688,8 +2100,8 @@
|
|||||||
<DataSetName>DsOC</DataSetName>
|
<DataSetName>DsOC</DataSetName>
|
||||||
<Top>2.25503in</Top>
|
<Top>2.25503in</Top>
|
||||||
<Left>0.05854in</Left>
|
<Left>0.05854in</Left>
|
||||||
<Height>0.34081in</Height>
|
<Height>0.36345in</Height>
|
||||||
<Width>8.22304in</Width>
|
<Width>8.21572in</Width>
|
||||||
<ZIndex>5</ZIndex>
|
<ZIndex>5</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -3696,7 +4108,7 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</Style>
|
</Style>
|
||||||
</Body>
|
</Body>
|
||||||
<Width>21.1673cm</Width>
|
<Width>21.03521cm</Width>
|
||||||
<Page>
|
<Page>
|
||||||
<PageFooter>
|
<PageFooter>
|
||||||
<Height>0.5327cm</Height>
|
<Height>0.5327cm</Height>
|
||||||
@@ -3793,337 +4205,8 @@
|
|||||||
<ColumnSpacing>1.27cm</ColumnSpacing>
|
<ColumnSpacing>1.27cm</ColumnSpacing>
|
||||||
<Style />
|
<Style />
|
||||||
</Page>
|
</Page>
|
||||||
<AutoRefresh>0</AutoRefresh>
|
</ReportSection>
|
||||||
<DataSources>
|
</ReportSections>
|
||||||
<DataSource Name="DsOC">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>06ae5329-8ff5-42b5-b7f4-6d68e5186420</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
<DataSource Name="DataSet2">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>3fde81d4-b9ca-4175-9160-5293ca8b9aa9</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
<DataSource Name="DsFirmas">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
<DataSource Name="DsDesgloseImpuestos">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
<DataSource Name="DsDocumentosRelacionados">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
<DataSource Name="DsNCVinculadas">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>c220a38d-e45b-4e04-917e-7dfd9cc3345f</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
</DataSources>
|
|
||||||
<DataSets>
|
|
||||||
<DataSet Name="DsOC">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DsOC</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="ImporteIEPS">
|
|
||||||
<DataField>ImporteIEPS</DataField>
|
|
||||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="ImporteIVA">
|
|
||||||
<DataField>ImporteIVA</DataField>
|
|
||||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="PorcentajeIEPS">
|
|
||||||
<DataField>PorcentajeIEPS</DataField>
|
|
||||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="PorcentajeIVA">
|
|
||||||
<DataField>PorcentajeIVA</DataField>
|
|
||||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Cantidad">
|
|
||||||
<DataField>Cantidad</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="CveUnidadMedida">
|
|
||||||
<DataField>CveUnidadMedida</DataField>
|
|
||||||
<rd:TypeName>System.Int64</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Abreviatura">
|
|
||||||
<DataField>Abreviatura</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="PS">
|
|
||||||
<DataField>PS</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="CveClasificacion">
|
|
||||||
<DataField>CveClasificacion</DataField>
|
|
||||||
<rd:TypeName>System.Int64</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Clasificacion">
|
|
||||||
<DataField>Clasificacion</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="CveActivoFijo">
|
|
||||||
<DataField>CveActivoFijo</DataField>
|
|
||||||
<rd:TypeName>System.Int64</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Codigo">
|
|
||||||
<DataField>Codigo</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="TipoDato">
|
|
||||||
<DataField>TipoDato</DataField>
|
|
||||||
<rd:TypeName>System.Int64</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="CodigoAF">
|
|
||||||
<DataField>CodigoAF</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="CodigoPS">
|
|
||||||
<DataField>CodigoPS</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="UnidadMedida">
|
|
||||||
<DataField>UnidadMedida</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Importe">
|
|
||||||
<DataField>Importe</DataField>
|
|
||||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Total">
|
|
||||||
<DataField>Total</DataField>
|
|
||||||
<rd:TypeName>System.Decimal</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="UM">
|
|
||||||
<DataField>UM</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Obs">
|
|
||||||
<DataField>Obs</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="SubProyecto">
|
|
||||||
<DataField>SubProyecto</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="PU">
|
|
||||||
<DataField>PU</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Descuento">
|
|
||||||
<DataField>Descuento</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Marca">
|
|
||||||
<DataField>Marca</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="SATClaveProdServ">
|
|
||||||
<DataField>SATClaveProdServ</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DsOC</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\Users\Orlando Bojorquez\Documents\Visual Studio 2013\WebSites\WebSite1\App_Code\DsOC.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DtOCDetalle</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
<DataSet Name="DataSet1">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DataSet2</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="ImpuestoLocal">
|
|
||||||
<DataField>ImpuestoLocal</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Importe">
|
|
||||||
<DataField>Importe</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Nombre">
|
|
||||||
<DataField>Nombre</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="ImporteT">
|
|
||||||
<DataField>ImporteT</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Orden">
|
|
||||||
<DataField>Orden</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DataSet2</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\Users\jesus\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DataSet2.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DataTable1</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
<DataSet Name="DataSet2">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DsFirmas</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="Titulo">
|
|
||||||
<DataField>Titulo</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Nombre">
|
|
||||||
<DataField>Nombre</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Puesto">
|
|
||||||
<DataField>Puesto</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Lado">
|
|
||||||
<DataField>Lado</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DsFirmas</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DataTable1</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
<DataSet Name="DataSet3">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DsDesgloseImpuestos</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="Impuesto">
|
|
||||||
<DataField>Impuesto</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="tasa">
|
|
||||||
<DataField>tasa</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Importe">
|
|
||||||
<DataField>Importe</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Orden">
|
|
||||||
<DataField>Orden</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DsDesgloseImpuestos</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DataTable1</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
<DataSet Name="DataSet4">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DsDesgloseImpuestos</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="SerieFolio">
|
|
||||||
<DataField>SerieFolio</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Fecha">
|
|
||||||
<DataField>Fecha</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Importe">
|
|
||||||
<DataField>Importe</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="FolioFiscal">
|
|
||||||
<DataField>FolioFiscal</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DsDocumentosRelacionados</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DataTable1</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
<DataSet Name="DataSet5">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DsDesgloseImpuestos</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="SerieFolio">
|
|
||||||
<DataField>SerieFolio</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Fecha">
|
|
||||||
<DataField>Fecha</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="SubTotal">
|
|
||||||
<DataField>SubTotal</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Importe">
|
|
||||||
<DataField>Importe</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Moneda">
|
|
||||||
<DataField>Moneda</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DsNCVinculadas</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\Users\Jesus Murua\Documents\Visual Studio 2015\WebSites\WebSite2\App_Code\DsFirmas.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DataTable1</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
</DataSets>
|
|
||||||
<ReportParameters>
|
<ReportParameters>
|
||||||
<ReportParameter Name="ClienteCodigo">
|
<ReportParameter Name="ClienteCodigo">
|
||||||
<DataType>String</DataType>
|
<DataType>String</DataType>
|
||||||
|
|||||||
@@ -293,6 +293,24 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
|
||||||
|
Private Property CargaBitacora As Boolean
|
||||||
|
Get
|
||||||
|
|
||||||
|
If ViewState("CargaBitacora") Is Nothing Then
|
||||||
|
ViewState("CargaBitacora") = False
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return Boolean.Parse(ViewState("CargaBitacora").ToString)
|
||||||
|
End Get
|
||||||
|
Set(value As Boolean)
|
||||||
|
ViewState("CargaBitacora") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
||||||
@@ -932,7 +950,11 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
'SugerirFecha()
|
'SugerirFecha()
|
||||||
If DdlAlmacen.SelectedValue.ToEntero > 0 And CveVentaSurtir > 0 Then
|
If DdlAlmacen.SelectedValue.ToEntero > 0 And CveVentaSurtir > 0 Then
|
||||||
CargaVentaPorSurtir(CveVentaSurtir, CveAlmacen:=DdlAlmacen.SelectedValue.ToEntero)
|
CargaVentaPorSurtir(CveVentaSurtir, CveAlmacen:=DdlAlmacen.SelectedValue.ToEntero)
|
||||||
' SugiereLoteCaducidad(DdlAlmacen.SelectedValue.ToEntero)
|
|
||||||
|
If CargaBitacora Then
|
||||||
|
CargaBitacoraSerie()
|
||||||
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
GvDatos.DataSource = DtDatos
|
GvDatos.DataSource = DtDatos
|
||||||
@@ -1283,26 +1305,26 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
|
|
||||||
|
|
||||||
'Valida Existencia
|
'Valida Existencia
|
||||||
If TipoMovimiento = 1 Then
|
'If TipoMovimiento = 1 Then
|
||||||
Dim ObjInventarios As New ClsInventarios
|
' Dim ObjInventarios As New ClsInventarios
|
||||||
Dim Existencia = ObjInventarios.GetExistenciasPS(CvePSSerie, CveUMSerie, UsuarioActual.CveEmpresa, DdlAlmacen.SelectedValue.ToEntero(), FechaMovto:=TxtFecha.Text.ToDateTime.ToString("yyyy/MM/dd HH:mm"), Serie:=Serie, CveVendedor:=CveVendedor, CveSubProyecto:=CveSubProyecto, CveCliente:=If(UsuarioActual.Empresa.Funcionalidad(146) = "1", -1, CveCliente), ExcluyeApartados:=If(TipoEntrega = 2, 1, -1))
|
' Dim Existencia = ObjInventarios.GetExistenciasPS(CvePSSerie, CveUMSerie, UsuarioActual.CveEmpresa, DdlAlmacen.SelectedValue.ToEntero(), FechaMovto:=TxtFecha.Text.ToDateTime.ToString("yyyy/MM/dd HH:mm"), Serie:=Serie, CveVendedor:=CveVendedor, CveSubProyecto:=CveSubProyecto, CveCliente:=If(UsuarioActual.Empresa.Funcionalidad(146) = "1", -1, CveCliente), ExcluyeApartados:=If(TipoEntrega = 2, 1, -1))
|
||||||
If Existencia < 1 Then
|
' If Existencia < 1 Then
|
||||||
Alert($"No hay existencia suficiente del producto <b>""{PSSerie}""</b> con la Serie definida <b>""{Serie}""</b>. Por favor rectifique y vuelva a intentar", TipoMensaje.MsgAdvertencia, If(Tipo = 2, "window.setTimeout(Focus,200);", ""))
|
' Alert($"No hay existencia suficiente del producto <b>""{PSSerie}""</b> con la Serie definida <b>""{Serie}""</b>. Por favor rectifique y vuelva a intentar", TipoMensaje.MsgAdvertencia, If(Tipo = 2, "window.setTimeout(Focus,200);", ""))
|
||||||
RegistraScript("playsonidito('142608__autistic-lucario__error.wav')", "Error2")
|
' RegistraScript("playsonidito('142608__autistic-lucario__error.wav')", "Error2")
|
||||||
ObjInventarios.Dispose()
|
' ObjInventarios.Dispose()
|
||||||
Exit Sub
|
' Exit Sub
|
||||||
End If
|
' End If
|
||||||
ObjInventarios.Dispose()
|
' ObjInventarios.Dispose()
|
||||||
Else
|
'Else
|
||||||
If DtExistencias IsNot Nothing Then
|
' If DtExistencias IsNot Nothing Then
|
||||||
Dim Existencia = DtExistencias.SUM("Cantidad", $"CvePS = {CvePSSerie} AND CveUM = {CveUMSerie} AND Serie = '{Serie}'")
|
' Dim Existencia = DtExistencias.SUM("Cantidad", $"CvePS = {CvePSSerie} AND CveUM = {CveUMSerie} AND Serie = '{Serie}'")
|
||||||
If Existencia < 1 Then
|
' If Existencia < 1 Then
|
||||||
Alert($"No hay existencia suficiente del producto <b>""{PSSerie}""</b> con la Serie definida <b>""{Serie}""</b>. Por favor rectifique y vuelva a intentar", TipoMensaje.MsgAdvertencia, If(Tipo = 2, "window.setTimeout(Focus,200);", ""))
|
' Alert($"No hay existencia suficiente del producto <b>""{PSSerie}""</b> con la Serie definida <b>""{Serie}""</b>. Por favor rectifique y vuelva a intentar", TipoMensaje.MsgAdvertencia, If(Tipo = 2, "window.setTimeout(Focus,200);", ""))
|
||||||
RegistraScript("playsonidito('142608__autistic-lucario__error.wav')", "Error3")
|
' RegistraScript("playsonidito('142608__autistic-lucario__error.wav')", "Error3")
|
||||||
Exit Sub
|
' Exit Sub
|
||||||
End If
|
' End If
|
||||||
End If
|
' End If
|
||||||
End If
|
'End If
|
||||||
|
|
||||||
|
|
||||||
Dim Row = DtDatosDetalle.NewRow
|
Dim Row = DtDatosDetalle.NewRow
|
||||||
@@ -1364,23 +1386,35 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
|
|
||||||
Protected Sub HplCargaBitacora_Click(sender As Object, e As EventArgs)
|
Protected Sub HplCargaBitacora_Click(sender As Object, e As EventArgs)
|
||||||
|
|
||||||
|
CargaBitacora = False
|
||||||
If IO.File.Exists(ArchivoBitacora) Then
|
If IO.File.Exists(ArchivoBitacora) Then
|
||||||
'DtInv.Clear()
|
|
||||||
'DtDatosDetalle.Clear()
|
CargaBitacoraSerie()
|
||||||
|
CargaGvDatos()
|
||||||
|
CargaBitacora = True
|
||||||
|
Else
|
||||||
|
Alert("No hay bitácora para recuperar.", TipoMensaje.ToastInformacion)
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub CargaBitacoraSerie()
|
||||||
|
|
||||||
|
If IO.File.Exists(ArchivoBitacora) Then
|
||||||
|
|
||||||
DtDatos.ReadXml(ArchivoBitacora)
|
DtDatos.ReadXml(ArchivoBitacora)
|
||||||
If IO.File.Exists(ArchivoBitacoraDetalle) Then
|
If IO.File.Exists(ArchivoBitacoraDetalle) Then
|
||||||
Dim dtt As New DataTable
|
Dim dtt As New DataTable
|
||||||
dtt.ReadXml(ArchivoBitacoraDetalle)
|
dtt.ReadXml(ArchivoBitacoraDetalle)
|
||||||
DtDatosDetalle = dtt
|
DtDatosDetalle = dtt
|
||||||
Alert("Registro(s) Recuperados", TipoMensaje.ToastInformacion)
|
Alert("Registro(s) Recuperados", TipoMensaje.ToastInformacion)
|
||||||
End If
|
|
||||||
CargaGvDatos()
|
|
||||||
|
|
||||||
|
End If
|
||||||
Else
|
Else
|
||||||
Alert("No hay bitácora para recuperar.", TipoMensaje.ToastInformacion)
|
Alert("No hay bitácora para recuperar.", TipoMensaje.ToastInformacion)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
#Region " AGREGA CON LOTE BATCH "
|
#Region " AGREGA CON LOTE BATCH "
|
||||||
|
|
||||||
@@ -3020,6 +3054,10 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
Limpia()
|
Limpia()
|
||||||
CargaPendientes()
|
CargaPendientes()
|
||||||
LimpiaCampos()
|
LimpiaCampos()
|
||||||
|
|
||||||
|
CargaBitacora = False
|
||||||
|
|
||||||
|
|
||||||
Else
|
Else
|
||||||
ObjInventario.RollBack()
|
ObjInventario.RollBack()
|
||||||
Alert(TextoError.ToString(), TipoMensaje.MsgError)
|
Alert(TextoError.ToString(), TipoMensaje.MsgError)
|
||||||
@@ -3452,6 +3490,9 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
Limpia()
|
Limpia()
|
||||||
LimpiaCampos()
|
LimpiaCampos()
|
||||||
CargaPendientes()
|
CargaPendientes()
|
||||||
|
|
||||||
|
CargaBitacora = False
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Alert(TextoError, TipoMensaje.MsgError)
|
Alert(TextoError, TipoMensaje.MsgError)
|
||||||
RegistraScript("playsonidito('142608__autistic-lucario__error.wav')")
|
RegistraScript("playsonidito('142608__autistic-lucario__error.wav')")
|
||||||
|
|||||||
@@ -971,7 +971,7 @@ Partial Class Ventas_ClientesAbonar
|
|||||||
VentaActual.CveSubProyecto = gvr.DataKey("CveSubProyecto").ToEntero
|
VentaActual.CveSubProyecto = gvr.DataKey("CveSubProyecto").ToEntero
|
||||||
VentaActual.IdCtaContableCliente = IIf(VentaActual.CveMoneda = 1, IdCuentaCliente, IdCtaContMonedaExtranjera)
|
VentaActual.IdCtaContableCliente = IIf(VentaActual.CveMoneda = 1, IdCuentaCliente, IdCtaContMonedaExtranjera)
|
||||||
VentaActual.IdCtaContableClienteComplementaria = IdCtaContComplementaria
|
VentaActual.IdCtaContableClienteComplementaria = IdCtaContComplementaria
|
||||||
|
VentaActual.IdCtaContableClienteAnticipo = IdCtaAnticipo
|
||||||
'Importe de pago
|
'Importe de pago
|
||||||
Dim Pago As New VentaPago
|
Dim Pago As New VentaPago
|
||||||
Pago.Fecha = TxtFechaDocumento.Text.ToDate
|
Pago.Fecha = TxtFechaDocumento.Text.ToDate
|
||||||
|
|||||||
Reference in New Issue
Block a user