SETFILTER
void SETFILTER(string FieldName, string Filter = "", string replaceString1, string replaceString2, ...);
Utilice esta función para establecer un filtro.
This is wrong:
SalesHeader:SETFILTER('Posting Date',
'14.03.2014..');
La cadena de filtro debe tener sólo operadores lógicos y/o parámetros %1, %2, pero no datos. Pon siempre datos en los argumentos.
SalesHeader:SETFILTER('Posting Date','%1..',
FromDate);
Establece un filtro que comienza con el valor FromDate.
SalesHeader:SETFILTER('Posting Date','..%1',
ToDate);
Establece un filtro que termina con el valor ToDate.
SalesHeader:SETFILTER('Posting Date', '%1..%2',
FromDate, ToDate);
Establecer un filtro a partir de FromDate hasta ToDate
