Files
DECOMARMOL/PROYECTO/otrodir/ambienteFacturacion.4gl.bak_qr_20261012
T

20 lines
463 B
Plaintext

{
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