DataSource de tarefas

Conceito

O DataSource de Tarefas (-1894834018 /* /products/INTEQtask/library/dataSources/Tarefa.ids */) tem como objetivo resgatar os dados relativos as tarefas que atendem aos filtros informados.

Filtros

Este DataSource fornece acesso a filtros dos campos visíveis das classes a seguir:

  • -1897054143, Tarefa, prefixo: TAR;

Colunas

Este DataSource também fornece acesso aos campos visíveis das classes a seguir:

  • -1897054143, Tarefa, prefixo: TAR;

Exemplo de uso do DataSource de tarefas

__includeOnce(-1898141835); // /products/INTEQengine/configuration/iDBCsql library.ijs

__includeOnce(-1898142156); /* /products/INTEQengine/library/dataSource/DataSource.ijs */

var dts = new DataSource(-1894834018 /*/products/INTEQtask/library/dataSources/Tarefa.idsq*/);

var filtros = dts.createFilters([

{name: "TAR_DIGITACAO_START",

operator: ">=",

value: new Date(2012,4,1)},

{name: "TAR_DIGITACAO_END",

operator: "<=",

value: new Date(2012,4,30)}

]);

var colunas = dts.createColumns([{name: "TAR_CHAVE"},

{name: "TAR_ESTABELECI.CODIGO"},

{name: "TAR_CLASSE.NOME"},

{name: "TAR_SITUACAO.CODIGO"},

{name: "TAR_DIGITACAO"},

{name: "TAR_PREVISAO"},

{name: "TAR_RECURSO.CODIGO"},

{name: "TAR_LOTE.CODIGO"},

{name: "TAR_SOLICITANTE.CODIGO"}]);

dts.getDataSet(filtros, colunas);

Script envolvido

-1894834018 /* /products/INTEQtask/library/dataSources/Tarefa.ids */)