When I do an export of Supplier orders and order lines, I get an export file. When I save this profile and try to generate the export again using this Predefined Export Profile, I get an SQL-error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 - sql=SELECT DISTINCT s.rowid as s_rowid, s.nom as s_nom, f.ref as f_ref, f.ref_supplier as f_ref_supplier, f.total_ht as f_total_ht, f.fk_statut as f_fk_statut FROM llx_societe as s LEFT JOIN llx_c_pays as c ON s.fk_pays = c.rowid, llx_commande_fournisseur as f, llx_commande_fournisseurdet as fd LEFT JOIN llx_product as p on (fd.fk_product = p.rowid) WHERE f.fk_soc = s.rowid AND f.rowid = fd.fk_commande AND f.entity = 1 and
Don't know if the query is truncated in the system (then this is surely a systax error because "and" is not a correct end) or only in the display.
↧