I've a TmyQuery component (qrPoseContratParOS) using this sql statement :
Code: Select all
select posecontratparos.*,
(SELECT
SUM((MontantFacturePaiementDirectHT + MontantFactureFermobaHT))
FROM
posefactureparcontratos
WHERE
posefactureparcontratos.IdContratPose = posecontratparos.IdContratPose
GROUP BY
posefactureparcontratos.IdContratPose
) AS TotalPaiementDirectHT
from
posecontratparos
where IdOrdreService = :IdOrdreServiceAt run time, when opening the query, i'm getting this exception :
'qrPoseContratParOS: field 'TotalPaiementDirectHT' not found
If I remove the 'TotalPaiementDirectHT' persistent field this error is no more raised. It looks like a regression since it was corrected in some version ago.
If you found the issue, can you provide me a fix for this ? (I own the source code). Thank you in advance.
PS : I had a 'similar' error in the past see my topic http://crlab.com/forums/viewtopic.php?t=7436&highlight=