Merge branch 'master' of http://agonzalez@192.168.10.111:8383/SIG.git
This commit is contained in:
@@ -2719,7 +2719,7 @@ Public Class ClsVentas
|
||||
|
||||
Return Retorno
|
||||
End Function
|
||||
Public Function GetRepCotizacionesSinFacturar(FechaI As Date, FechaF As Date, CveSubProyecto As String, CveCliente As Integer, CveEmpresa As Integer, Optional CveUsuarioConsulta As Integer = -1) As Boolean
|
||||
Public Function GetRepCotizacionesSinFacturar(FechaI As Date, FechaF As Date, CveSubProyecto As String, CveCliente As Integer, CveEmpresa As Integer, Optional CveUsuarioConsulta As Integer = -1, Optional CveEstatusFactura As Integer = -1) As Boolean
|
||||
Dim Retorno As Boolean = False
|
||||
DataAdapter("PA_Vta_RepCotizacionesSinFacturarGet")
|
||||
|
||||
@@ -2729,6 +2729,7 @@ Public Class ClsVentas
|
||||
.Add("@CveSubProyecto", SqlDbType.VarChar).Value = CveSubProyecto
|
||||
.Add("@CveCliente", SqlDbType.Int).Value = CveCliente
|
||||
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
||||
.Add("@CveEstatusFactura", SqlDbType.Int).Value = CveEstatusFactura
|
||||
.Add("@CveUsuarioConsulta", SqlDbType.Int).Value = CveUsuarioConsulta
|
||||
End With
|
||||
|
||||
|
||||
@@ -2688,6 +2688,15 @@ Public Class Timbrado
|
||||
#Region "Timbra"
|
||||
If ArchivoGenerado Then
|
||||
|
||||
Dim opciones As String() = New String(0) {"CALCULAR_SELLO"}
|
||||
Dim pade = New PADE33.PadeTimbradoServiceClient
|
||||
Dim Respuesta As String = pade.timbradoPrueba("72330711-cac6-4106-8051-cbcda1aef495", "rene.molina@adssistemas.mx", "Facturacion2021#", cfdi.Xml, opciones)
|
||||
' Aumentamos el timeout de la operación
|
||||
|
||||
Dim FolioFiscal As String
|
||||
FolioFiscal = obtenerAtributo(Respuesta, "TimbreFiscalDigital", "UUID") 'XmlDoc.DocumentElement("cfdi:Complemento").FirstChild.Attributes("UUID").InnerText
|
||||
|
||||
|
||||
'cfdi.TimbrarCfdi(UsuarioServicio, ClaveServicio, UrlServicio, TimbraProduccion)
|
||||
|
||||
'sw.Stop()
|
||||
|
||||
32
App_WebReferences/PADE33/Reference.svcmap
Normal file
32
App_WebReferences/PADE33/Reference.svcmap
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="74836d6a-9238-4e5b-b78b-90210bd6100d" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address=" http://timbrado.pade.mx:80/servicio/Timbrado3.3?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="Timbrado3.xsd" MetadataType="Schema" ID="03404faf-e6b7-4ab9-ba61-1a17cad2a0be" SourceId="1" SourceUrl="http://timbrado.pade.mx/servicio/Timbrado3.3?xsd=1" />
|
||||
<MetadataFile FileName="Timbrado3.wsdl" MetadataType="Wsdl" ID="c803d077-e85f-46ea-be18-2ddeb4820ced" SourceId="1" SourceUrl="http://timbrado.pade.mx/servicio/Timbrado3.3?wsdl" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
284
App_WebReferences/PADE33/Timbrado3.wsdl
Normal file
284
App_WebReferences/PADE33/Timbrado3.wsdl
Normal file
@@ -0,0 +1,284 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<definitions xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:tns="timbrado.ws.pade.mx" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" name="Timbrado3.3" targetNamespace="timbrado.ws.pade.mx" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<types>
|
||||
<xsd:schema>
|
||||
<xsd:import schemaLocation="http://timbrado.pade.mx:80/servicio/Timbrado3.3?xsd=1" namespace="timbrado.ws.pade.mx" />
|
||||
</xsd:schema>
|
||||
</types>
|
||||
<message name="acuseCancelacion">
|
||||
<part name="parameters" element="tns:acuseCancelacion" />
|
||||
</message>
|
||||
<message name="acuseCancelacionResponse">
|
||||
<part name="parameters" element="tns:acuseCancelacionResponse" />
|
||||
</message>
|
||||
<message name="consultarEstatusComprobante">
|
||||
<part name="parameters" element="tns:consultarEstatusComprobante" />
|
||||
</message>
|
||||
<message name="consultarEstatusComprobanteResponse">
|
||||
<part name="parameters" element="tns:consultarEstatusComprobanteResponse" />
|
||||
</message>
|
||||
<message name="consultarCfdiRelacionados">
|
||||
<part name="parameters" element="tns:consultarCfdiRelacionados" />
|
||||
</message>
|
||||
<message name="consultarCfdiRelacionadosResponse">
|
||||
<part name="parameters" element="tns:consultarCfdiRelacionadosResponse" />
|
||||
</message>
|
||||
<message name="responderSolicitudCancelacionConOpciones">
|
||||
<part name="parameters" element="tns:responderSolicitudCancelacionConOpciones" />
|
||||
</message>
|
||||
<message name="responderSolicitudCancelacionConOpcionesResponse">
|
||||
<part name="parameters" element="tns:responderSolicitudCancelacionConOpcionesResponse" />
|
||||
</message>
|
||||
<message name="consultarDisponibilidadServicio">
|
||||
<part name="parameters" element="tns:consultarDisponibilidadServicio" />
|
||||
</message>
|
||||
<message name="consultarDisponibilidadServicioResponse">
|
||||
<part name="parameters" element="tns:consultarDisponibilidadServicioResponse" />
|
||||
</message>
|
||||
<message name="timbradoBase64Prueba">
|
||||
<part name="parameters" element="tns:timbradoBase64Prueba" />
|
||||
</message>
|
||||
<message name="timbradoBase64PruebaResponse">
|
||||
<part name="parameters" element="tns:timbradoBase64PruebaResponse" />
|
||||
</message>
|
||||
<message name="timbradoBase64">
|
||||
<part name="parameters" element="tns:timbradoBase64" />
|
||||
</message>
|
||||
<message name="timbradoBase64Response">
|
||||
<part name="parameters" element="tns:timbradoBase64Response" />
|
||||
</message>
|
||||
<message name="consultarPeticionesPendientes">
|
||||
<part name="parameters" element="tns:consultarPeticionesPendientes" />
|
||||
</message>
|
||||
<message name="consultarPeticionesPendientesResponse">
|
||||
<part name="parameters" element="tns:consultarPeticionesPendientesResponse" />
|
||||
</message>
|
||||
<message name="timbradoConCSD">
|
||||
<part name="parameters" element="tns:timbradoConCSD" />
|
||||
</message>
|
||||
<message name="timbradoConCSDResponse">
|
||||
<part name="parameters" element="tns:timbradoConCSDResponse" />
|
||||
</message>
|
||||
<message name="cancelarConOpciones">
|
||||
<part name="parameters" element="tns:cancelarConOpciones" />
|
||||
</message>
|
||||
<message name="cancelarConOpcionesResponse">
|
||||
<part name="parameters" element="tns:cancelarConOpcionesResponse" />
|
||||
</message>
|
||||
<message name="cancelar">
|
||||
<part name="parameters" element="tns:cancelar" />
|
||||
</message>
|
||||
<message name="cancelarResponse">
|
||||
<part name="parameters" element="tns:cancelarResponse" />
|
||||
</message>
|
||||
<message name="cfdiPorUUID">
|
||||
<part name="parameters" element="tns:cfdiPorUUID" />
|
||||
</message>
|
||||
<message name="cfdiPorUUIDResponse">
|
||||
<part name="parameters" element="tns:cfdiPorUUIDResponse" />
|
||||
</message>
|
||||
<message name="timbradoPrueba">
|
||||
<part name="parameters" element="tns:timbradoPrueba" />
|
||||
</message>
|
||||
<message name="timbradoPruebaResponse">
|
||||
<part name="parameters" element="tns:timbradoPruebaResponse" />
|
||||
</message>
|
||||
<message name="timbrado">
|
||||
<part name="parameters" element="tns:timbrado" />
|
||||
</message>
|
||||
<message name="timbradoResponse">
|
||||
<part name="parameters" element="tns:timbradoResponse" />
|
||||
</message>
|
||||
<portType name="PadeTimbradoService">
|
||||
<operation name="acuseCancelacion">
|
||||
<input wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/acuseCancelacionRequest" message="tns:acuseCancelacion" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/acuseCancelacionResponse" message="tns:acuseCancelacionResponse" />
|
||||
</operation>
|
||||
<operation name="consultarEstatusComprobante">
|
||||
<input wsam:Action="consultarEstatusComprobante" message="tns:consultarEstatusComprobante" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/consultarEstatusComprobanteResponse" message="tns:consultarEstatusComprobanteResponse" />
|
||||
</operation>
|
||||
<operation name="consultarCfdiRelacionados">
|
||||
<input wsam:Action="consultarCfdiRelacionados" message="tns:consultarCfdiRelacionados" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/consultarCfdiRelacionadosResponse" message="tns:consultarCfdiRelacionadosResponse" />
|
||||
</operation>
|
||||
<operation name="responderSolicitudCancelacionConOpciones">
|
||||
<input wsam:Action="responderSolicitudCancelacionConOpciones" message="tns:responderSolicitudCancelacionConOpciones" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/responderSolicitudCancelacionConOpcionesResponse" message="tns:responderSolicitudCancelacionConOpcionesResponse" />
|
||||
</operation>
|
||||
<operation name="consultarDisponibilidadServicio">
|
||||
<input wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/consultarDisponibilidadServicioRequest" message="tns:consultarDisponibilidadServicio" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/consultarDisponibilidadServicioResponse" message="tns:consultarDisponibilidadServicioResponse" />
|
||||
</operation>
|
||||
<operation name="timbradoBase64Prueba">
|
||||
<input wsam:Action="timbradoBase64Prueba" message="tns:timbradoBase64Prueba" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/timbradoBase64PruebaResponse" message="tns:timbradoBase64PruebaResponse" />
|
||||
</operation>
|
||||
<operation name="timbradoBase64">
|
||||
<input wsam:Action="timbradoBase64" message="tns:timbradoBase64" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/timbradoBase64Response" message="tns:timbradoBase64Response" />
|
||||
</operation>
|
||||
<operation name="consultarPeticionesPendientes">
|
||||
<input wsam:Action="consultarPeticionesPendientes" message="tns:consultarPeticionesPendientes" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/consultarPeticionesPendientesResponse" message="tns:consultarPeticionesPendientesResponse" />
|
||||
</operation>
|
||||
<operation name="timbradoConCSD">
|
||||
<input wsam:Action="timbradoConCSD" message="tns:timbradoConCSD" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/timbradoConCSDResponse" message="tns:timbradoConCSDResponse" />
|
||||
</operation>
|
||||
<operation name="cancelarConOpciones">
|
||||
<input wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/cancelarConOpcionesRequest" message="tns:cancelarConOpciones" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/cancelarConOpcionesResponse" message="tns:cancelarConOpcionesResponse" />
|
||||
</operation>
|
||||
<operation name="cancelar">
|
||||
<input wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/cancelarRequest" message="tns:cancelar" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/cancelarResponse" message="tns:cancelarResponse" />
|
||||
</operation>
|
||||
<operation name="cfdiPorUUID">
|
||||
<input wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/cfdiPorUUIDRequest" message="tns:cfdiPorUUID" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/cfdiPorUUIDResponse" message="tns:cfdiPorUUIDResponse" />
|
||||
</operation>
|
||||
<operation name="timbradoPrueba">
|
||||
<input wsam:Action="timbradoPrueba" message="tns:timbradoPrueba" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/timbradoPruebaResponse" message="tns:timbradoPruebaResponse" />
|
||||
</operation>
|
||||
<operation name="timbrado">
|
||||
<input wsam:Action="timbrado" message="tns:timbrado" />
|
||||
<output wsam:Action="timbrado.ws.pade.mx/PadeTimbradoService/timbradoResponse" message="tns:timbradoResponse" />
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="PadeTimbradoServicePortBinding" type="tns:PadeTimbradoService">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<operation name="acuseCancelacion">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="consultarEstatusComprobante">
|
||||
<soap:operation soapAction="consultarEstatusComprobante" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="consultarCfdiRelacionados">
|
||||
<soap:operation soapAction="consultarCfdiRelacionados" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="responderSolicitudCancelacionConOpciones">
|
||||
<soap:operation soapAction="responderSolicitudCancelacionConOpciones" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="consultarDisponibilidadServicio">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="timbradoBase64Prueba">
|
||||
<soap:operation soapAction="timbradoBase64Prueba" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="timbradoBase64">
|
||||
<soap:operation soapAction="timbradoBase64" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="consultarPeticionesPendientes">
|
||||
<soap:operation soapAction="consultarPeticionesPendientes" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="timbradoConCSD">
|
||||
<soap:operation soapAction="timbradoConCSD" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="cancelarConOpciones">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="cancelar">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="cfdiPorUUID">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="timbradoPrueba">
|
||||
<soap:operation soapAction="timbradoPrueba" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="timbrado">
|
||||
<soap:operation soapAction="timbrado" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="Timbrado3.3">
|
||||
<port name="PadeTimbradoServicePort" binding="tns:PadeTimbradoServicePortBinding">
|
||||
<soap:address location="http://timbrado.pade.mx:80/servicio/Timbrado3.3" />
|
||||
</port>
|
||||
</service>
|
||||
</definitions>
|
||||
252
App_WebReferences/PADE33/Timbrado3.xsd
Normal file
252
App_WebReferences/PADE33/Timbrado3.xsd
Normal file
@@ -0,0 +1,252 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="timbrado.ws.pade.mx" targetNamespace="timbrado.ws.pade.mx" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="acuseCancelacion" type="tns:acuseCancelacion" />
|
||||
<xs:element name="acuseCancelacionResponse" type="tns:acuseCancelacionResponse" />
|
||||
<xs:element name="cancelar" type="tns:cancelar" />
|
||||
<xs:element name="cancelarConOpciones" type="tns:cancelarConOpciones" />
|
||||
<xs:element name="cancelarConOpcionesResponse" type="tns:cancelarConOpcionesResponse" />
|
||||
<xs:element name="cancelarResponse" type="tns:cancelarResponse" />
|
||||
<xs:element name="cfdiPorUUID" type="tns:cfdiPorUUID" />
|
||||
<xs:element name="cfdiPorUUIDResponse" type="tns:cfdiPorUUIDResponse" />
|
||||
<xs:element name="consultarCfdiRelacionados" type="tns:consultarCfdiRelacionados" />
|
||||
<xs:element name="consultarCfdiRelacionadosResponse" type="tns:consultarCfdiRelacionadosResponse" />
|
||||
<xs:element name="consultarDisponibilidadServicio" type="tns:consultarDisponibilidadServicio" />
|
||||
<xs:element name="consultarDisponibilidadServicioResponse" type="tns:consultarDisponibilidadServicioResponse" />
|
||||
<xs:element name="consultarEstatusComprobante" type="tns:consultarEstatusComprobante" />
|
||||
<xs:element name="consultarEstatusComprobanteResponse" type="tns:consultarEstatusComprobanteResponse" />
|
||||
<xs:element name="consultarPeticionesPendientes" type="tns:consultarPeticionesPendientes" />
|
||||
<xs:element name="consultarPeticionesPendientesResponse" type="tns:consultarPeticionesPendientesResponse" />
|
||||
<xs:element name="responderSolicitudCancelacionConOpciones" type="tns:responderSolicitudCancelacionConOpciones" />
|
||||
<xs:element name="responderSolicitudCancelacionConOpcionesResponse" type="tns:responderSolicitudCancelacionConOpcionesResponse" />
|
||||
<xs:element name="timbrado" type="tns:timbrado" />
|
||||
<xs:element name="timbradoBase64" type="tns:timbradoBase64" />
|
||||
<xs:element name="timbradoBase64Prueba" type="tns:timbradoBase64Prueba" />
|
||||
<xs:element name="timbradoBase64PruebaResponse" type="tns:timbradoBase64PruebaResponse" />
|
||||
<xs:element name="timbradoBase64Response" type="tns:timbradoBase64Response" />
|
||||
<xs:element name="timbradoConCSD" type="tns:timbradoConCSD" />
|
||||
<xs:element name="timbradoConCSDResponse" type="tns:timbradoConCSDResponse" />
|
||||
<xs:element name="timbradoPrueba" type="tns:timbradoPrueba" />
|
||||
<xs:element name="timbradoPruebaResponse" type="tns:timbradoPruebaResponse" />
|
||||
<xs:element name="timbradoResponse" type="tns:timbradoResponse" />
|
||||
<xs:complexType name="responderSolicitudCancelacionConOpciones">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcReceptor" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="arregloUUID" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cert" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="key" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="keyPass" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="responderSolicitudCancelacionConOpcionesResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cfdiPorUUID">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="uuid" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cfdiPorUUIDResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbrado">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cfdiXml" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoBase64">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cfdiXmlBase64" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoBase64Response">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="acuseCancelacion">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="uuid" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="acuseCancelacionResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoBase64Prueba">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cfdiXmlBase64" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoBase64PruebaResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cancelarConOpciones">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcEmisor" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="arregloUUID" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cert" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="key" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="keyPass" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cancelarConOpcionesResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarEstatusComprobante">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="uuid" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcEmisor" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcReceptor" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="total" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarEstatusComprobanteResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarCfdiRelacionados">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcEmisor" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcReceptor" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="uuid" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cert" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="key" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="keyPass" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarCfdiRelacionadosResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cancelar">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcEmisor" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="arregloUUID" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cert" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="key" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="keyPass" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cancelarResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarPeticionesPendientes">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="rfcReceptor" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarPeticionesPendientesResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarDisponibilidadServicio">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="consultarDisponibilidadServicioResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="tns:resultDisponibilidadServicio" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="resultDisponibilidadServicio">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="mensaje" type="xs:string" />
|
||||
<xs:element name="servicioOk" type="xs:boolean" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoConCSD">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cfdiXml" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cert" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="key" nillable="true" type="xs:base64Binary" />
|
||||
<xs:element minOccurs="0" name="keyPass" type="xs:string" />
|
||||
<xs:element name="prueba" type="xs:boolean" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoConCSDResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoPrueba">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="contrato" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="usuario" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="passwd" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cfdiXml" type="xs:string" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="opciones" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="timbradoPruebaResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
10
App_WebReferences/PADE33/configuration.svcinfo
Normal file
10
App_WebReferences/PADE33/configuration.svcinfo
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="PadeTimbradoServicePortBinding" />" bindingType="basicHttpBinding" name="PadeTimbradoServicePortBinding" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://timbrado.pade.mx:80/servicio/Timbrado3.3" binding="basicHttpBinding" bindingConfiguration="PadeTimbradoServicePortBinding" contract="PADE33.PadeTimbradoService" name="PadeTimbradoServicePort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://timbrado.pade.mx:80/servicio/Timbrado3.3" binding="basicHttpBinding" bindingConfiguration="PadeTimbradoServicePortBinding" contract="PADE33.PadeTimbradoService" name="PadeTimbradoServicePort" />" contractName="PADE33.PadeTimbradoService" name="PadeTimbradoServicePort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
201
App_WebReferences/PADE33/configuration91.svcinfo
Normal file
201
App_WebReferences/PADE33/configuration91.svcinfo
Normal file
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="j1p3uyXhLIYSb0PWT7VKGW9Nx93nzxfX0cGMYZl0sJU=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="PadeTimbradoServicePortBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>PadeTimbradoServicePortBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(Collection)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="PadeTimbradoServicePort" contract="PADE33.PadeTimbradoService" bindingType="basicHttpBinding" address="http://timbrado.pade.mx/servicio/Timbrado3.3" bindingConfiguration="PadeTimbradoServicePortBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://timbrado.pade.mx:80/servicio/Timbrado3.3</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>PadeTimbradoServicePortBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>PADE33.PadeTimbradoService</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>PadeTimbradoServicePort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -1118,8 +1118,9 @@ Partial Class Bancos_IE
|
||||
End If
|
||||
|
||||
|
||||
|
||||
'DATOS DE CANCELACION
|
||||
If ObjIE.CveEstatusIE = 2 Then
|
||||
If ObjIE.CveEstatusIE = 2 OrElse (ObjIE.CveEstatusIE = 1 AndAlso ObjIE.CveIECancelacion > 0) Then
|
||||
TabCancelacion.Visible = True
|
||||
LbUsuarioCancelacion.Text = ObjIE.UsuarioCancelacion
|
||||
LbFechaCancelacion.Text = ObjIE.FechaCancelacion.ToShortDateString
|
||||
|
||||
@@ -1837,25 +1837,25 @@ Partial Class Compras_Compras
|
||||
'TmpDT.Columns.Add("IEPSPSPorcentaje")
|
||||
'TmpDT.Columns.Add("IEPSPSIVAPorcentaje")
|
||||
SubTotalConceptos = Math.Round(TmpDT.SUM("Total"), 2).ToDecimal
|
||||
AddPS2(False)
|
||||
AddPS2(False)
|
||||
|
||||
|
||||
'VALIDA QUE EL XML SI VIENE CON EL CODIGO SAT 01010101
|
||||
Dim ProductosCodigoSATNoPermitidos As New StringBuilder("")
|
||||
For Each drr As DataRow In TmpDT.FiltraParametros("ClaveProdServ = '01010101'").Rows
|
||||
'VALIDA QUE EL XML SI VIENE CON EL CODIGO SAT 01010101
|
||||
Dim ProductosCodigoSATNoPermitidos As New StringBuilder("")
|
||||
For Each drr As DataRow In TmpDT.FiltraParametros("ClaveProdServ = '01010101'").Rows
|
||||
|
||||
ProductosCodigoSATNoPermitidos.AppendFormat("{0}</br>", drr("PS"))
|
||||
ProductosCodigoSATNoPermitidos.AppendFormat("{0}</br>", drr("PS"))
|
||||
|
||||
Next
|
||||
Next
|
||||
|
||||
If ProductosCodigoSATNoPermitidos.ToString.Length > 0 Then
|
||||
Dim mensajeAdvertencia As String = String.Format("El comprobante contiene productos con código SAT '01010101', revise los productos:</br></br>{0}", ProductosCodigoSATNoPermitidos.ToString)
|
||||
Alert(mensajeAdvertencia, TipoMensaje.MsgAdvertencia)
|
||||
|
||||
End If
|
||||
If ProductosCodigoSATNoPermitidos.ToString.Length > 0 Then
|
||||
Dim mensajeAdvertencia As String = String.Format("El comprobante contiene productos con código SAT '01010101', revise los productos:</br></br>{0}", ProductosCodigoSATNoPermitidos.ToString)
|
||||
Alert(mensajeAdvertencia, TipoMensaje.MsgAdvertencia)
|
||||
|
||||
End If
|
||||
Else
|
||||
|
||||
End If
|
||||
Else
|
||||
CargaConceptosXML(XMLDoc)
|
||||
End If
|
||||
|
||||
@@ -4714,7 +4714,7 @@ Partial Class Compras_Compras
|
||||
ViewState("CveCompra") = ObjCompras.CveCompra
|
||||
If ObjCompras.DtResultados.Rows.Count > 0 Then ViewState("CompraFolio") = ObjCompras.DtResultados.Rows(0)("vFolio").ToString
|
||||
If DdlTipoComprobante.SelectedValue.Contiene("NC", "DEV") Then
|
||||
Devolucion = guardardevolucion(ObjInventario, ObjCompras.CveCompra, TxtSubTotal.Text.ToDouble, TxtFecha.Text.Trim.ToDate)
|
||||
Devolucion = guardardevolucion(ObjInventario, ObjCompras.CveCompra, TxtSubTotal.Text.ToDecimal, TxtFecha.Text.Trim.ToDate)
|
||||
|
||||
TieneError = Devolucion.TieneError
|
||||
End If
|
||||
@@ -7143,6 +7143,10 @@ Partial Class Compras_Compras
|
||||
End If
|
||||
End If
|
||||
|
||||
If CveCompraRefacturacion > 0 Then
|
||||
importeMovimiento = 0
|
||||
importeMN = 0
|
||||
End If
|
||||
|
||||
Case 59 'Documentos
|
||||
importeMovimiento = importeCreditos
|
||||
@@ -14258,7 +14262,7 @@ Partial Class Compras_Compras
|
||||
|
||||
'*se envia true si hubo un error*'
|
||||
|
||||
Private Function guardardevolucion(ObjInventario As ClsInventarios, CveCompra As Integer, subtotal As Double, Fecha As Date) As MMensajeDevolucion
|
||||
Private Function guardardevolucion(ObjInventario As ClsInventarios, CveCompra As Integer, subtotal As Decimal, Fecha As Date) As MMensajeDevolucion
|
||||
Dim ErrorMovInv As Boolean = False
|
||||
Dim CveAlmacen As Integer = DdlAlmacenDevolucion.SelectedValue.ToEntero()
|
||||
Dim subtotaldevolucion As Double = 0
|
||||
@@ -14266,6 +14270,7 @@ Partial Class Compras_Compras
|
||||
Dim CveMovimientoEntrada As Integer = -1
|
||||
'Calculo los subtotales para comparar con la NC
|
||||
Dim cantidad As Double = 0.0
|
||||
Dim TotalAlmacen As Decimal = 0
|
||||
|
||||
For Each Dr As GridViewRow In GVDevolucion.Rows
|
||||
'CveAlmacen = Dr.DataKey("CveAlmacen").ToString.ToEntero
|
||||
@@ -14285,14 +14290,24 @@ Partial Class Compras_Compras
|
||||
If CveMovimientoEntrada <= 0 Then
|
||||
ErrorMovInv = True
|
||||
Else
|
||||
Dim Acumulado As Decimal = 0
|
||||
Dim PU As Decimal = 0
|
||||
For Each Dr As GridViewRow In GVDevolucion.Rows
|
||||
If Dr.FCTextBox("TxtCantidad").Text.ToDouble > 0 Then
|
||||
If Not ObjInventario.AddMovimientoDetalle(CveMovimientoEntrada, Dr.FCTextBox("TxtCantidad").Text.ToDouble, Dr.DataKey("CveUM").ToString.ToEntero, Dr.DataKey("CvePS").ToString.ToEntero, Dr.DataKey("PU").ToString.ToDecimal, -1, CveMovimientoDetalleEntrada:=Dr.DataKey("CveMovimientoDetalle").ToString.ToEntero) Then
|
||||
Acumulado += (Dr.FCTextBox("TxtCantidad").Text.ToDecimal * Dr.DataKey("PU").ToString.ToDecimal)
|
||||
PU = Dr.DataKey("PU").ToString.ToDecimal
|
||||
If subtotal < Acumulado Then
|
||||
Dim dif As Decimal = subtotal - Acumulado
|
||||
PU = (((Dr.FCTextBox("TxtCantidad").Text.ToDecimal * Dr.DataKey("PU").ToString.ToDecimal)) + dif) / Dr.FCTextBox("TxtCantidad").Text.ToDecimal
|
||||
End If
|
||||
|
||||
If Not ObjInventario.AddMovimientoDetalle(CveMovimientoEntrada, Dr.FCTextBox("TxtCantidad").Text.ToDouble, Dr.DataKey("CveUM").ToString.ToEntero, Dr.DataKey("CvePS").ToString.ToEntero, PU, -1, CveMovimientoDetalleEntrada:=Dr.DataKey("CveMovimientoDetalle").ToString.ToEntero) Then
|
||||
ErrorMovInv = True
|
||||
Exit For
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
|
||||
End If
|
||||
Else
|
||||
ErrorMovInv = True
|
||||
@@ -14354,18 +14369,18 @@ Partial Class Compras_Compras
|
||||
'End Sub
|
||||
Protected Sub BtnVinculaDevolucion_Click(sender As Object, e As EventArgs)
|
||||
Try
|
||||
Dim subtotaldevolucion As Double = 0
|
||||
Dim subtotaldevolucion As Decimal = 0
|
||||
Dim realizadevolucion As Boolean = False
|
||||
|
||||
|
||||
'Calculo los subtotales para comparar con la NC
|
||||
Dim cantidad As Double = 0.0
|
||||
Dim cantidad As Decimal = 0
|
||||
|
||||
For Each Dr As GridViewRow In GVDevolucion.Rows
|
||||
cantidad = Dr.FCTextBox("TxtCantidad").Text.ToDouble
|
||||
cantidad = Dr.FCTextBox("TxtCantidad").Text.ToDecimal
|
||||
If cantidad > 0 Then
|
||||
realizadevolucion = True
|
||||
subtotaldevolucion += Dr.DataKey("PU").ToString.ToDouble * cantidad
|
||||
subtotaldevolucion += Dr.DataKey("PU").ToString.ToDecimal * cantidad
|
||||
End If
|
||||
Next
|
||||
|
||||
@@ -14399,6 +14414,7 @@ Partial Class Compras_Compras
|
||||
Dim IEPSCompra As Decimal = TxtIEPS.Text.ToDecimal()
|
||||
Dim RetIVACompra As Decimal = TxtRetIVA.Text.ToDecimal()
|
||||
Dim RetISRCompra As Decimal = TxtRetISR.Text.ToDecimal()
|
||||
Dim Acumulado As Decimal = 0
|
||||
|
||||
'Dim TotalCalculable As Decimal = TotalCompra - IEPSCompra + RetIVACompra + RetISRCompra
|
||||
|
||||
@@ -14428,6 +14444,15 @@ Partial Class Compras_Compras
|
||||
Dim IVA As Decimal = IVAPorcentajeCompra 'Math.Round(Total * IVAPorcentajeCompra, 2)
|
||||
Dim Descuento As Decimal = 0
|
||||
|
||||
Acumulado += (PU * Cantidad)
|
||||
|
||||
If SubTotalCompra < Acumulado Then
|
||||
'ajusta el valor
|
||||
Dim dif As Decimal = SubTotalCompra - Acumulado
|
||||
PU = ((PU * Cantidad) + dif) / Cantidad
|
||||
Total = Cantidad * PU
|
||||
End If
|
||||
|
||||
AddPS(Cantidad, CveUM, UM, CveClasificacion, Clasificacion, CvePS, PS, CveTipoPS, CveSubProyectoContrato, SubProyecto, Proyecto, CveProyecto, Obs, PU, Total, IVA, 0, 0, 0, 0, Descuento, -1, False)
|
||||
|
||||
End If
|
||||
|
||||
@@ -1889,10 +1889,14 @@ Partial Class Inventarios_TraspasoAlmacen
|
||||
Exit For
|
||||
End If
|
||||
'MOV, Alm, Transito
|
||||
If Not ObjInventario.AddMovimientoDetalle(CveMovimientoSalidaTransitorio, gvr.FCTextBox("TxtCantidad").Text.ToString.ToDecimal, gvr.DataKey("CveUM").ToString.ToEntero, gvr.DataKey("CvePS").ToString.ToEntero, PrecioEntrada, CveAF:=gvr.DataKey("CveAF").ToString.ToEntero, CveSeccionAlmacen:=gvr.FCDropDownList("DdlSeccionAlmacen").SelectedValue.ToEntero, Serie:=gvr.DataKey("Serie").ToString, Lote:=gvr.DataKey("Lote").ToString, FechaCaducidad:=gvr.DataKey("FechaCaducidad").ToDate, CveMovimientoDetalleEntrada:=gvr.DataKey("CveMovimientoDetalleTransitorio").ToString.ToEntero) Then
|
||||
ErrorMovInv = True
|
||||
TextoError = "Ocurrió un error al guardar los movimientos de salida"
|
||||
Exit For
|
||||
If gvr.DataKey("CveMovimientoDetalleTransitorio").ToString.ToEntero > 0 Then
|
||||
If Not ObjInventario.AddMovimientoDetalle(CveMovimientoSalidaTransitorio, gvr.FCTextBox("TxtCantidad").Text.ToString.ToDecimal, gvr.DataKey("CveUM").ToString.ToEntero, gvr.DataKey("CvePS").ToString.ToEntero, PrecioEntrada, CveAF:=gvr.DataKey("CveAF").ToString.ToEntero, CveSeccionAlmacen:=gvr.FCDropDownList("DdlSeccionAlmacen").SelectedValue.ToEntero, Serie:=gvr.DataKey("Serie").ToString, Lote:=gvr.DataKey("Lote").ToString, FechaCaducidad:=gvr.DataKey("FechaCaducidad").ToDate, CveMovimientoDetalleEntrada:=gvr.DataKey("CveMovimientoDetalleTransitorio").ToString.ToEntero) Then
|
||||
ErrorMovInv = True
|
||||
TextoError = "Ocurrió un error al guardar los movimientos de salida"
|
||||
Exit For
|
||||
End If
|
||||
Else
|
||||
CveMovimientoSalidaTransitorio = 0
|
||||
End If
|
||||
|
||||
ElseIf cantidadDisponibleValidacion < 0 Then
|
||||
@@ -1910,16 +1914,20 @@ Partial Class Inventarios_TraspasoAlmacen
|
||||
Dim resultado As DataTable = ObjInventario.DtResultados
|
||||
Dim importe As Decimal = resultado.SUMD("Total").RoundSQL
|
||||
Dim IdCtaContable As Integer = GlobalDTAlmacen(UsuarioActual.CveEmpresa).FiltroPrimeroValor("IdCtaContable", String.Format("CveAlmacen = {0}", DdlAlmacenTransitorioRecepcion.SelectedValue.ToEntero)).ToEntero
|
||||
Dim tCveConcepto As Integer = 68
|
||||
|
||||
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, True, importe, TxtObservaciones.Text, 68, TxtObservaciones.Text, Fecha, IdCtaContable, -1, CveMovimientoAlmacen:=CveMovimientoSalidaTransitorio, ImporteMX:=importe, Contabilizable:=False) Then
|
||||
If CveMovimientoSalidaTransitorio = 0 Then
|
||||
tCveConcepto = 289
|
||||
End If
|
||||
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, True, importe, TxtObservaciones.Text, tCveConcepto, TxtObservaciones.Text, Fecha, IdCtaContable, -1, CveMovimientoAlmacen:=CveMovimientoSalidaTransitorio, ImporteMX:=importe, Contabilizable:=False) Then
|
||||
ErrorMovInv = True
|
||||
End If
|
||||
|
||||
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, False, importe, TxtObservaciones.Text, 68, TxtObservaciones.Text, Fecha, IdCtaContable, -1, CveMovimientoAlmacen:=CveMovimientoEntrada, ImporteMX:=importe, Contabilizable:=False) Then
|
||||
ErrorMovInv = True
|
||||
ErrorMovInv = True
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
|
||||
@@ -171,7 +171,10 @@
|
||||
<div class="col-md-2">
|
||||
<ADS:Dropdownlost CssClassDdl="select2me" ID="DdlClientes" Width="100%" data-metodo="getcliente" runat="server" DataTextField="NombreComercial" DataValueField="CveCliente" CssStyle="width: 100%;" selectedindexchange="DdlClientes_SelectedIndexChanged"></ADS:Dropdownlost>
|
||||
</div>
|
||||
|
||||
<label class="col-md-1">Estatus: </label>
|
||||
<div class="col-md-2">
|
||||
<asp:Dropdownlist ID="DdlEstatusFactura" Width="100%" runat="server" DataTextField="EstatusFactura" DataValueField="CveEstatusFactura" CssClass="ddlFiltros input-sm select2me Widthall" Style="width: 100%;" ></asp:Dropdownlist>
|
||||
</div>
|
||||
|
||||
<%-- <label class="col-md-1 ">F. Venc. al:</label>
|
||||
<div class="col-md-2">
|
||||
|
||||
@@ -74,7 +74,7 @@ Partial Class RepCotizacionesxFacturar
|
||||
|
||||
Sucursales = IIf(DdlSubProyectos.GetSelectedValuesM = "", "-1", DdlSubProyectos.GetSelectedValuesM).ToString
|
||||
|
||||
If ObjVentas.GetRepCotizacionesSinFacturar(FechaI.ToDate, FechaF.ToDate, Sucursales, CveCliente, UsuarioActual.CveEmpresa, CveUsuarioConsulta:=UsuarioActual.CveUsuario) Then
|
||||
If ObjVentas.GetRepCotizacionesSinFacturar(FechaI.ToDate, FechaF.ToDate, Sucursales, CveCliente, UsuarioActual.CveEmpresa, CveUsuarioConsulta:=UsuarioActual.CveUsuario, CveEstatusFactura:=DdlEstatusFactura.SelectedValue.ToEntero) Then
|
||||
GvDatos.DataSource = ObjVentas.DtResultados
|
||||
DtVentas = ObjVentas.DtResultados
|
||||
GvDatos.DataBind()
|
||||
@@ -139,6 +139,14 @@ Partial Class RepCotizacionesxFacturar
|
||||
DdlSubProyectos.DataSource() = GlobalDTSubProyectosUsuarios(UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, -1, 1)
|
||||
DdlSubProyectos.DataBind()
|
||||
'DdlSubProyectos.Items.Insert(0, New ListItem("Todos", "-1"))
|
||||
|
||||
'DdlEstatusFactura.DataSource = GlobalDTEstatusFactura().FiltraParametros("TipoDocto = 'Cot'")
|
||||
'DdlEstatusFactura.DataBind()
|
||||
DdlEstatusFactura.Items.Add(New ListItem("Registrada", "2"))
|
||||
DdlEstatusFactura.Items.Add(New ListItem("Supervisada", "8"))
|
||||
DdlEstatusFactura.Items.Add(New ListItem("Cancelada", "10"))
|
||||
DdlEstatusFactura.Items.Insert(0, New ListItem("Todos", "-1"))
|
||||
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
|
||||
Reference in New Issue
Block a user