Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa | |||
ada:sicoferp:bpp:doctecnica:portal:contratistas [2022/05/05 14:24] 192.168.177.16 |
ada:sicoferp:bpp:doctecnica:portal:contratistas [2022/05/05 14:24] (actual) 192.168.177.16 |
||
---|---|---|---|
Línea 20: | Línea 20: | ||
Para que el documento soporte funcione tener en cuenta el parámetro contrataciones.PARAMETROS_CONTRATISTAS (DOCUMENTOSOPORTEPATH) | Para que el documento soporte funcione tener en cuenta el parámetro contrataciones.PARAMETROS_CONTRATISTAS (DOCUMENTOSOPORTEPATH) | ||
- | Para consultar un comprobante se obtiene el egreso | ||
- | |||
- | SELECT CONTRATACIONES.F_CODIGO_EGRESO(1022241, 63955) as codigo FROM DUAL ; | ||
- | SELECT CODIGO_INTERNO_DOCUMENTO,CODIGO_COMERCIAL, CODIGO_DET_COM_DOCUMENTO, CONSECUTIVO, | ||
- | CODIGO_ASIENTO FROM sfcomercial.det_comercial_documentos WHERE CODIGO_COMERCIAL=1022241; | ||
- | | ||
- | SELECT * FROM PRESUP01.V_ORDEN_PAGO_RELACIONA_EGRESO | ||
- | WHERE CODIGO_ORDEN_PAGO = 61216 AND CODIGO_TERCERO = 63955 ; | ||
- | |||
- | luego con el comprobante busca el estado | ||
- | COMPROBANTE_DE_EGRESO | ||
- | para imprimir el reporte el estado deebe ser S, X, D |