Commit 98d46573 authored by Jhonny Remolina's avatar Jhonny Remolina
Browse files

modifuacion flujo devoluciones, cambios en archivo plano

parent 145975ce
<?xml version="1.0"?>
<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
DTS:refId="Package"
DTS:CreationDate="3/26/2025 3:27:59 PM"
DTS:CreationName="Microsoft.Package"
DTS:CreatorComputerName="A1528665"
DTS:CreatorName="REDSISBAQ\rarce"
DTS:DTSID="{A407A097-B4D1-4D6D-B286-96C615FE7DA0}"
DTS:ExecutableType="Microsoft.Package"
DTS:LastModifiedProductVersion="16.0.5685.0"
DTS:LocaleID="9226"
DTS:ObjectName="06 TareaDepurar"
DTS:PackageType="5"
DTS:VersionBuild="15"
DTS:VersionGUID="{609FAB64-0B99-4127-AB63-5692EA267EF1}">
<DTS:Property
DTS:Name="PackageFormatVersion">8</DTS:Property>
<DTS:ConnectionManagers>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[51.8.167.31.integracion.Integracion]"
DTS:CreationName="OLEDB"
DTS:DTSID="{6BAC790E-6221-4901-ACDD-BFD7BC369257}"
DTS:ObjectName="51.8.167.31.integracion.Integracion">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:ConnectRetryCount="1"
DTS:ConnectRetryInterval="5"
DTS:ConnectionString="Data Source=51.8.167.31;User ID=integracion;Initial Catalog=integracion;Provider=SQLOLEDB.1;Application Name=SSIS-07 TareaDepurar-{6BAC790E-6221-4901-ACDD-BFD7BC369257}51.8.167.31.integracion.Integracion;">
<DTS:Password
DTS:Name="Password"
Sensitive="1"
Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAXgUzzQhw006kVnHys6Z4WAAAAAAIAAAARABUAFMAAAAQZgAAAAEAACAAAAAnJ23PGRzzj5G1YtBT5yvQgUGQtVGCd1xM8B7RBs9/ZgAAAAAOgAAAAAIAACAAAACcqh+Xki5QOpIv0FsSitRUgeeGEBQDgI8XLXNCkM9NCTAAAAAbiH1QpcB8n56xo2oyenBdaPk3Tm4holCDt7Z7vlgsXMrtv+drjQjKC06KNQdvTURAAAAANe3YwtwjRgLX2sXLxCcEjAuLDEFrugrtUOLUO+k17w/EAxrRtTIOENGGunZFFjGJnQS0nLqG86GVV57COQ/eAA</DTS:Password>
</DTS:ConnectionManager>
</DTS:ObjectData>
</DTS:ConnectionManager>
</DTS:ConnectionManagers>
<DTS:Variables />
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\DeprarRespuestaPedido"
DTS:CreationName="Microsoft.ExecuteSQLTask"
DTS:Description="Tarea Ejecutar SQL"
DTS:Disabled="True"
DTS:DTSID="{000E00DF-6BEC-4969-BD10-4EDBD61CA9C7}"
DTS:ExecutableType="Microsoft.ExecuteSQLTask"
DTS:LocaleID="-1"
DTS:ObjectName="DeprarRespuestaPedido"
DTS:TaskContact="Execute SQL Task; Microsoft Corporation; SQL Server 2022; © 2022 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SQLTask:SqlTaskData
SQLTask:Connection="{6BAC790E-6221-4901-ACDD-BFD7BC369257}"
SQLTask:SqlStatementSource="delete from RespuestaPedido_Plasticaucho where DATEDIFF(DAY, FechaCarga, GETDATE()) &gt; (SELECT AntiguedadArchivosABorrar FROM ETL_Parametros_Operacion_Plasticaucho)HasError=0;" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\DepurarPendientesXProcesar"
DTS:CreationName="Microsoft.ExecuteSQLTask"
DTS:Description="Tarea Ejecutar SQL"
DTS:DTSID="{30FE4D05-22C6-4722-BDF0-E7ECF5A1E06D}"
DTS:ExecutableType="Microsoft.ExecuteSQLTask"
DTS:LocaleID="-1"
DTS:ObjectName="DepurarPendientesXProcesar"
DTS:TaskContact="Execute SQL Task; Microsoft Corporation; SQL Server 2022; © 2022 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SQLTask:SqlTaskData
SQLTask:Connection="{6BAC790E-6221-4901-ACDD-BFD7BC369257}"
SQLTask:SqlStatementSource="DELETE pend&#xA;FROM PendientesporProcesar_Plasticaucho pend&#xA;INNER JOIN RespuestaPedido_Plasticaucho resp ON pend.InternalTransactionId = resp.InternalTransactionId&#xA;--WHERE resp.HasError = 0 &#xA;AND DATEDIFF(DAY, resp.FechaCarga, GETDATE()) &gt; (SELECT AntiguedadArchivosABorrar FROM ETL_Parametros_Operacion_Plasticaucho);" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
</DTS:ObjectData>
</DTS:Executable>
</DTS:Executables>
<DTS:PrecedenceConstraints>
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Restricción]"
DTS:CreationName=""
DTS:DTSID="{A4AF051D-68FE-4FBF-BAC3-334747947566}"
DTS:From="Package\DepurarPendientesXProcesar"
DTS:LogicalAnd="True"
DTS:ObjectName="Restricción"
DTS:To="Package\DeprarRespuestaPedido" />
</DTS:PrecedenceConstraints>
<DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
<!--Esta sección CDATA contiene la información de diseño del paquete. Esta sección incluye información como, por ejemplo, las coordenadas (x,y), el ancho y el alto.-->
<!--Si edita manualmente esta sección y comete un error, puede eliminarlo. -->
<!--El paquete podrá cargarse normalmente, pero se perderá la información de diseño anterior y el diseñador reorganizará los elementos automáticamente en la superficie de diseño.-->
<Objects
Version="8">
<!--Cada uno de los nodos siguientes contiene propiedades que no afectan al comportamiento en tiempo de ejecución.-->
<Package
design-time-name="Package">
<LayoutInfo>
<GraphLayout
Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
<NodeLayout
Size="253,42"
Id="Package\DeprarRespuestaPedido"
TopLeft="281,189" />
<NodeLayout
Size="227,42"
Id="Package\DepurarPendientesXProcesar"
TopLeft="296,119" />
<EdgeLayout
Id="Package.PrecedenceConstraints[Restricción]"
TopLeft="408.5,161">
<EdgeLayout.Curve>
<mssgle:Curve
StartConnector="{assembly:Null}"
EndConnector="0,28"
Start="0,0"
End="0,20.5">
<mssgle:Curve.Segments>
<mssgle:SegmentCollection
Capacity="5">
<mssgle:LineSegment
End="0,20.5" />
</mssgle:SegmentCollection>
</mssgle:Curve.Segments>
</mssgle:Curve>
</EdgeLayout.Curve>
<EdgeLayout.Labels>
<EdgeLabelCollection />
</EdgeLayout.Labels>
</EdgeLayout>
</GraphLayout>
</LayoutInfo>
</Package>
</Objects>]]></DTS:DesignTimeProperties>
</DTS:Executable>
\ No newline at end of file
...@@ -2,38 +2,43 @@ ...@@ -2,38 +2,43 @@
<BuildLog xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BuildLog xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProjectInfo> <ProjectInfo>
<Name>CrearDevolucion</Name> <Name>CrearDevolucion</Name>
<LastWriteTime>2025-04-10T00:23:53.5793529Z</LastWriteTime> <LastWriteTime>2025-04-10T22:25:55.5670893Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel> <LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectInfo> </ProjectInfo>
<LastBuildInfos> <LastBuildInfos>
<ProjectBuildItemInfo> <ProjectBuildItemInfo>
<Name>01 ObteneToken.dtsx</Name> <Name>01 ObteneToken.dtsx</Name>
<LastWriteTime>2025-04-09T21:21:58.4400453Z</LastWriteTime> <LastWriteTime>2025-04-10T22:03:14.4007448Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel> <LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectBuildItemInfo> </ProjectBuildItemInfo>
<ProjectBuildItemInfo> <ProjectBuildItemInfo>
<Name>02 ImportarDevolucion.dtsx</Name> <Name>02 ImportarDevolucion.dtsx</Name>
<LastWriteTime>2025-04-10T00:07:09.3099302Z</LastWriteTime> <LastWriteTime>2025-04-10T21:55:35.2624589Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel> <LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectBuildItemInfo> </ProjectBuildItemInfo>
<ProjectBuildItemInfo> <ProjectBuildItemInfo>
<Name>04 EnviarArchivo.dtsx</Name> <Name>03 ImportarDetalleIngresoDevolucion.dtsx</Name>
<LastWriteTime>2025-04-10T00:07:09.2939821Z</LastWriteTime> <LastWriteTime>2025-04-10T22:25:51.4023305Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel> <LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectBuildItemInfo> </ProjectBuildItemInfo>
<ProjectBuildItemInfo> <ProjectBuildItemInfo>
<Name>05 EjecutarEnviarPedidos.dtsx</Name> <Name>04 EjecutarEnviarPedidos.dtsx</Name>
<LastWriteTime>2025-04-10T00:22:07.4606709Z</LastWriteTime> <LastWriteTime>2025-04-10T22:02:39.6924872Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel> <LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectBuildItemInfo> </ProjectBuildItemInfo>
<ProjectBuildItemInfo> <ProjectBuildItemInfo>
<Name>Devoluciones.dtsx</Name> <Name>05 RespuestaDevoluciones.dtsx</Name>
<LastWriteTime>2025-04-10T00:24:12.0457528Z</LastWriteTime> <LastWriteTime>2025-04-10T13:32:51.1899357Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel> <LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectBuildItemInfo> </ProjectBuildItemInfo>
<ProjectBuildItemInfo> <ProjectBuildItemInfo>
<Name>03 ImportarDetalleIngresoDevolucion.dtsx</Name> <Name>06 TareaDepurar.dtsx</Name>
<LastWriteTime>2025-04-10T00:04:03.7875878Z</LastWriteTime> <LastWriteTime>2025-04-10T13:49:18.5493021Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectBuildItemInfo>
<ProjectBuildItemInfo>
<Name>Devoluciones-erp.dtsx</Name>
<LastWriteTime>2025-04-10T22:27:01.4688416Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel> <LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
</ProjectBuildItemInfo> </ProjectBuildItemInfo>
</LastBuildInfos> </LastBuildInfos>
......
<?xml version="1.0"?>
<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
DTS:refId="Package"
DTS:CreationDate="4/9/2025 7:22:46 PM"
DTS:CreationName="Microsoft.Package"
DTS:CreatorComputerName="A1529477"
DTS:CreatorName="REDSISBAQ\asistenteinde"
DTS:DTSID="{9E9C5888-EBA7-4643-9F47-5A3D48719470}"
DTS:ExecutableType="Microsoft.Package"
DTS:LastModifiedProductVersion="16.0.5685.0"
DTS:LocaleID="9226"
DTS:ObjectName="Devoluciones-erp"
DTS:PackageType="5"
DTS:VersionBuild="6"
DTS:VersionGUID="{DBF08777-B040-48AA-90D1-F753DE945064}">
<DTS:Property
DTS:Name="PackageFormatVersion">8</DTS:Property>
<DTS:Variables />
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\EjecutarImporarDevoluciones"
DTS:CreationName="Microsoft.ExecutePackageTask"
DTS:Description="Execute Package Task"
DTS:DTSID="{864BCA5A-2DFF-4669-87B4-D90D5D16BC37}"
DTS:ExecutableType="Microsoft.ExecutePackageTask"
DTS:LocaleID="-1"
DTS:ObjectName="EjecutarImporarDevoluciones"
DTS:TaskContact="Microsoft Corporation; Microsoft SQL Server; Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
<DTS:Variables />
<DTS:ObjectData>
<ExecutePackageTask>
<UseProjectReference>True</UseProjectReference>
<PackageName>02 ImportarDevolucion.dtsx</PackageName>
</ExecutePackageTask>
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\EjecutarImportarDetalleDevolucion"
DTS:CreationName="Microsoft.ExecutePackageTask"
DTS:Description="Execute Package Task"
DTS:DTSID="{E7F64281-A64A-4FF5-9D92-E09C82080506}"
DTS:ExecutableType="Microsoft.ExecutePackageTask"
DTS:LocaleID="-1"
DTS:ObjectName="EjecutarImportarDetalleDevolucion"
DTS:TaskContact="Microsoft Corporation; Microsoft SQL Server; Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
<DTS:Variables />
<DTS:ObjectData>
<ExecutePackageTask>
<UseProjectReference>True</UseProjectReference>
<PackageName>03 ImportarDetalleIngresoDevolucion.dtsx</PackageName>
</ExecutePackageTask>
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Execute Package Task"
DTS:CreationName="Microsoft.ExecutePackageTask"
DTS:Description="Execute Package Task"
DTS:DTSID="{59468A02-9AC2-43CF-9FA0-8FE0B38B3B15}"
DTS:ExecutableType="Microsoft.ExecutePackageTask"
DTS:LocaleID="-1"
DTS:ObjectName="Execute Package Task"
DTS:TaskContact="Microsoft Corporation; Microsoft SQL Server; Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
<DTS:Variables />
<DTS:ObjectData>
<ExecutePackageTask>
<UseProjectReference>True</UseProjectReference>
<PackageName>04 EjecutarEnviarPedidos.dtsx</PackageName>
</ExecutePackageTask>
</DTS:ObjectData>
</DTS:Executable>
</DTS:Executables>
<DTS:PrecedenceConstraints>
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Restricción]"
DTS:CreationName=""
DTS:DTSID="{C343EA20-1DCA-4B84-85C7-222F11097806}"
DTS:From="Package\EjecutarImporarDevoluciones"
DTS:LogicalAnd="True"
DTS:ObjectName="Restricción"
DTS:To="Package\EjecutarImportarDetalleDevolucion" />
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Restricción 1]"
DTS:CreationName=""
DTS:DTSID="{AEE93833-617A-45C7-B5D7-78BB6E5D3375}"
DTS:From="Package\EjecutarImportarDetalleDevolucion"
DTS:LogicalAnd="True"
DTS:ObjectName="Restricción 1"
DTS:To="Package\Execute Package Task" />
</DTS:PrecedenceConstraints>
<DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>
<!--Esta sección CDATA contiene la información de diseño del paquete. Esta sección incluye información como, por ejemplo, las coordenadas (x,y), el ancho y el alto.-->
<!--Si edita manualmente esta sección y comete un error, puede eliminarlo. -->
<!--El paquete podrá cargarse normalmente, pero se perderá la información de diseño anterior y el diseñador reorganizará los elementos automáticamente en la superficie de diseño.-->
<Objects
Version="8">
<!--Cada uno de los nodos siguientes contiene propiedades que no afectan al comportamiento en tiempo de ejecución.-->
<Package
design-time-name="Package">
<LayoutInfo>
<GraphLayout
Capacity="8" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
<NodeLayout
Size="223,42"
Id="Package\EjecutarImporarDevoluciones"
TopLeft="144,64" />
<NodeLayout
Size="249,42"
Id="Package\EjecutarImportarDetalleDevolucion"
TopLeft="133,151" />
<EdgeLayout
Id="Package.PrecedenceConstraints[Restricción]"
TopLeft="256.5,106">
<EdgeLayout.Curve>
<mssgle:Curve
StartConnector="{assembly:Null}"
EndConnector="0,45"
Start="0,0"
End="0,37.5">
<mssgle:Curve.Segments>
<mssgle:SegmentCollection
Capacity="5">
<mssgle:LineSegment
End="0,37.5" />
</mssgle:SegmentCollection>
</mssgle:Curve.Segments>
</mssgle:Curve>
</EdgeLayout.Curve>
<EdgeLayout.Labels>
<EdgeLabelCollection />
</EdgeLayout.Labels>
</EdgeLayout>
<NodeLayout
Size="191,42"
Id="Package\Execute Package Task"
TopLeft="118,250" />
<EdgeLayout
Id="Package.PrecedenceConstraints[Restricción 1]"
TopLeft="257.5,193">
<EdgeLayout.Curve>
<mssgle:Curve
StartConnector="{assembly:Null}"
EndConnector="-44,57"
Start="0,0"
End="-44,49.5">
<mssgle:Curve.Segments>
<mssgle:SegmentCollection
Capacity="5">
<mssgle:LineSegment
End="0,24.5" />
<mssgle:CubicBezierSegment
Point1="0,24.5"
Point2="0,28.5"
Point3="-4,28.5" />
<mssgle:LineSegment
End="-40,28.5" />
<mssgle:CubicBezierSegment
Point1="-40,28.5"
Point2="-44,28.5"
Point3="-44,32.5" />
<mssgle:LineSegment
End="-44,49.5" />
</mssgle:SegmentCollection>
</mssgle:Curve.Segments>
</mssgle:Curve>
</EdgeLayout.Curve>
<EdgeLayout.Labels>
<EdgeLabelCollection />
</EdgeLayout.Labels>
</EdgeLayout>
</GraphLayout>
</LayoutInfo>
</Package>
</Objects>]]></DTS:DesignTimeProperties>
</DTS:Executable>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment