feat: sincro client supplier sage refs #7595
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-06-20 14:48:32 +02:00
parent e0d105313d
commit 414bf9eb03
2 changed files with 2 additions and 2 deletions

View File

@ -426,6 +426,8 @@ BEGIN
SELECT vCompanyCode, `type`, idClientSupplier, FALSE
FROM tmp.clientSupplier;
DROP TEMPORARY TABLE tmp.clientSupplier;
CALL pgc_add(vCompanyFk);
-- Elimina cuentas contables que no se utilizarán en la importación
DELETE pc

View File

@ -122,7 +122,5 @@ BEGIN
LEFT JOIN vn.supplierAccount sa ON sa.supplierFk = s.id
WHERE cs.type = 'P'
GROUP BY s.id;
DROP TEMPORARY TABLE IF EXISTS tmp.clientSupplier;
END$$
DELIMITER ;