This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| -- ============================================= | |
| -- Author: Luis Antonio Celis Molina | |
| -- Create date: 04/01/2014 | |
| -- Description: Clase para reiniciar la bandera que indica el otorgar los respectivos puntos por iniciar sesion | |
| -- La ejecución es administrada mediante un cron | |
| -- ============================================= | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| -- ============================================= | |
| -- Author: Luis Antonio Celis Molina | |
| -- Create date: 15/03/2013 | |
| -- Description: Ejemplo de como consumir un Webservices XML | |
| -- ============================================= | |
| */ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| -- ============================================= | |
| -- Author: Luis Antonio Celis Molina | |
| -- Create date: 20/03/2010 | |
| -- Description: Limpia cadena y regresa sin acentos | |
| -- Parametros: @text string con la variable a limpiar | |
| -- ============================================= | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| -- ============================================= | |
| -- Author: Luis Antonio Celis Molina | |
| -- Create date: 20/06/2013 | |
| -- Description: Función para enviar mediante la libreria cURL | |
| -- Parametros: @param url Url de envio | |
| -- @param postfields Array o query string con las variables a enviar | |
| -- @urlencoded Enviar url encoded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ============================================= | |
| -- Author: Luis Antonio Celis Molina | |
| -- Create date: 05/11/2013 | |
| -- Description: | |
| -- ============================================= | |
| */ | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| USE [MYDB] | |
| GO | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| -- ============================================= | |
| -- Author: Luis Antonio Celis Molina | |
| -- Create date: 20/06/2013 | |
| -- Description: Procedimiento para procesar el archivo EDI correspondiente a las ordenes de compra, ordenes de pago y controles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| USE [MYDB] | |
| GO | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| -- ============================================= | |
| -- Author: Luis Antonio Celis Molina | |
| -- Create date: 17/Junio/2013 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| USE [MYDB] | |
| GO | |
| /****** Object: StoredProcedure [dbo].[ns_txt_file_read] Script Date: 02/28/2013 08:35:42 ******/ | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| CREATE PROC [dbo].[ns_txt_file_read] | |
| @nombre_archivo_so NVARCHAR(256) |