From 26faf4a2ed883b7256c10318277ad9af2ff028b9 Mon Sep 17 00:00:00 2001 From: Enrique Barcelli Date: Wed, 8 Dec 2021 22:02:40 +0800 Subject: [PATCH] Change query output to varchar instead of jsonb --- src/org/openbravo/kikobar/intfactsunat/query-facturador.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/openbravo/kikobar/intfactsunat/query-facturador.sql b/src/org/openbravo/kikobar/intfactsunat/query-facturador.sql index c23ead7..9d75625 100644 --- a/src/org/openbravo/kikobar/intfactsunat/query-facturador.sql +++ b/src/org/openbravo/kikobar/intfactsunat/query-facturador.sql @@ -61,7 +61,7 @@ ad_client.name ='BLB' --/* select - jsonb_build_object( + (jsonb_build_object( 'cabecera', jsonb_agg(DISTINCT jsonb_build_object( 'ivoiceid',c_invoice_id, @@ -212,6 +212,7 @@ select ) )->0 ) + )::varchar --*/