Pierre 6/28/2023 9:27:11 AM Hello Francisco
I have struggled just as you do.
The way I do it now is the following: I create a variable called [Filter], which I build with regular characters, ex (with date):
"[@Fact-HA]<>'"&[DEV@FactHAANePasAllouer]&"' and [@Organisation]='" & [@Organisation] & "' and [@Fournisseur]='" & [@Fournisseur] & "' and [@Société Destinataire (Nous)]='" & [@Nous] & "' and [#Achat]=0 and [Date de Facture]>=#" & Nz(Left(Format([Date de Commande],"s"),10),'2021-01-01') & "# and [Données Facture]='Validé'"
In the call URL, I use this variable and let TeamDesk convert it: <%*Replace(URLRoot(),"db","api/v2")%>/t_12345678/select.json?column=%40Fact-HA&filter=<%[Filter]%>
Kind regards,
Pierre
|