modificaciones facturacion electronica

This commit is contained in:
Luis
2026-10-15 16:07:57 -04:00
parent 07649704b1
commit ba982b7635
158 changed files with 206301 additions and 27838 deletions
@@ -0,0 +1,20 @@
{
FUNCION : ambienteFacturacion
OBETIVO : Identificar el ambiente a enviar los XML a la dgii
DESARROLLADO POR: Ing. Juan Soto
FECHA : 14/02/2026
}
FUNCTION ambiente()
DEFINE qcompania STRING,
ambiente VARCHAR(50)
LET qcompania = "select a.ambienteDgii FROM ndeco.dbo.companias a"
PREPARE bcompania FROM qcompania
EXECUTE bcompania INTO ambiente
RETURN ambiente
END FUNCTION