change c.fi to s.nif
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pau 2023-01-24 08:02:42 +01:00
parent 7e98a255b8
commit 4228c1e49c
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ BEGIN
s.name,
IFNULL(s.street, ''),
s.account,
TRIM(IF(s.isVies, CONCAT(co.code,c.fi), s.nif)),
TRIM(IF(s.isVies, CONCAT(co.code,s.nif), s.nif)),
IF(n.NacionCEE, TRIM(CONCAT(co.code, IF(co.code = LEFT(s.nif, 2), MID(s.nif, 3, LENGTH(s.nif) - 1), s.nif))), ''),
IFNULL(s.postCode,''),
IFNULL(s.city, ''),