How to let DA Schema Modeler remember the parameter type
We use da schemas with custom SQLs and some integer parameters
The SQL might look like this
SELECT * FROM [NarcoregUploads]
LEFT JOIN vProductDetailLightML ON nru_prd_primkey=prd_primkey
AND ( (:pnm_frans=-1) OR (pnm_frans=:pnm_frans) )
AND ( (:pnm_nederlands=-1) OR (pnm_nederlands=:pnm_nederlands) )
WHERE
{WHERE}
To test the SQL, create the fields and update the mapping we use the preview button.
However we have to specify the parameter type each time.
This does not get persisted (see screenshot)
How can we persist this?
When I define it there I it appears to persist now.
However, I believe I have done this in the past and the info was forgotten.
We get many errors in the schema modeler, maybe after some errors the data gets wiped.
I’ll keep an eye on it for now