This commit is contained in:
Adisak 2026-04-24 16:15:47 +07:00
parent 2cbc6569e3
commit 8705d1abf5
2 changed files with 8 additions and 3 deletions

View file

@ -64,7 +64,7 @@ SET p.posMasterNo = TRIM(CONCAT(
ELSE c4.orgChild4ShortName
END,
' ',
pm.posMasterNo
CONCAT_WS('', pm.posMasterNoPrefix, pm.posMasterNo, pm.posMasterNoSuffix)
))
WHERE p.posMasterNo IS NULL;