20240513@080334.1474 sr0j3qnm17er9m8rkjvcnhrp98 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240513@080334.1473 sr0j3qnm17er9m8rkjvcnhrp98 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.1491 sr0j3qnm17er9m8rkjvcnhrp98 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.1496 sr0j3qnm17er9m8rkjvcnhrp98 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b267846641bb461d','aut6641b022126641bb45a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.1501 sr0j3qnm17er9m8rkjvcnhrp98 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b022126641bb45a6','2403283','wait',39,'ari17112337378,753000005')
20240513@080334.1519 sr0j3qnm17er9m8rkjvcnhrp98 Query : use flama_phc
20240513@080334.1522 sr0j3qnm17er9m8rkjvcnhrp98 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080334.1535 sr0j3qnm17er9m8rkjvcnhrp98 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1587';
20240513@080334.1550 sr0j3qnm17er9m8rkjvcnhrp98 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1587';
20240513@080334.1568 sr0j3qnm17er9m8rkjvcnhrp98 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1587';
20240513@080334.1588 sr0j3qnm17er9m8rkjvcnhrp98 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1587';
20240513@080334.2008 jppb1isq9nvo8g47p59o7mjnpr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080334.2021 jppb1isq9nvo8g47p59o7mjnpr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080334.2040 jppb1isq9nvo8g47p59o7mjnpr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240513@080334.2078 jppb1isq9nvo8g47p59o7mjnpr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240513@080334.2097 jppb1isq9nvo8g47p59o7mjnpr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240513@080334.2111 jppb1isq9nvo8g47p59o7mjnpr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240513@080334.2127 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.2131 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080334.2144 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.2148 jppb1isq9nvo8g47p59o7mjnpr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240513@080334.2175 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240513@080334.2323 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2223.00.1' and bi.lordem =1
20240513@080334.2679 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240513@080334.2706 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2223.00.1' and bi.lordem =1
20240513@080334.2713 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240513@080334.2881 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2224.00.1' and bi.lordem =2
20240513@080334.3238 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240513@080334.3249 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2224.00.1' and bi.lordem =2
20240513@080334.3255 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240513@080334.3408 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2221.00.1' and bi.lordem =3
20240513@080334.3733 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240513@080334.3746 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2221.00.1' and bi.lordem =3
20240513@080334.3753 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240513@080334.3938 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2222.00.1' and bi.lordem =4
20240513@080334.4277 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240513@080334.4289 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403284 and bi.ref ='324.2222.00.1' and bi.lordem =4
20240513@080334.4296 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4300 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080334.4313 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4317 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080334.4327 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4330 jppb1isq9nvo8g47p59o7mjnpr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080334.4350 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080334.4366 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4369 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240513@080334.4381 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4384 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080334.4399 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4402 jppb1isq9nvo8g47p59o7mjnpr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080334.4414 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4417 jppb1isq9nvo8g47p59o7mjnpr Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240513@080334.4580 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.4584 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from td where ndoc = 39
20240513@080334.4595 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080334.4619 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080334.4634 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080334.4652 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080334.4671 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080334.4696 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080334.4708 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080334.4717 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080334.4795 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080334.4803 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080334.4815 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080334.4824 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080334.4987 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080334.5001 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080334.5033 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080334.5038 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080334.5042 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080334.5047 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080334.5053 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080334.5058 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080334.5062 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b999066641bb4673',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080334.5313 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080334.5329 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080334.5342 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080334.5358 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b999066641bb4673',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1265,101597,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080334.5616 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.5620 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20240513@080334.5632 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20240513@080334.5777 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.5789 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.5811 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.5823 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.5827 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301281500a'
20240513@080334.5842 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.5852 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.5866 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.5888 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b206546641bb468e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080334.6104 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.6120 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.6124 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b206546641bb468e','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.6129 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.6132 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20240513@080334.6142 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20240513@080334.6152 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.6163 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.6184 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.6196 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.6199 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301281500a'
20240513@080334.6209 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.6218 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.6230 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.6250 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b533106641bb4697',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240513@080334.6467 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.6481 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.6485 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b533106641bb4697','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.6489 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.6492 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240513@080334.6503 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20240513@080334.6647 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.6660 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.6683 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.6694 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.6699 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301281600a'
20240513@080334.6709 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.6722 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.6734 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.6755 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b759156641bb46a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240513@080334.6975 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.6989 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.6993 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b759156641bb46a4','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.6997 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.7000 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240513@080334.7010 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20240513@080334.7020 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.7032 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.7053 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.7065 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.7069 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301281600a'
20240513@080334.7077 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.7086 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.7119 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.7140 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b349106641bb46ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240513@080334.7371 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.7391 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.7478 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b349106641bb46ad','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.7483 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.7486 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240513@080334.7497 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20240513@080334.7671 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.7684 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.7711 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.7723 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.7727 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240513@080334.7737 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.7746 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.7757 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.7778 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b514716641bb46bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240513@080334.7987 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.8001 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.8005 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b514716641bb46bd','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.8009 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.8013 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240513@080334.8022 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20240513@080334.8032 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.8044 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.8065 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.8076 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.8080 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240513@080334.8089 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.8098 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.8109 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.8130 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b764306641bb46c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240513@080334.8337 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.8351 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.8355 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b764306641bb46c5','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.8359 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.8363 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240513@080334.8374 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20240513@080334.8518 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.8531 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.8553 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.8565 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.8569 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2300829100a'
20240513@080334.8591 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.8602 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.8613 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.8633 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b988696641bb46d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240513@080334.8841 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.8854 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.8858 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b988696641bb46d2','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.8862 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.8864 jppb1isq9nvo8g47p59o7mjnpr Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240513@080334.8874 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20240513@080334.8884 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.8896 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080334.8916 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.8927 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080334.8930 jppb1isq9nvo8g47p59o7mjnpr Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2300829100a'
20240513@080334.8939 jppb1isq9nvo8g47p59o7mjnpr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080334.8948 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080334.8959 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080334.8980 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b371406641bb46da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6641b999066641bb4673' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240513@080334.9188 jppb1isq9nvo8g47p59o7mjnpr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080334.9201 jppb1isq9nvo8g47p59o7mjnpr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080334.9205 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b371406641bb46da','aut6641b999066641bb4673' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080334.9209 jppb1isq9nvo8g47p59o7mjnpr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b999066641bb4673','2403284','wait',39,'ari17112337378,753000005')
20240513@080334.9226 jppb1isq9nvo8g47p59o7mjnpr Query : use flama_phc
20240513@080334.9228 jppb1isq9nvo8g47p59o7mjnpr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080334.9239 jppb1isq9nvo8g47p59o7mjnpr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240513@080334.9254 jppb1isq9nvo8g47p59o7mjnpr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240513@080334.9272 jppb1isq9nvo8g47p59o7mjnpr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240513@080334.9283 jppb1isq9nvo8g47p59o7mjnpr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240513@080334.9635 pvsog2265i653qjcg01a1cvs8u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080334.9658 pvsog2265i653qjcg01a1cvs8u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080334.9675 pvsog2265i653qjcg01a1cvs8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240513@080334.9719 pvsog2265i653qjcg01a1cvs8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240513@080334.9738 pvsog2265i653qjcg01a1cvs8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240513@080334.9750 pvsog2265i653qjcg01a1cvs8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240513@080334.9765 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080334.9768 pvsog2265i653qjcg01a1cvs8u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080334.9780 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080334.9783 pvsog2265i653qjcg01a1cvs8u Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240513@080334.9808 pvsog2265i653qjcg01a1cvs8u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240513@080335.1103 pvsog2265i653qjcg01a1cvs8u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403285 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240513@080335.1469 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1473 pvsog2265i653qjcg01a1cvs8u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080335.1486 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1489 pvsog2265i653qjcg01a1cvs8u Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080335.1498 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1501 pvsog2265i653qjcg01a1cvs8u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080335.1514 pvsog2265i653qjcg01a1cvs8u Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080335.1528 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1531 pvsog2265i653qjcg01a1cvs8u Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240513@080335.1540 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1543 pvsog2265i653qjcg01a1cvs8u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080335.1561 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1563 pvsog2265i653qjcg01a1cvs8u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080335.1574 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1577 pvsog2265i653qjcg01a1cvs8u Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240513@080335.1588 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.1590 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from td where ndoc = 39
20240513@080335.1688 pvsog2265i653qjcg01a1cvs8u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080335.1701 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080335.1714 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080335.1741 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080335.1754 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080335.1798 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080335.1812 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080335.1822 pvsog2265i653qjcg01a1cvs8u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080335.1900 pvsog2265i653qjcg01a1cvs8u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080335.1909 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080335.1926 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080335.1936 pvsog2265i653qjcg01a1cvs8u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b083506641bb472c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080335.2083 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080335.2106 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080335.2135 pvsog2265i653qjcg01a1cvs8u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080335.2140 pvsog2265i653qjcg01a1cvs8u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080335.2149 pvsog2265i653qjcg01a1cvs8u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080335.2154 pvsog2265i653qjcg01a1cvs8u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080335.2159 pvsog2265i653qjcg01a1cvs8u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080335.2164 pvsog2265i653qjcg01a1cvs8u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080335.2169 pvsog2265i653qjcg01a1cvs8u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b083506641bb472c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080335.2459 pvsog2265i653qjcg01a1cvs8u Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080335.2476 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080335.2490 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080335.2508 pvsog2265i653qjcg01a1cvs8u Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b083506641bb472c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1266,101597,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080335.2782 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.2786 pvsog2265i653qjcg01a1cvs8u Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240513@080335.2799 pvsog2265i653qjcg01a1cvs8u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240513@080335.2947 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.2960 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080335.2985 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.2998 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080335.3002 pvsog2265i653qjcg01a1cvs8u Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240513@080335.3013 pvsog2265i653qjcg01a1cvs8u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080335.3023 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.3035 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080335.3058 pvsog2265i653qjcg01a1cvs8u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b307896641bb4749',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6641b083506641bb472c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080335.3284 pvsog2265i653qjcg01a1cvs8u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.3299 pvsog2265i653qjcg01a1cvs8u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080335.3304 pvsog2265i653qjcg01a1cvs8u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b307896641bb4749','aut6641b083506641bb472c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080335.3308 pvsog2265i653qjcg01a1cvs8u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b083506641bb472c','2403285','wait',39,'ari17112337378,753000005')
20240513@080335.3324 pvsog2265i653qjcg01a1cvs8u Query : use flama_phc
20240513@080335.3327 pvsog2265i653qjcg01a1cvs8u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080335.3339 pvsog2265i653qjcg01a1cvs8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240513@080335.3353 pvsog2265i653qjcg01a1cvs8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240513@080335.3374 pvsog2265i653qjcg01a1cvs8u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240513@080335.3386 pvsog2265i653qjcg01a1cvs8u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240513@080335.3781 f8npdj85ff3a523491eta4n25e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080335.3795 f8npdj85ff3a523491eta4n25e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080335.3813 f8npdj85ff3a523491eta4n25e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240513@080335.3852 f8npdj85ff3a523491eta4n25e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240513@080335.3874 f8npdj85ff3a523491eta4n25e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240513@080335.3886 f8npdj85ff3a523491eta4n25e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240513@080335.3901 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.3904 f8npdj85ff3a523491eta4n25e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080335.3916 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.3919 f8npdj85ff3a523491eta4n25e Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240513@080335.3945 f8npdj85ff3a523491eta4n25e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240513@080335.4097 f8npdj85ff3a523491eta4n25e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403286 and bi.ref ='324.948.00.01' and bi.lordem =1
20240513@080335.4408 f8npdj85ff3a523491eta4n25e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2028.00.2'
20240513@080335.4555 f8npdj85ff3a523491eta4n25e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403286 and bi.ref ='324.2028.00.2' and bi.lordem =2
20240513@080335.5139 f8npdj85ff3a523491eta4n25e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20240513@080335.5322 f8npdj85ff3a523491eta4n25e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403286 and bi.ref ='324.681.00.01' and bi.lordem =3
20240513@080335.5657 f8npdj85ff3a523491eta4n25e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20240513@080335.5676 f8npdj85ff3a523491eta4n25e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403286 and bi.ref ='324.681.00.01' and bi.lordem =3
20240513@080335.5683 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5687 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080335.5700 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5704 f8npdj85ff3a523491eta4n25e Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080335.5714 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5717 f8npdj85ff3a523491eta4n25e Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080335.5728 f8npdj85ff3a523491eta4n25e Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080335.5743 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5746 f8npdj85ff3a523491eta4n25e Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240513@080335.5757 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5761 f8npdj85ff3a523491eta4n25e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080335.5772 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5775 f8npdj85ff3a523491eta4n25e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080335.5786 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5790 f8npdj85ff3a523491eta4n25e Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240513@080335.5802 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.5805 f8npdj85ff3a523491eta4n25e Query : select 1 valor from td where ndoc = 39
20240513@080335.5815 f8npdj85ff3a523491eta4n25e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080335.5827 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080335.5840 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080335.5871 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080335.5886 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080335.5914 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080335.5927 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080335.5937 f8npdj85ff3a523491eta4n25e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080335.6014 f8npdj85ff3a523491eta4n25e Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080335.6024 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080335.6036 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080335.6046 f8npdj85ff3a523491eta4n25e Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080335.6189 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080335.6206 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080335.6238 f8npdj85ff3a523491eta4n25e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080335.6244 f8npdj85ff3a523491eta4n25e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080335.6250 f8npdj85ff3a523491eta4n25e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080335.6255 f8npdj85ff3a523491eta4n25e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080335.6261 f8npdj85ff3a523491eta4n25e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080335.6266 f8npdj85ff3a523491eta4n25e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080335.6270 f8npdj85ff3a523491eta4n25e Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b909886641bb4790',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080335.6480 f8npdj85ff3a523491eta4n25e Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080335.6495 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080335.6509 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080335.6525 f8npdj85ff3a523491eta4n25e Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b909886641bb4790',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1267,101597,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080335.6766 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.6770 f8npdj85ff3a523491eta4n25e Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240513@080335.6782 f8npdj85ff3a523491eta4n25e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240513@080335.6931 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.6944 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080335.6971 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.6984 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080335.6989 f8npdj85ff3a523491eta4n25e Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2300909200a'
20240513@080335.7000 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080335.7011 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.7024 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080335.7050 f8npdj85ff3a523491eta4n25e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b010916641bb47ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut6641b909886641bb4790' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080335.7284 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.7299 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080335.7304 f8npdj85ff3a523491eta4n25e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b010916641bb47ab','aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080335.7308 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.7311 f8npdj85ff3a523491eta4n25e Query : select st.usalote valor from st where st.ref = '324.2028.00.2'
20240513@080335.7322 f8npdj85ff3a523491eta4n25e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2028.00.2'
20240513@080335.7479 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.7492 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080335.7516 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.7529 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080335.7534 f8npdj85ff3a523491eta4n25e Query : select sestamp valor from se where ref ='324.2028.00.2' and lote = 'r2100875100a'
20240513@080335.7563 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080335.7573 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.7586 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080335.7609 f8npdj85ff3a523491eta4n25e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b867876641bb47b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut6641b909886641bb4790' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240513@080335.7829 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.7847 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080335.7852 f8npdj85ff3a523491eta4n25e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b867876641bb47b8','aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080335.7856 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.7870 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080335.7915 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.7928 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080335.7932 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080335.7950 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.8365 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080335.9173 f8npdj85ff3a523491eta4n25e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b999746641bb47c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b909886641bb4790' ,0,0 ,2,23.00,30000,?,?,?)
20240513@080335.9385 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.9400 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080335.9404 f8npdj85ff3a523491eta4n25e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b999746641bb47c2','aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080335.9409 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080335.9412 f8npdj85ff3a523491eta4n25e Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20240513@080335.9423 f8npdj85ff3a523491eta4n25e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20240513@080335.9578 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.9591 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080335.9622 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.9634 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080335.9638 f8npdj85ff3a523491eta4n25e Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2301180300a'
20240513@080335.9651 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080335.9660 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.9672 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080335.9694 f8npdj85ff3a523491eta4n25e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b837066641bb47eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6641b909886641bb4790' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240513@080335.9908 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.9922 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080335.9927 f8npdj85ff3a523491eta4n25e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b837066641bb47eb','aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080335.9931 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080335.9944 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080335.9968 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080335.9979 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080335.9983 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080335.9991 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.3000 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080336.2400 f8npdj85ff3a523491eta4n25e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b631586641bb47f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b909886641bb4790' ,0,0 ,2,23.00,60000,?,?,?)
20240513@080336.2350 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.2500 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080336.2540 f8npdj85ff3a523491eta4n25e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b631586641bb47f3','aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080336.2580 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080336.2610 f8npdj85ff3a523491eta4n25e Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20240513@080336.2710 f8npdj85ff3a523491eta4n25e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20240513@080336.2820 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.2940 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080336.3150 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.3260 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080336.3300 f8npdj85ff3a523491eta4n25e Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2301180300a'
20240513@080336.3390 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080336.3480 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.3590 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080336.3810 f8npdj85ff3a523491eta4n25e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b233786641bb4808',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6641b909886641bb4790' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240513@080336.5880 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.6020 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080336.6070 f8npdj85ff3a523491eta4n25e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b233786641bb4808','aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080336.6110 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.6230 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080336.6450 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.6560 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080336.6600 f8npdj85ff3a523491eta4n25e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080336.6690 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.6800 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080336.7000 f8npdj85ff3a523491eta4n25e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b280106641bb4810',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b909886641bb4790' ,0,0 ,2,23.00,90000,?,?,?)
20240513@080336.9100 f8npdj85ff3a523491eta4n25e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.9230 f8npdj85ff3a523491eta4n25e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080336.9270 f8npdj85ff3a523491eta4n25e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b280106641bb4810','aut6641b909886641bb4790' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080336.9310 f8npdj85ff3a523491eta4n25e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b909886641bb4790','2403286','wait',39,'ari17112337378,753000005')
20240513@080336.9470 f8npdj85ff3a523491eta4n25e Query : use flama_phc
20240513@080336.9500 f8npdj85ff3a523491eta4n25e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080336.9620 f8npdj85ff3a523491eta4n25e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240513@080336.9760 f8npdj85ff3a523491eta4n25e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240513@080336.9930 f8npdj85ff3a523491eta4n25e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240513@080336.1005 f8npdj85ff3a523491eta4n25e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240513@080336.1730 ceokp4i7r3vbenqm2r5ap2njt2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080336.1743 ceokp4i7r3vbenqm2r5ap2njt2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080336.1761 ceokp4i7r3vbenqm2r5ap2njt2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240513@080336.1799 ceokp4i7r3vbenqm2r5ap2njt2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240513@080336.1817 ceokp4i7r3vbenqm2r5ap2njt2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240513@080336.1831 ceokp4i7r3vbenqm2r5ap2njt2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240513@080336.1847 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.1853 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080336.1865 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.1868 ceokp4i7r3vbenqm2r5ap2njt2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20240513@080336.1933 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240513@080336.2087 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403292 and bi.ref ='324.1461.00.1' and bi.lordem =1
20240513@080336.2399 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2403 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080336.2415 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2418 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080336.2427 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2429 ceokp4i7r3vbenqm2r5ap2njt2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080336.2439 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080336.2452 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2454 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20240513@080336.2561 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2564 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080336.2573 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2576 ceokp4i7r3vbenqm2r5ap2njt2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080336.2585 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2588 ceokp4i7r3vbenqm2r5ap2njt2 Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20240513@080336.2600 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.2602 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from td where ndoc = 39
20240513@080336.2612 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080336.2622 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080336.2634 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080336.2650 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080336.2663 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080336.2756 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080336.2768 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080336.2778 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080336.2851 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080336.2860 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080336.2872 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080336.2881 ceokp4i7r3vbenqm2r5ap2njt2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b148596641bb4843' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080336.3016 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080336.3029 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080336.3055 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080336.3059 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080336.3064 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080336.3069 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080336.3073 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080336.3077 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080336.3081 ceokp4i7r3vbenqm2r5ap2njt2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b148596641bb4843',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080336.3283 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080336.3298 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080336.3311 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080336.3327 ceokp4i7r3vbenqm2r5ap2njt2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b148596641bb4843',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1268,100800,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080336.3572 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.3576 ceokp4i7r3vbenqm2r5ap2njt2 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240513@080336.3587 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240513@080336.3738 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.3750 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080336.4587 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.4977 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080336.4982 ceokp4i7r3vbenqm2r5ap2njt2 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240513@080336.5013 ceokp4i7r3vbenqm2r5ap2njt2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080336.5022 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.5037 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080336.5061 ceokp4i7r3vbenqm2r5ap2njt2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b754926641bb487a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6641b148596641bb4843' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080336.5278 ceokp4i7r3vbenqm2r5ap2njt2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.5293 ceokp4i7r3vbenqm2r5ap2njt2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080336.5298 ceokp4i7r3vbenqm2r5ap2njt2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b754926641bb487a','aut6641b148596641bb4843' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080336.5302 ceokp4i7r3vbenqm2r5ap2njt2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b148596641bb4843','2403292','wait',39,'ari17112337378,753000005')
20240513@080336.5322 ceokp4i7r3vbenqm2r5ap2njt2 Query : use flama_phc
20240513@080336.5324 ceokp4i7r3vbenqm2r5ap2njt2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080336.5338 ceokp4i7r3vbenqm2r5ap2njt2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240513@080336.5359 ceokp4i7r3vbenqm2r5ap2njt2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240513@080336.5376 ceokp4i7r3vbenqm2r5ap2njt2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240513@080336.5388 ceokp4i7r3vbenqm2r5ap2njt2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240513@080336.5735 tnb50rmmkujbotuta509jmeosd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080336.5750 tnb50rmmkujbotuta509jmeosd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080336.5768 tnb50rmmkujbotuta509jmeosd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1592';
20240513@080336.5808 tnb50rmmkujbotuta509jmeosd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1592';
20240513@080336.5828 tnb50rmmkujbotuta509jmeosd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1592';
20240513@080336.5842 tnb50rmmkujbotuta509jmeosd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1592';
20240513@080336.5866 tnb50rmmkujbotuta509jmeosd Query : use flama_phc
20240513@080336.5870 tnb50rmmkujbotuta509jmeosd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080336.5883 tnb50rmmkujbotuta509jmeosd Query : use flama_phc
20240513@080336.5887 tnb50rmmkujbotuta509jmeosd Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240513@080336.5962 tnb50rmmkujbotuta509jmeosd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.02'
20240513@080336.6105 tnb50rmmkujbotuta509jmeosd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403293 and bi.ref ='324.900.94.02' and bi.lordem =1
20240513@080336.6432 tnb50rmmkujbotuta509jmeosd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240513@080336.6581 tnb50rmmkujbotuta509jmeosd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403293 and bi.ref ='324.700.94.01' and bi.lordem =2
20240513@080336.6893 tnb50rmmkujbotuta509jmeosd Query : use flama_phc
20240513@080336.6897 tnb50rmmkujbotuta509jmeosd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080336.6909 tnb50rmmkujbotuta509jmeosd Query : use flama_phc
20240513@080336.6913 tnb50rmmkujbotuta509jmeosd Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -65
20240513@080336.6968 tnb50rmmkujbotuta509jmeosd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1592';
20240513@080336.6984 tnb50rmmkujbotuta509jmeosd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1592';
20240513@080336.7355 uj1r71alvkrci0fp3850ce2d3t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080336.7369 uj1r71alvkrci0fp3850ce2d3t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080336.7388 uj1r71alvkrci0fp3850ce2d3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1593';
20240513@080336.7427 uj1r71alvkrci0fp3850ce2d3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1593';
20240513@080336.7446 uj1r71alvkrci0fp3850ce2d3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1593';
20240513@080336.7458 uj1r71alvkrci0fp3850ce2d3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1593';
20240513@080336.7474 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.7477 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080336.7489 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.7492 uj1r71alvkrci0fp3850ce2d3t Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20240513@080336.7557 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240513@080336.7710 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403296 and bi.ref ='324.5500.00.1' and bi.lordem =1
20240513@080336.8045 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240513@080336.8057 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403296 and bi.ref ='324.5500.00.1' and bi.lordem =1
20240513@080336.8062 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240513@080336.8072 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403296 and bi.ref ='324.5500.00.1' and bi.lordem =2
20240513@080336.8383 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8387 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080336.8400 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8403 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080336.8413 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8416 uj1r71alvkrci0fp3850ce2d3t Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080336.8427 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080336.8439 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8442 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20240513@080336.8553 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8556 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080336.8566 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8569 uj1r71alvkrci0fp3850ce2d3t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080336.8579 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8581 uj1r71alvkrci0fp3850ce2d3t Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20240513@080336.8594 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.8599 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from td where ndoc = 39
20240513@080336.8608 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080336.8619 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080336.8632 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080336.8648 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080336.8660 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080336.8684 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080336.8696 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080336.8704 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080336.8778 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080336.8788 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080336.8800 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080336.8810 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b235736641bb48d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080336.8958 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080336.8971 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080336.8999 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080336.9004 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080336.9008 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080336.9013 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080336.9017 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080336.9021 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080336.9025 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b235736641bb48d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080336.9235 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080336.9251 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080336.9430 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080336.9449 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b235736641bb48d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1269,102079,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080336.9698 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080336.9702 uj1r71alvkrci0fp3850ce2d3t Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240513@080336.9714 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240513@080336.9864 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.9878 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080336.9901 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080336.9913 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080336.9917 uj1r71alvkrci0fp3850ce2d3t Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240513@080336.9928 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080336.9937 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080336.9948 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080336.9974 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b629496641bb48f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b235736641bb48d4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080337.1940 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.2100 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080337.2140 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b629496641bb48f2','aut6641b235736641bb48d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080337.2200 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080337.2230 uj1r71alvkrci0fp3850ce2d3t Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240513@080337.2340 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240513@080337.2460 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.2590 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080337.2830 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.2950 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080337.2990 uj1r71alvkrci0fp3850ce2d3t Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240513@080337.3090 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080337.3190 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.3310 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080337.3540 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b577536641bb4907',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6641b235736641bb48d4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240513@080337.5670 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.5810 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080337.5850 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b577536641bb4907','aut6641b235736641bb48d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080337.5890 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080337.5920 uj1r71alvkrci0fp3850ce2d3t Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240513@080337.6020 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240513@080337.6130 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.6250 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080337.6490 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.6630 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080337.6680 uj1r71alvkrci0fp3850ce2d3t Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240513@080337.6770 uj1r71alvkrci0fp3850ce2d3t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080337.7600 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.7760 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080337.8000 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b611296641bb4912',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b235736641bb48d4' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240513@080337.1212 uj1r71alvkrci0fp3850ce2d3t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.2224 uj1r71alvkrci0fp3850ce2d3t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080337.2228 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b611296641bb4912','aut6641b235736641bb48d4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080337.2233 uj1r71alvkrci0fp3850ce2d3t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b235736641bb48d4','2403296','wait',39,'ari17112337378,753000005')
20240513@080337.2248 uj1r71alvkrci0fp3850ce2d3t Query : use flama_phc
20240513@080337.2251 uj1r71alvkrci0fp3850ce2d3t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080337.2262 uj1r71alvkrci0fp3850ce2d3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1593';
20240513@080337.2276 uj1r71alvkrci0fp3850ce2d3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1593';
20240513@080337.2292 uj1r71alvkrci0fp3850ce2d3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1593';
20240513@080337.2303 uj1r71alvkrci0fp3850ce2d3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1593';
20240513@080337.2847 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080337.2859 vk2k8bgoav9u9mol2mfjbv2t0q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080337.2876 vk2k8bgoav9u9mol2mfjbv2t0q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1594';
20240513@080337.2919 vk2k8bgoav9u9mol2mfjbv2t0q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1594';
20240513@080337.2937 vk2k8bgoav9u9mol2mfjbv2t0q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1594';
20240513@080337.2949 vk2k8bgoav9u9mol2mfjbv2t0q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1594';
20240513@080337.2964 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.2967 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080337.2979 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.2982 vk2k8bgoav9u9mol2mfjbv2t0q Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20240513@080337.3051 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240513@080337.3061 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403297 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240513@080337.3378 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240513@080337.3390 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403297 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240513@080337.3697 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3700 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080337.3714 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3718 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080337.3729 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3733 vk2k8bgoav9u9mol2mfjbv2t0q Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080337.3745 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080337.3760 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3763 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240513@080337.3864 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3867 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080337.3878 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3881 vk2k8bgoav9u9mol2mfjbv2t0q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080337.3892 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3895 vk2k8bgoav9u9mol2mfjbv2t0q Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - loja da ponte'
20240513@080337.3909 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.3912 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from td where ndoc = 39
20240513@080337.3923 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080337.3935 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080337.3948 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080337.3964 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080337.3977 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080337.4003 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080337.4016 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080337.4026 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080337.4104 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080337.4114 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080337.4127 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080337.4137 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b671486641bb4962' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080337.4280 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080337.4294 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080337.4322 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080337.4328 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080337.4334 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080337.4339 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080337.4344 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080337.4349 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080337.4354 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b671486641bb4962',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080337.4582 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080337.4599 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080337.4613 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080337.4634 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b671486641bb4962',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1270,101621,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080337.4923 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.4927 vk2k8bgoav9u9mol2mfjbv2t0q Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240513@080337.4939 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240513@080337.4951 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.4966 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080337.4992 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.5007 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080337.5011 vk2k8bgoav9u9mol2mfjbv2t0q Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301257200a'
20240513@080337.5022 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080337.5032 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.5045 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080337.5071 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b757336641bb497a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6641b671486641bb4962' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080337.5327 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.5342 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080337.5347 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b757336641bb497a','aut6641b671486641bb4962' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080337.5352 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.5365 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080337.5391 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.5403 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080337.5407 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080337.5418 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.5429 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080337.5453 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b993936641bb4984',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b671486641bb4962' ,0,0 ,2,23.00,20000,?,?,?)
20240513@080337.5666 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.5682 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080337.5687 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b993936641bb4984','aut6641b671486641bb4962' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080337.5692 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.5695 vk2k8bgoav9u9mol2mfjbv2t0q Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240513@080337.5706 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240513@080337.5719 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.5735 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080337.5759 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.5772 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080337.5776 vk2k8bgoav9u9mol2mfjbv2t0q Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301257200a'
20240513@080337.5786 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080337.5795 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.5807 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080337.5830 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b592836641bb498d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b671486641bb4962' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240513@080337.6104 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.6119 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080337.6124 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b592836641bb498d','aut6641b671486641bb4962' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080337.6129 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.6142 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080337.6166 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.6184 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080337.6189 vk2k8bgoav9u9mol2mfjbv2t0q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080337.6200 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.6217 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080337.6242 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b466916641bb4997',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b671486641bb4962' ,0,0 ,2,23.00,50000,?,?,?)
20240513@080337.6466 vk2k8bgoav9u9mol2mfjbv2t0q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.6482 vk2k8bgoav9u9mol2mfjbv2t0q Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080337.6487 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b466916641bb4997','aut6641b671486641bb4962' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080337.6491 vk2k8bgoav9u9mol2mfjbv2t0q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b671486641bb4962','2403297','wait',39,'ari17112337378,753000005')
20240513@080337.6508 vk2k8bgoav9u9mol2mfjbv2t0q Query : use flama_phc
20240513@080337.6511 vk2k8bgoav9u9mol2mfjbv2t0q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080337.6522 vk2k8bgoav9u9mol2mfjbv2t0q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1594';
20240513@080337.6536 vk2k8bgoav9u9mol2mfjbv2t0q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1594';
20240513@080337.6552 vk2k8bgoav9u9mol2mfjbv2t0q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1594';
20240513@080337.6564 vk2k8bgoav9u9mol2mfjbv2t0q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1594';
20240513@080337.6921 i667m5cfnc8kk85ef3e75hb7nm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080337.6934 i667m5cfnc8kk85ef3e75hb7nm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080337.6952 i667m5cfnc8kk85ef3e75hb7nm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1595';
20240513@080337.7175 i667m5cfnc8kk85ef3e75hb7nm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1595';
20240513@080337.7196 i667m5cfnc8kk85ef3e75hb7nm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1595';
20240513@080337.7212 i667m5cfnc8kk85ef3e75hb7nm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1595';
20240513@080337.7227 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7230 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080337.7243 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7249 i667m5cfnc8kk85ef3e75hb7nm Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20240513@080337.7320 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240513@080337.7476 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403298 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240513@080337.7798 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7836 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080337.7851 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7854 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080337.7864 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7867 i667m5cfnc8kk85ef3e75hb7nm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080337.7889 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080337.7918 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7923 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240513@080337.7933 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7936 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080337.7976 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7980 i667m5cfnc8kk85ef3e75hb7nm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080337.7990 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.7993 i667m5cfnc8kk85ef3e75hb7nm Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- barcelos entrega'
20240513@080337.8005 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.8012 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from td where ndoc = 39
20240513@080337.8096 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080337.8108 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080337.8122 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080337.8150 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080337.8164 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080337.8193 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080337.8207 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080337.8217 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080337.8310 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080337.8320 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080337.8333 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080337.8372 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b595446641bb49c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080337.8524 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080337.8545 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080337.8572 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080337.8577 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080337.8581 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080337.8689 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080337.8695 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080337.8699 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080337.8703 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b595446641bb49c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080337.8930 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080337.8953 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080337.8967 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080337.8984 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b595446641bb49c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1271,101621,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080337.9308 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080337.9312 i667m5cfnc8kk85ef3e75hb7nm Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240513@080337.9413 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20240513@080337.9596 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.9610 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080337.9632 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080337.9658 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080337.9662 i667m5cfnc8kk85ef3e75hb7nm Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20240513@080337.9673 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080337.9682 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080337.9695 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080337.9716 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b154346641bb49ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b595446641bb49c8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080338.2200 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.3600 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.4000 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b154346641bb49ec','aut6641b595446641bb49c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.5100 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.6400 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.8600 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.9700 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.1010 i667m5cfnc8kk85ef3e75hb7nm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.1100 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.1220 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.1430 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b643046641bb4a02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b595446641bb49c8' ,0,0 ,2,23.00,20000,?,?,?)
20240513@080338.3580 i667m5cfnc8kk85ef3e75hb7nm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.3720 i667m5cfnc8kk85ef3e75hb7nm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.3760 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b643046641bb4a02','aut6641b595446641bb49c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.3800 i667m5cfnc8kk85ef3e75hb7nm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b595446641bb49c8','2403298','wait',39,'ari17112337378,753000005')
20240513@080338.3950 i667m5cfnc8kk85ef3e75hb7nm Query : use flama_phc
20240513@080338.3980 i667m5cfnc8kk85ef3e75hb7nm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080338.4080 i667m5cfnc8kk85ef3e75hb7nm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1595';
20240513@080338.4220 i667m5cfnc8kk85ef3e75hb7nm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1595';
20240513@080338.4420 i667m5cfnc8kk85ef3e75hb7nm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1595';
20240513@080338.4540 i667m5cfnc8kk85ef3e75hb7nm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1595';
20240513@080338.8100 helmono7r9op6sgohu8bkn0424 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080338.8220 helmono7r9op6sgohu8bkn0424 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080338.8390 helmono7r9op6sgohu8bkn0424 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1596';
20240513@080338.8780 helmono7r9op6sgohu8bkn0424 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1596';
20240513@080338.8960 helmono7r9op6sgohu8bkn0424 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1596';
20240513@080338.9080 helmono7r9op6sgohu8bkn0424 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1596';
20240513@080338.9230 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.9260 helmono7r9op6sgohu8bkn0424 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080338.9370 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.9400 helmono7r9op6sgohu8bkn0424 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1452
20240513@080338.1003 helmono7r9op6sgohu8bkn0424 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240513@080338.1013 helmono7r9op6sgohu8bkn0424 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403299 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240513@080338.1327 helmono7r9op6sgohu8bkn0424 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240513@080338.1338 helmono7r9op6sgohu8bkn0424 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403299 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240513@080338.1645 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1649 helmono7r9op6sgohu8bkn0424 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080338.1661 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1665 helmono7r9op6sgohu8bkn0424 Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080338.1675 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1677 helmono7r9op6sgohu8bkn0424 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080338.1688 helmono7r9op6sgohu8bkn0424 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080338.1701 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1704 helmono7r9op6sgohu8bkn0424 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240513@080338.1714 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1716 helmono7r9op6sgohu8bkn0424 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080338.1726 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1729 helmono7r9op6sgohu8bkn0424 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080338.1739 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1742 helmono7r9op6sgohu8bkn0424 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - castelo branco'
20240513@080338.1755 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.1758 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from td where ndoc = 39
20240513@080338.1769 helmono7r9op6sgohu8bkn0424 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080338.1780 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080338.1792 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080338.1808 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080338.1821 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080338.1845 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080338.1858 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080338.1868 helmono7r9op6sgohu8bkn0424 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080338.1948 helmono7r9op6sgohu8bkn0424 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080338.1957 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080338.1971 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080338.1981 helmono7r9op6sgohu8bkn0424 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b556576641bb4a2d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080338.2167 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080338.2182 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080338.2212 helmono7r9op6sgohu8bkn0424 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080338.2217 helmono7r9op6sgohu8bkn0424 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080338.2222 helmono7r9op6sgohu8bkn0424 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080338.2226 helmono7r9op6sgohu8bkn0424 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080338.2231 helmono7r9op6sgohu8bkn0424 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080338.2235 helmono7r9op6sgohu8bkn0424 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080338.2239 helmono7r9op6sgohu8bkn0424 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b556576641bb4a2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080338.2467 helmono7r9op6sgohu8bkn0424 Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080338.2488 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080338.2503 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080338.2522 helmono7r9op6sgohu8bkn0424 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b556576641bb4a2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1272,101621,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080338.2777 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.2781 helmono7r9op6sgohu8bkn0424 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240513@080338.2792 helmono7r9op6sgohu8bkn0424 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240513@080338.2805 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.2819 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.2845 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.2858 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.2862 helmono7r9op6sgohu8bkn0424 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301257200a'
20240513@080338.2871 helmono7r9op6sgohu8bkn0424 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.2880 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.2892 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.2915 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b159856641bb4a46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6641b556576641bb4a2d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080338.3131 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.3146 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.3150 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b159856641bb4a46','aut6641b556576641bb4a2d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.3179 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.3193 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.3215 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.3227 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.3231 helmono7r9op6sgohu8bkn0424 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.3241 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.3254 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.3277 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b451816641bb4a4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b556576641bb4a2d' ,0,0 ,2,23.00,20000,?,?,?)
20240513@080338.3495 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.3519 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.3543 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b451816641bb4a4f','aut6641b556576641bb4a2d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.3548 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.3551 helmono7r9op6sgohu8bkn0424 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240513@080338.3562 helmono7r9op6sgohu8bkn0424 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240513@080338.3573 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.3628 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.3652 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.3705 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.3710 helmono7r9op6sgohu8bkn0424 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301257200a'
20240513@080338.3720 helmono7r9op6sgohu8bkn0424 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.3729 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.3771 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.3794 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b330776641bb4a5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b556576641bb4a2d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240513@080338.4034 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.4161 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.4166 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b330776641bb4a5b','aut6641b556576641bb4a2d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.4172 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.4250 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.4277 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.4296 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.4301 helmono7r9op6sgohu8bkn0424 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.4312 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.4326 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.4350 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b613216641bb4a69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b556576641bb4a2d' ,0,0 ,2,23.00,50000,?,?,?)
20240513@080338.4641 helmono7r9op6sgohu8bkn0424 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.4656 helmono7r9op6sgohu8bkn0424 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.4661 helmono7r9op6sgohu8bkn0424 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b613216641bb4a69','aut6641b556576641bb4a2d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.4699 helmono7r9op6sgohu8bkn0424 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b556576641bb4a2d','2403299','wait',39,'ari17112337378,753000005')
20240513@080338.4726 helmono7r9op6sgohu8bkn0424 Query : use flama_phc
20240513@080338.4729 helmono7r9op6sgohu8bkn0424 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080338.4748 helmono7r9op6sgohu8bkn0424 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1596';
20240513@080338.4766 helmono7r9op6sgohu8bkn0424 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1596';
20240513@080338.4784 helmono7r9op6sgohu8bkn0424 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1596';
20240513@080338.4800 helmono7r9op6sgohu8bkn0424 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1596';
20240513@080338.5362 vgln182tsftdujtn3rjp1qbjvd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080338.5376 vgln182tsftdujtn3rjp1qbjvd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080338.5395 vgln182tsftdujtn3rjp1qbjvd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1597';
20240513@080338.5517 vgln182tsftdujtn3rjp1qbjvd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1597';
20240513@080338.5536 vgln182tsftdujtn3rjp1qbjvd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1597';
20240513@080338.5550 vgln182tsftdujtn3rjp1qbjvd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1597';
20240513@080338.5566 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.5570 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080338.5584 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.5587 vgln182tsftdujtn3rjp1qbjvd Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20240513@080338.5654 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240513@080338.5667 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403300 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240513@080338.5991 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240513@080338.6105 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403300 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240513@080338.6515 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240513@080338.6607 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403300 and bi.ref ='324.1831.00.2' and bi.lordem =3
20240513@080338.6980 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.6984 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080338.6996 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.6999 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080338.7009 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.7012 vgln182tsftdujtn3rjp1qbjvd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080338.7023 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080338.7036 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.7039 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240513@080338.7048 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.7051 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080338.7070 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.7072 vgln182tsftdujtn3rjp1qbjvd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080338.7082 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.7085 vgln182tsftdujtn3rjp1qbjvd Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20240513@080338.7098 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.7101 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from td where ndoc = 39
20240513@080338.7110 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080338.7121 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080338.7133 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080338.7149 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080338.7161 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080338.7185 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080338.7197 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080338.7207 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080338.7283 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080338.7293 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080338.7306 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080338.7316 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b749996641bb4aaf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080338.7455 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080338.7470 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080338.7498 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080338.7503 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080338.7508 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080338.7513 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080338.7518 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080338.7523 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080338.7528 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b749996641bb4aaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080338.7743 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080338.7764 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080338.7782 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080338.7799 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b749996641bb4aaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1273,101621,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080338.8048 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.8052 vgln182tsftdujtn3rjp1qbjvd Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20240513@080338.8063 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20240513@080338.8074 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.8089 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.8111 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.8125 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.8129 vgln182tsftdujtn3rjp1qbjvd Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20240513@080338.8139 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.8148 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.8160 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.8183 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b877916641bb4ac6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b749996641bb4aaf' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080338.8395 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.8411 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.8415 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b877916641bb4ac6','aut6641b749996641bb4aaf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.8420 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.8433 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.8456 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.8468 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.8472 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.8482 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.8493 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.8517 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b423366641bb4acf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b749996641bb4aaf' ,0,0 ,2,23.00,20000,?,?,?)
20240513@080338.8745 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.8760 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.8764 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b423366641bb4acf','aut6641b749996641bb4aaf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.8769 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.8772 vgln182tsftdujtn3rjp1qbjvd Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240513@080338.8783 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240513@080338.8794 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.8806 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.8830 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.8842 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.8846 vgln182tsftdujtn3rjp1qbjvd Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301257200a'
20240513@080338.8856 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.8866 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.8878 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.8900 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b301236641bb4ad8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6641b749996641bb4aaf' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240513@080338.9113 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.9127 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.9131 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b301236641bb4ad8','aut6641b749996641bb4aaf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.9135 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.9148 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.9169 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.9182 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.9186 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.9195 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.9207 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.9231 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b484366641bb4ae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b749996641bb4aaf' ,0,0 ,2,23.00,50000,?,?,?)
20240513@080338.9448 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.9462 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.9467 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b484366641bb4ae0','aut6641b749996641bb4aaf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.9471 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080338.9474 vgln182tsftdujtn3rjp1qbjvd Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240513@080338.9516 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240513@080338.9529 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.9543 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080338.9576 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.9589 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080338.9594 vgln182tsftdujtn3rjp1qbjvd Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301257200a'
20240513@080338.9604 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080338.9637 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.9652 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080338.9686 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b760396641bb4aeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b749996641bb4aaf' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240513@080338.9911 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080338.9925 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080338.9937 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b760396641bb4aeb','aut6641b749996641bb4aaf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080338.9943 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080338.9956 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.7000 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.8400 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.8800 vgln182tsftdujtn3rjp1qbjvd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.9700 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.1100 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.1310 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b804826641bb4b02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b749996641bb4aaf' ,0,0 ,2,23.00,80000,?,?,?)
20240513@080339.3560 vgln182tsftdujtn3rjp1qbjvd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.3720 vgln182tsftdujtn3rjp1qbjvd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.3770 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b804826641bb4b02','aut6641b749996641bb4aaf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.3820 vgln182tsftdujtn3rjp1qbjvd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b749996641bb4aaf','2403300','wait',39,'ari17112337378,753000005')
20240513@080339.4100 vgln182tsftdujtn3rjp1qbjvd Query : use flama_phc
20240513@080339.4140 vgln182tsftdujtn3rjp1qbjvd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080339.4260 vgln182tsftdujtn3rjp1qbjvd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1597';
20240513@080339.4410 vgln182tsftdujtn3rjp1qbjvd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1597';
20240513@080339.4580 vgln182tsftdujtn3rjp1qbjvd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1597';
20240513@080339.4700 vgln182tsftdujtn3rjp1qbjvd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1597';
20240513@080339.1770 7lsjd8oq8fgva6bi20r8euqojt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080339.1784 7lsjd8oq8fgva6bi20r8euqojt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080339.1803 7lsjd8oq8fgva6bi20r8euqojt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1598';
20240513@080339.1842 7lsjd8oq8fgva6bi20r8euqojt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1598';
20240513@080339.1861 7lsjd8oq8fgva6bi20r8euqojt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1598';
20240513@080339.1874 7lsjd8oq8fgva6bi20r8euqojt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1598';
20240513@080339.1890 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.1893 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080339.1906 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.1909 7lsjd8oq8fgva6bi20r8euqojt Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20240513@080339.1983 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240513@080339.1994 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403304 and bi.ref ='324.727.00.01' and bi.lordem =1
20240513@080339.2307 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240513@080339.2318 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403304 and bi.ref ='324.727.00.01' and bi.lordem =1
20240513@080339.2323 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.724.00.01'
20240513@080339.2475 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403304 and bi.ref ='324.724.00.01' and bi.lordem =3
20240513@080339.2787 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240513@080339.2933 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403304 and bi.ref ='324.2232.00.1' and bi.lordem =4
20240513@080339.3238 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240513@080339.3249 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403304 and bi.ref ='324.2232.00.1' and bi.lordem =4
20240513@080339.3254 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3257 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080339.3269 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3272 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080339.3282 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3285 7lsjd8oq8fgva6bi20r8euqojt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080339.3296 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080339.3309 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3312 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 ~inactivo valor from cl where no = '100041' and estab = 0 order by inactivo desc
20240513@080339.3445 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3448 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080339.3458 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3460 7lsjd8oq8fgva6bi20r8euqojt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080339.3470 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3473 7lsjd8oq8fgva6bi20r8euqojt Query : select szadrsstamp valor from szadrs where szadrsdesc='radiobela som, lda'
20240513@080339.3485 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.3488 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from td where ndoc = 39
20240513@080339.3497 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080339.3507 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080339.3520 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080339.3534 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080339.3546 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080339.3571 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080339.3583 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080339.3592 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080339.3668 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080339.3678 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080339.3689 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080339.3699 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080339.3836 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080339.3849 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080339.3876 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080339.3881 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080339.3886 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080339.3890 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080339.3894 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080339.3898 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080339.3902 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b638626641bb4b57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080339.4124 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080339.4140 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080339.4153 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080339.4169 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b638626641bb4b57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1274,100041,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080339.4512 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.4555 7lsjd8oq8fgva6bi20r8euqojt Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240513@080339.4568 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240513@080339.4579 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.4602 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.4623 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.4642 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.4647 7lsjd8oq8fgva6bi20r8euqojt Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240513@080339.4657 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.4666 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.4678 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.4704 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b146276641bb4b71',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6641b638626641bb4b57' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080339.4939 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.4953 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.4957 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b146276641bb4b71','aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.4961 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.4979 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.5000 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.5011 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.5015 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.5030 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.5041 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.5062 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b034956641bb4b7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b638626641bb4b57' ,0,0 ,2,23.00,20000,?,?,?)
20240513@080339.5285 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.5300 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.5304 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b034956641bb4b7a','aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.5308 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.5311 7lsjd8oq8fgva6bi20r8euqojt Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240513@080339.5327 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240513@080339.5337 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.5349 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.5374 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.5385 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.5389 7lsjd8oq8fgva6bi20r8euqojt Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2301222100a'
20240513@080339.5398 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.5408 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.5421 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.5443 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b530796641bb4b84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6641b638626641bb4b57' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240513@080339.5802 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.5847 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.5852 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b530796641bb4b84','aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.5857 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.5871 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.5950 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.5966 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.5971 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.5981 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.5994 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.6017 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b004366641bb4b92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b638626641bb4b57' ,0,0 ,2,23.00,50000,?,?,?)
20240513@080339.6234 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.6249 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.6254 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b004366641bb4b92','aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.6258 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.6262 7lsjd8oq8fgva6bi20r8euqojt Query : select st.usalote valor from st where st.ref = '324.724.00.01'
20240513@080339.6273 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.724.00.01'
20240513@080339.6479 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.6494 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.6516 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.6528 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.6532 7lsjd8oq8fgva6bi20r8euqojt Query : select sestamp valor from se where ref ='324.724.00.01' and lote = '11/18'
20240513@080339.6570 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.6578 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.6589 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.6610 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b782206641bb4ba0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6641b638626641bb4b57' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240513@080339.6827 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.6842 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.6847 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b782206641bb4ba0','aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.6852 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.6856 7lsjd8oq8fgva6bi20r8euqojt Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240513@080339.6867 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20240513@080339.7014 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.7033 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.7056 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.7068 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.7073 7lsjd8oq8fgva6bi20r8euqojt Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2301141300a'
20240513@080339.7095 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.7104 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.7116 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.7138 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b174836641bb4bad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6641b638626641bb4b57' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240513@080339.7359 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.7373 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.7377 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b174836641bb4bad','aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.7381 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.7384 7lsjd8oq8fgva6bi20r8euqojt Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240513@080339.7393 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20240513@080339.7403 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.7414 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080339.7434 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.7446 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080339.7450 7lsjd8oq8fgva6bi20r8euqojt Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2301141300a'
20240513@080339.7458 7lsjd8oq8fgva6bi20r8euqojt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080339.7467 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080339.7479 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080339.7500 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b386696641bb4bb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6641b638626641bb4b57' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240513@080339.7713 7lsjd8oq8fgva6bi20r8euqojt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080339.7727 7lsjd8oq8fgva6bi20r8euqojt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080339.7731 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b386696641bb4bb6','aut6641b638626641bb4b57' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080339.7735 7lsjd8oq8fgva6bi20r8euqojt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b638626641bb4b57','2403304','wait',39,'ari17112337378,753000005')
20240513@080339.7751 7lsjd8oq8fgva6bi20r8euqojt Query : use flama_phc
20240513@080339.7754 7lsjd8oq8fgva6bi20r8euqojt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080339.7765 7lsjd8oq8fgva6bi20r8euqojt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1598';
20240513@080339.7779 7lsjd8oq8fgva6bi20r8euqojt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1598';
20240513@080339.7795 7lsjd8oq8fgva6bi20r8euqojt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1598';
20240513@080339.7806 7lsjd8oq8fgva6bi20r8euqojt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1598';
20240513@080339.8287 q8i1am2400n2cs99hh7jpnaau5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080339.8300 q8i1am2400n2cs99hh7jpnaau5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080339.8318 q8i1am2400n2cs99hh7jpnaau5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1599';
20240513@080339.8355 q8i1am2400n2cs99hh7jpnaau5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1599';
20240513@080339.8373 q8i1am2400n2cs99hh7jpnaau5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1599';
20240513@080339.8385 q8i1am2400n2cs99hh7jpnaau5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1599';
20240513@080339.8400 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.8402 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080339.8414 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.8417 q8i1am2400n2cs99hh7jpnaau5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240513@080339.8482 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9106.00.1'
20240513@080339.8657 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403321 and bi.ref ='328.9106.00.1' and bi.lordem =1
20240513@080339.8968 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.8972 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080339.8984 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.8986 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080339.8995 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.8998 q8i1am2400n2cs99hh7jpnaau5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080339.9008 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080339.9022 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.9025 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240513@080339.9130 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.9133 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080339.9142 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.9144 q8i1am2400n2cs99hh7jpnaau5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080339.9153 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.9156 q8i1am2400n2cs99hh7jpnaau5 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240513@080339.9168 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080339.9171 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from td where ndoc = 39
20240513@080339.9180 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080339.9189 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080339.9201 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080339.9216 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080339.9227 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080339.9251 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080339.9264 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080339.9273 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080339.9414 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080339.9424 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080339.9436 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080339.9446 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b027766641bb4be2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080339.9584 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080339.9598 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080339.9623 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080339.9628 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080339.9633 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080339.9637 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080339.9641 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080339.9646 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080339.9650 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b027766641bb4be2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080339.9859 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080339.9874 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080339.9887 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080339.9902 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b027766641bb4be2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1275,100810,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080340.1410 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080340.1460 q8i1am2400n2cs99hh7jpnaau5 Query : select st.usalote valor from st where st.ref = '328.9106.00.1'
20240513@080340.1580 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9106.00.1'
20240513@080340.3130 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.3250 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080340.3470 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.3580 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080340.3620 q8i1am2400n2cs99hh7jpnaau5 Query : select sestamp valor from se where ref ='328.9106.00.1' and lote = 'r2100770200a'
20240513@080340.1386 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080340.1396 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.1409 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080340.1648 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b092746641bb4c22',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b027766641bb4be2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080340.1889 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.1905 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080340.1909 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b092746641bb4c22','aut6641b027766641bb4be2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080340.1915 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.1929 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080340.1955 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.1967 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080340.1971 q8i1am2400n2cs99hh7jpnaau5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080340.1980 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.1992 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080340.2013 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b361216641bb4c30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b027766641bb4be2' ,0,0 ,2,23.00,20000,?,?,?)
20240513@080340.2232 q8i1am2400n2cs99hh7jpnaau5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.2248 q8i1am2400n2cs99hh7jpnaau5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080340.2253 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b361216641bb4c30','aut6641b027766641bb4be2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080340.2258 q8i1am2400n2cs99hh7jpnaau5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b027766641bb4be2','2403321','wait',39,'ari17112337378,753000005')
20240513@080340.2292 q8i1am2400n2cs99hh7jpnaau5 Query : use flama_phc
20240513@080340.2296 q8i1am2400n2cs99hh7jpnaau5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080340.2339 q8i1am2400n2cs99hh7jpnaau5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1599';
20240513@080340.2357 q8i1am2400n2cs99hh7jpnaau5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1599';
20240513@080340.2402 q8i1am2400n2cs99hh7jpnaau5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1599';
20240513@080340.2417 q8i1am2400n2cs99hh7jpnaau5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1599';
20240513@080340.3243 srr8l1hbtmvqufr5mepascuc4p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080340.3283 srr8l1hbtmvqufr5mepascuc4p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080340.3310 srr8l1hbtmvqufr5mepascuc4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1600';
20240513@080340.3355 srr8l1hbtmvqufr5mepascuc4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1600';
20240513@080340.3395 srr8l1hbtmvqufr5mepascuc4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1600';
20240513@080340.3414 srr8l1hbtmvqufr5mepascuc4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1600';
20240513@080340.3447 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.3451 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080340.3466 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.3469 srr8l1hbtmvqufr5mepascuc4p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240513@080340.3546 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1256.00.1'
20240513@080340.3719 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403322 and bi.ref ='324.1256.00.1' and bi.lordem =1
20240513@080340.4094 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4098 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080340.4112 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4116 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080340.4128 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4131 srr8l1hbtmvqufr5mepascuc4p Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080340.4142 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080340.4159 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4163 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240513@080340.4173 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4177 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080340.4187 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4190 srr8l1hbtmvqufr5mepascuc4p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080340.4201 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4205 srr8l1hbtmvqufr5mepascuc4p Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240513@080340.4219 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.4222 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from td where ndoc = 39
20240513@080340.4234 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080340.4246 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080340.4263 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080340.4283 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080340.4298 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080340.4328 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080340.4343 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080340.4354 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080340.4436 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080340.4447 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080340.4460 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080340.4471 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b142316641bb4c6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080340.4630 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080340.4646 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080340.4675 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080340.4681 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080340.4686 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080340.4691 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080340.4697 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080340.4702 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080340.4707 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b142316641bb4c6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080340.4944 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080340.4961 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080340.4976 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080340.4993 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b142316641bb4c6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1276,100810,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080340.5231 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.5235 srr8l1hbtmvqufr5mepascuc4p Query : select st.usalote valor from st where st.ref = '324.1256.00.1'
20240513@080340.5247 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1256.00.1'
20240513@080340.5394 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.5409 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080340.5431 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.5444 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080340.5448 srr8l1hbtmvqufr5mepascuc4p Query : select sestamp valor from se where ref ='324.1256.00.1' and lote = 'r210135200a'
20240513@080340.5470 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080340.5481 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.5493 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080340.5515 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b819346641bb4c85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b142316641bb4c6a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080340.5723 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.5738 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080340.5742 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b819346641bb4c85','aut6641b142316641bb4c6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080340.5748 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.5760 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080340.5783 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.5795 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080340.5800 srr8l1hbtmvqufr5mepascuc4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080340.5809 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080340.5820 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080340.6025 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b587106641bb4c8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b142316641bb4c6a' ,0,0 ,2,23.00,20000,?,?,?)
20240513@080340.6239 srr8l1hbtmvqufr5mepascuc4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080340.6254 srr8l1hbtmvqufr5mepascuc4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080340.6259 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b587106641bb4c8d','aut6641b142316641bb4c6a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080340.6263 srr8l1hbtmvqufr5mepascuc4p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b142316641bb4c6a','2403322','wait',39,'ari17112337378,753000005')
20240513@080340.6286 srr8l1hbtmvqufr5mepascuc4p Query : use flama_phc
20240513@080340.6289 srr8l1hbtmvqufr5mepascuc4p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080340.6302 srr8l1hbtmvqufr5mepascuc4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1600';
20240513@080340.6317 srr8l1hbtmvqufr5mepascuc4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1600';
20240513@080340.6335 srr8l1hbtmvqufr5mepascuc4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1600';
20240513@080340.6347 srr8l1hbtmvqufr5mepascuc4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1600';
20240513@080340.6984 a211u1gk0br9qqr4be3n7rondt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080340.7009 a211u1gk0br9qqr4be3n7rondt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080340.7031 a211u1gk0br9qqr4be3n7rondt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1601';
20240513@080340.7071 a211u1gk0br9qqr4be3n7rondt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1601';
20240513@080340.7090 a211u1gk0br9qqr4be3n7rondt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1601';
20240513@080340.7101 a211u1gk0br9qqr4be3n7rondt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1601';
20240513@080340.7118 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.7121 a211u1gk0br9qqr4be3n7rondt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080340.7133 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.7135 a211u1gk0br9qqr4be3n7rondt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240513@080340.7161 a211u1gk0br9qqr4be3n7rondt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.16901.001'
20240513@080340.7320 a211u1gk0br9qqr4be3n7rondt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403338 and bi.ref ='325.16901.001' and bi.lordem =1
20240513@080340.7663 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.7667 a211u1gk0br9qqr4be3n7rondt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080340.7722 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.7726 a211u1gk0br9qqr4be3n7rondt Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080340.7737 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.7740 a211u1gk0br9qqr4be3n7rondt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080340.7750 a211u1gk0br9qqr4be3n7rondt Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080340.7833 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.7837 a211u1gk0br9qqr4be3n7rondt Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240513@080340.7848 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.7851 a211u1gk0br9qqr4be3n7rondt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080340.8047 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.8077 a211u1gk0br9qqr4be3n7rondt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080340.8089 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.8092 a211u1gk0br9qqr4be3n7rondt Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240513@080340.8171 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080340.8174 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from td where ndoc = 39
20240513@080340.8183 a211u1gk0br9qqr4be3n7rondt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080340.8194 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080340.8206 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080340.8221 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080340.8234 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080340.8260 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080340.8272 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080340.8281 a211u1gk0br9qqr4be3n7rondt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080340.8356 a211u1gk0br9qqr4be3n7rondt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080340.8365 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080340.8378 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080340.8386 a211u1gk0br9qqr4be3n7rondt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b308736641bb4cca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080340.8528 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080340.8624 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080340.8650 a211u1gk0br9qqr4be3n7rondt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080340.8655 a211u1gk0br9qqr4be3n7rondt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080340.8659 a211u1gk0br9qqr4be3n7rondt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080340.8668 a211u1gk0br9qqr4be3n7rondt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080340.8843 a211u1gk0br9qqr4be3n7rondt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080340.9013 a211u1gk0br9qqr4be3n7rondt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080340.9183 a211u1gk0br9qqr4be3n7rondt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b308736641bb4cca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080340.9710 a211u1gk0br9qqr4be3n7rondt Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080340.9976 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080341.6800 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080341.1370 a211u1gk0br9qqr4be3n7rondt Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b308736641bb4cca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1277,101597,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080341.3810 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080341.3850 a211u1gk0br9qqr4be3n7rondt Query : select st.usalote valor from st where st.ref = '325.16901.001'
20240513@080341.3970 a211u1gk0br9qqr4be3n7rondt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.16901.001'
20240513@080341.6440 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080341.6590 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080341.7800 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080341.7950 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080341.8000 a211u1gk0br9qqr4be3n7rondt Query : select sestamp valor from se where ref ='325.16901.001' and lote = '25/11'
20240513@080341.9070 a211u1gk0br9qqr4be3n7rondt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080341.9180 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080341.9320 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080341.9550 a211u1gk0br9qqr4be3n7rondt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b229846641bb4d16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6641b308736641bb4cca' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080341.1238 a211u1gk0br9qqr4be3n7rondt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080341.1395 a211u1gk0br9qqr4be3n7rondt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080341.1477 a211u1gk0br9qqr4be3n7rondt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b229846641bb4d16','aut6641b308736641bb4cca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080341.1502 a211u1gk0br9qqr4be3n7rondt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b308736641bb4cca','2403338','wait',39,'ari17112337378,753000005')
20240513@080341.1519 a211u1gk0br9qqr4be3n7rondt Query : use flama_phc
20240513@080341.1522 a211u1gk0br9qqr4be3n7rondt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080341.1534 a211u1gk0br9qqr4be3n7rondt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1601';
20240513@080341.1552 a211u1gk0br9qqr4be3n7rondt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1601';
20240513@080341.1570 a211u1gk0br9qqr4be3n7rondt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1601';
20240513@080341.1623 a211u1gk0br9qqr4be3n7rondt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1601';
20240513@080341.2193 5bamcb7a58l5au2s2hcpchqjpg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080341.2283 5bamcb7a58l5au2s2hcpchqjpg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080341.2373 5bamcb7a58l5au2s2hcpchqjpg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1602';
20240513@080341.2418 5bamcb7a58l5au2s2hcpchqjpg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1602';
20240513@080341.2438 5bamcb7a58l5au2s2hcpchqjpg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1602';
20240513@080341.2465 5bamcb7a58l5au2s2hcpchqjpg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1602';
20240513@080341.2483 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.2487 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080341.2499 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.2518 5bamcb7a58l5au2s2hcpchqjpg Query : select no, estab,szadrsdesc from szadrs where u_coddest=6258
20240513@080341.2617 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20240513@080341.2770 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.1462.00.1' and bi.lordem =1
20240513@080341.3199 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20240513@080341.3211 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.1462.00.1' and bi.lordem =1
20240513@080341.3216 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240513@080341.3375 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.1470.00.1' and bi.lordem =2
20240513@080341.3714 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240513@080341.3728 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.1470.00.1' and bi.lordem =2
20240513@080341.3733 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20240513@080341.3891 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.1407.00.1' and bi.lordem =3
20240513@080341.4230 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20240513@080341.4393 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='325.1290.1003' and bi.lordem =4
20240513@080341.4795 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240513@080341.4943 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.1684.00.1' and bi.lordem =5
20240513@080341.5415 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20240513@080341.5576 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.1685.00.1' and bi.lordem =6
20240513@080341.5935 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240513@080341.6251 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.5396.00.1' and bi.lordem =7
20240513@080341.7262 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240513@080341.7741 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403351 and bi.ref ='324.5342.00.1' and bi.lordem =8
20240513@080341.8083 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8087 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080341.8100 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8103 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080341.8113 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8116 5bamcb7a58l5au2s2hcpchqjpg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080341.8155 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080341.8169 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8173 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240513@080341.8298 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8301 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080341.8313 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8316 5bamcb7a58l5au2s2hcpchqjpg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080341.8347 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8351 5bamcb7a58l5au2s2hcpchqjpg Query : select szadrsstamp valor from szadrs where szadrsdesc='iiruñadis sl'
20240513@080341.8363 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.8366 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from td where ndoc = 39
20240513@080341.8376 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080341.8401 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080341.8469 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080341.8589 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080341.8605 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080341.8630 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080341.8642 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080341.8651 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080341.8732 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080341.8741 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080341.8753 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080341.8762 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080341.8902 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080341.8915 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080341.8941 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080341.8946 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080341.8950 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080341.8959 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080341.8964 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080341.8968 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080341.8972 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b446846641bb4dd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080341.9206 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080341.9222 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080341.9240 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080341.9257 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b446846641bb4dd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1278,200500,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080341.9521 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080341.9525 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20240513@080341.9549 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1462.00.1'
20240513@080341.9926 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080341.9940 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080341.9968 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080341.9980 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080341.9985 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20240513@080342.1800 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.2800 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.4100 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.6400 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b976346641bb4e00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080342.2820 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.4780 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.4870 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b976346641bb4e00','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.4930 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.4960 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20240513@080342.5080 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1462.00.1'
20240513@080342.5260 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.5410 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.5950 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.6090 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.6140 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20240513@080342.6240 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.6400 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.6580 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.7120 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b936426641bb4e0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240513@080342.9470 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.9620 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.9770 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b936426641bb4e0f','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.9810 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.9850 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240513@080342.9970 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240513@080342.1150 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.1163 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.1188 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.1201 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.1205 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240513@080342.1233 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.1244 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.1256 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.1279 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b081826641bb4e1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240513@080342.1539 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.1553 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.1558 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b081826641bb4e1e','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.1562 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.1565 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240513@080342.1588 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240513@080342.1600 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.1613 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.1649 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.1662 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.1667 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240513@080342.1719 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.1775 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.1789 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.1980 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b537816641bb4e2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240513@080342.2195 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.2209 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.2213 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b537816641bb4e2b','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.2217 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.2220 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.1407.00.1'
20240513@080342.2231 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1407.00.1'
20240513@080342.2475 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.2490 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.2546 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.2560 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.2564 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.1407.00.1' and lote = 'r2100703100a'
20240513@080342.2669 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.2679 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.2694 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.2777 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b954396641bb4e41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240513@080342.3162 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.3212 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.3217 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b954396641bb4e41','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.3222 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.3225 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '325.1290.1003'
20240513@080342.3261 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1290.1003'
20240513@080342.3462 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.3478 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.3500 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.3593 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.3623 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='325.1290.1003' and lote = 'r220074620'
20240513@080342.3653 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.3662 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.3675 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.3699 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b879096641bb4e59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240513@080342.3967 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.3982 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.3986 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b879096641bb4e59','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.3997 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.4001 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240513@080342.4012 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20240513@080342.4169 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.4197 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.4312 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.4326 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.4330 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240513@080342.4340 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.4514 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.4567 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.4640 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b157916641bb4e6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240513@080342.4893 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.5025 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.5114 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b157916641bb4e6e','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.5120 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.5123 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20240513@080342.5135 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1685.00.1'
20240513@080342.5292 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.5306 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.5385 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.5399 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.5404 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2100529200a'
20240513@080342.5430 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.5439 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.5496 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.5520 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b128746641bb4e84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240513@080342.5817 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.5832 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.5849 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b128746641bb4e84','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.5863 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.5870 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240513@080342.5882 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5396.00.1'
20240513@080342.6159 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.6184 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.6217 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.6385 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.6412 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240513@080342.6534 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.6544 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.6574 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.6598 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b451656641bb4e9f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240513@080342.6848 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.6863 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.6868 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b451656641bb4e9f','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.6873 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.6982 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.7004 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.7054 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.7059 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.7068 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.7081 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.7164 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b643376641bb4eac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,100000,?,?,?)
20240513@080342.7606 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.8036 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.8167 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b643376641bb4eac','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.8294 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.8383 5bamcb7a58l5au2s2hcpchqjpg Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240513@080342.8741 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5342.00.1'
20240513@080342.8903 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.8917 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.9045 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.9058 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.9063 5bamcb7a58l5au2s2hcpchqjpg Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240513@080342.9073 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.9083 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.9095 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.9122 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b047236641bb4edd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240513@080342.9365 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.9382 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.9386 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b047236641bb4edd','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.9391 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.9446 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080342.9470 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.9497 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080342.9502 5bamcb7a58l5au2s2hcpchqjpg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080342.9512 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080342.9525 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080342.9637 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6641b871076641bb4ee8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6641b446846641bb4dd3' ,0,0 ,2,23.00,130000,?,?,?)
20240513@080342.9890 5bamcb7a58l5au2s2hcpchqjpg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080342.9907 5bamcb7a58l5au2s2hcpchqjpg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080342.9912 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b871076641bb4ee8','aut6641b446846641bb4dd3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080342.9916 5bamcb7a58l5au2s2hcpchqjpg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b446846641bb4dd3','2403351','wait',39,'ari17112337378,753000005')
20240513@080342.9959 5bamcb7a58l5au2s2hcpchqjpg Query : use flama_phc
20240513@080342.9962 5bamcb7a58l5au2s2hcpchqjpg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080342.9981 5bamcb7a58l5au2s2hcpchqjpg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1602';
20240513@080343.3800 5bamcb7a58l5au2s2hcpchqjpg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1602';
20240513@080343.5800 5bamcb7a58l5au2s2hcpchqjpg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1602';
20240513@080343.1700 5bamcb7a58l5au2s2hcpchqjpg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1602';
20240513@080343.7090 tbhbhptlt7d037368aeq9r2hvg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@080343.7280 tbhbhptlt7d037368aeq9r2hvg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@080343.7520 tbhbhptlt7d037368aeq9r2hvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1603';
20240513@080343.7970 tbhbhptlt7d037368aeq9r2hvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1603';
20240513@080343.8220 tbhbhptlt7d037368aeq9r2hvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1603';
20240513@080343.8360 tbhbhptlt7d037368aeq9r2hvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1603';
20240513@080343.8540 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.8580 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@080343.9680 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.9710 tbhbhptlt7d037368aeq9r2hvg Query : select no, estab,szadrsdesc from szadrs where u_coddest=864
20240513@080343.1071 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240513@080343.1233 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403368 and bi.ref ='324.5540.00.1' and bi.lordem =1
20240513@080343.1552 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240513@080343.1566 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403368 and bi.ref ='324.5540.00.1' and bi.lordem =1
20240513@080343.1572 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1576 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@080343.1591 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1594 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 1 valor from td where td.ndoc = 39
20240513@080343.1648 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1652 tbhbhptlt7d037368aeq9r2hvg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@080343.1665 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@080343.1693 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1698 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 ~inactivo valor from cl where no = '100923' and estab = 0 order by inactivo desc
20240513@080343.1853 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1856 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@080343.1869 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1873 tbhbhptlt7d037368aeq9r2hvg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@080343.1893 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1896 tbhbhptlt7d037368aeq9r2hvg Query : select szadrsstamp valor from szadrs where szadrsdesc='jose manuel gama neves antunes'
20240513@080343.1911 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.1915 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from td where ndoc = 39
20240513@080343.2023 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@080343.2036 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080343.2051 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@080343.2109 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080343.2124 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@080343.2279 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080343.2322 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@080343.2431 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080343.2565 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@080343.2577 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@080343.2591 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@080343.2606 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b862206641bb4f3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@080343.2837 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@080343.2855 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@080343.2980 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@080343.2986 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@080343.3014 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@080343.3075 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@080343.3161 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@080343.3167 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@080343.3172 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b862206641bb4f3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@080343.3554 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 fno valor from wsft039data order by fno desc
20240513@080343.3633 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@080343.3652 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@080343.3673 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b862206641bb4f3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1279,100923,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0833',?,?,?,?)
20240513@080343.3973 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.3978 tbhbhptlt7d037368aeq9r2hvg Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240513@080343.4006 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240513@080343.4174 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080343.4189 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080343.4218 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080343.4232 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080343.4237 tbhbhptlt7d037368aeq9r2hvg Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240513@080343.4249 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080343.4271 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080343.4285 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080343.4323 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b151596641bb4f68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6641b862206641bb4f3b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@080343.4567 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080343.4584 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080343.4589 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b151596641bb4f68','aut6641b862206641bb4f3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080343.4594 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.4598 tbhbhptlt7d037368aeq9r2hvg Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240513@080343.4653 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240513@080343.4783 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080343.4798 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@080343.4829 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080343.4844 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@080343.4851 tbhbhptlt7d037368aeq9r2hvg Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240513@080343.4872 tbhbhptlt7d037368aeq9r2hvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@080343.4884 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@080343.4897 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@080343.4928 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b937496641bb4f77',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6641b862206641bb4f3b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240513@080343.5225 tbhbhptlt7d037368aeq9r2hvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@080343.5243 tbhbhptlt7d037368aeq9r2hvg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@080343.5249 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b937496641bb4f77','aut6641b862206641bb4f3b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@080343.5254 tbhbhptlt7d037368aeq9r2hvg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6641b862206641bb4f3b','2403368','wait',39,'ari17112337378,753000005')
20240513@080343.5291 tbhbhptlt7d037368aeq9r2hvg Query : use flama_phc
20240513@080343.5295 tbhbhptlt7d037368aeq9r2hvg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240513@080343.5308 tbhbhptlt7d037368aeq9r2hvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1603';
20240513@080343.5356 tbhbhptlt7d037368aeq9r2hvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1603';
20240513@080343.5377 tbhbhptlt7d037368aeq9r2hvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1603';
20240513@080343.5397 tbhbhptlt7d037368aeq9r2hvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1603';
20240513@081830.9411 pj65kk3js362828am4a33re0hd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240513@081831.4200 pj65kk3js362828am4a33re0hd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240513@081831.8800 pj65kk3js362828am4a33re0hd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1604';
20240513@081831.1480 pj65kk3js362828am4a33re0hd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1604';
20240513@081831.2010 pj65kk3js362828am4a33re0hd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1604';
20240513@081831.2150 pj65kk3js362828am4a33re0hd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1604';
20240513@081831.2300 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081831.2330 pj65kk3js362828am4a33re0hd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240513@081831.3040 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081831.3080 pj65kk3js362828am4a33re0hd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4025
20240513@081831.4000 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240513@081831.5910 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240513@081831.9660 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20240513@081831.1119 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.2066.00.1' and bi.lordem =2
20240513@081831.1503 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20240513@081831.1513 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.2066.00.1' and bi.lordem =2
20240513@081831.1519 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240513@081831.1700 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.2231.00.1' and bi.lordem =4
20240513@081831.2056 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240513@081831.2260 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.2232.00.1' and bi.lordem =5
20240513@081831.2622 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240513@081831.2796 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.5396.00.1' and bi.lordem =6
20240513@081831.3168 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240513@081831.3352 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.5540.00.1' and bi.lordem =8
20240513@081831.3702 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240513@081831.3742 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.5540.00.1' and bi.lordem =9
20240513@081831.4071 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240513@081831.4262 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.1608.00.1' and bi.lordem =10
20240513@081831.4627 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240513@081831.4780 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.1824.00.1' and bi.lordem =11
20240513@081831.5440 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20240513@081831.5501 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.1824.00.1' and bi.lordem =12
20240513@081831.6074 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240513@081831.6350 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.1879.00.1' and bi.lordem =13
20240513@081831.6696 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240513@081831.6929 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.1831.00.2' and bi.lordem =14
20240513@081831.7313 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240513@081831.7535 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.1833.00.2' and bi.lordem =15
20240513@081831.7936 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240513@081831.8178 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='304.422.00.07' and bi.lordem =16
20240513@081831.8521 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240513@081831.8695 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='304.421.00.04' and bi.lordem =17
20240513@081831.9163 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240513@081831.9317 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.4723.00.2' and bi.lordem =18
20240513@081831.9720 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20240513@081831.9868 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.658.00.01' and bi.lordem =19
20240513@081832.1960 pj65kk3js362828am4a33re0hd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20240513@081832.2070 pj65kk3js362828am4a33re0hd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2032 and bo.obrano = 2403295 and bi.ref ='324.658.00.01' and bi.lordem =20
20240513@081832.5700 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.5840 pj65kk3js362828am4a33re0hd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240513@081832.8310 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.8380 pj65kk3js362828am4a33re0hd Query : select top 1 1 valor from td where td.ndoc = 39
20240513@081832.9620 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.9660 pj65kk3js362828am4a33re0hd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240513@081832.1013 pj65kk3js362828am4a33re0hd Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240513@081832.1178 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.1187 pj65kk3js362828am4a33re0hd Query : select top 1 ~inactivo valor from cl where no = '102494' and estab = 0 order by inactivo desc
20240513@081832.1306 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.1309 pj65kk3js362828am4a33re0hd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240513@081832.1465 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.1468 pj65kk3js362828am4a33re0hd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240513@081832.1537 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.1540 pj65kk3js362828am4a33re0hd Query : select szadrsstamp valor from szadrs where szadrsdesc='cinogaz - marques & vicente, lda-'
20240513@081832.1554 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.1557 pj65kk3js362828am4a33re0hd Query : select 1 valor from td where ndoc = 39
20240513@081832.1659 pj65kk3js362828am4a33re0hd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240513@081832.1824 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@081832.2115 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240513@081832.2164 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@081832.2545 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240513@081832.2649 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@081832.2944 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240513@081832.2978 pj65kk3js362828am4a33re0hd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@081832.3210 pj65kk3js362828am4a33re0hd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240513@081832.3312 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240513@081832.3339 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240513@081832.3371 pj65kk3js362828am4a33re0hd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6641b372016641bec848' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240513@081832.3938 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240513@081832.4833 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240513@081832.4913 pj65kk3js362828am4a33re0hd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240513@081832.5015 pj65kk3js362828am4a33re0hd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240513@081832.5089 pj65kk3js362828am4a33re0hd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240513@081832.5167 pj65kk3js362828am4a33re0hd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240513@081832.5241 pj65kk3js362828am4a33re0hd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240513@081832.5316 pj65kk3js362828am4a33re0hd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240513@081832.5447 pj65kk3js362828am4a33re0hd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6641b372016641bec848',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240513@081832.5662 pj65kk3js362828am4a33re0hd Query : select top 1 fno valor from wsft039data order by fno desc
20240513@081832.5773 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240513@081832.5871 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240513@081832.5944 pj65kk3js362828am4a33re0hd Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut6641b372016641bec848',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1280,102494,0,'2024-05-13',39,'euro',0,0,2024 ,'20240513','0848',?,?,?,?)
20240513@081832.6230 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.6269 pj65kk3js362828am4a33re0hd Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240513@081832.6385 pj65kk3js362828am4a33re0hd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240513@081832.6560 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@081832.6877 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@081832.6977 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@081832.7340 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@081832.7363 pj65kk3js362828am4a33re0hd Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240513@081832.7440 pj65kk3js362828am4a33re0hd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@081832.7590 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@081832.7605 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@081832.7788 pj65kk3js362828am4a33re0hd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b687716641bec8b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6641b372016641bec848' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240513@081832.8078 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@081832.8101 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240513@081832.8130 pj65kk3js362828am4a33re0hd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6641b687716641bec8b9','aut6641b372016641bec848' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240513@081832.8181 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.8219 pj65kk3js362828am4a33re0hd Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20240513@081832.8306 pj65kk3js362828am4a33re0hd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20240513@081832.8515 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@081832.8578 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240513@081832.8646 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240513@081832.8688 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240513@081832.8693 pj65kk3js362828am4a33re0hd Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = '1'
20240513@081832.8741 pj65kk3js362828am4a33re0hd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240513@081832.8763 pj65kk3js362828am4a33re0hd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240513@081832.8779 pj65kk3js362828am4a33re0hd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240513@081832.8882 pj65kk3js362828am4a33re0hd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6641b006986641bec8d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6641b372016641bec848' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240513@081832.9250 pj65kk3js362828am4a33re0hd Query : use flama_phc
20240513@081832.9260 pj65kk3js362828am4a33re0hd Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240513@081832.9379 pj65kk3js362828am4a33re0hd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1604';
20240513@081832.9397 pj65kk3js362828am4a33re0hd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1604';

20240514@080321.3356 r6dkghehvrohuiiblbin9hul7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1605';
20240514@080321.3388 r6dkghehvrohuiiblbin9hul7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1605';
20240514@080321.3404 r6dkghehvrohuiiblbin9hul7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1605';
20240514@080321.3452 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.3456 r6dkghehvrohuiiblbin9hul7b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080321.3506 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.3509 r6dkghehvrohuiiblbin9hul7b Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080321.3588 r6dkghehvrohuiiblbin9hul7b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4006.00.2'
20240514@080321.3746 r6dkghehvrohuiiblbin9hul7b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403301 and bi.ref ='304.4006.00.2' and bi.lordem =1
20240514@080321.4080 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4084 r6dkghehvrohuiiblbin9hul7b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080321.4244 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4247 r6dkghehvrohuiiblbin9hul7b Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080321.4322 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4325 r6dkghehvrohuiiblbin9hul7b Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080321.4363 r6dkghehvrohuiiblbin9hul7b Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080321.4470 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4473 r6dkghehvrohuiiblbin9hul7b Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080321.4573 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4576 r6dkghehvrohuiiblbin9hul7b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080321.4646 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4649 r6dkghehvrohuiiblbin9hul7b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080321.4695 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4698 r6dkghehvrohuiiblbin9hul7b Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080321.4710 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080321.4713 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from td where ndoc = 39
20240514@080321.4784 r6dkghehvrohuiiblbin9hul7b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080321.4846 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080321.5139 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080321.5186 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080321.5467 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080321.5521 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080321.6078 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080321.6693 r6dkghehvrohuiiblbin9hul7b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080321.7291 r6dkghehvrohuiiblbin9hul7b Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080321.7357 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080321.7370 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080321.7403 r6dkghehvrohuiiblbin9hul7b Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664304468666430cb9a3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080321.8152 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080321.8168 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080321.8221 r6dkghehvrohuiiblbin9hul7b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080321.8305 r6dkghehvrohuiiblbin9hul7b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080321.8373 r6dkghehvrohuiiblbin9hul7b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080321.8441 r6dkghehvrohuiiblbin9hul7b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080321.8512 r6dkghehvrohuiiblbin9hul7b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080321.8573 r6dkghehvrohuiiblbin9hul7b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080321.8661 r6dkghehvrohuiiblbin9hul7b Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664304468666430cb9a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080321.9174 r6dkghehvrohuiiblbin9hul7b Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080321.9256 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080321.9273 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080321.9313 r6dkghehvrohuiiblbin9hul7b Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664304468666430cb9a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1280,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080322.2760 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080322.2800 r6dkghehvrohuiiblbin9hul7b Query : select st.usalote valor from st where st.ref = '304.4006.00.2'
20240514@080322.3960 r6dkghehvrohuiiblbin9hul7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4006.00.2'
20240514@080322.5340 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080322.8210 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080322.8800 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080322.1169 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080322.1192 r6dkghehvrohuiiblbin9hul7b Query : select sestamp valor from se where ref ='304.4006.00.2' and lote = '220327'
20240514@080322.1258 r6dkghehvrohuiiblbin9hul7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080322.1294 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080322.1308 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080322.1351 r6dkghehvrohuiiblbin9hul7b Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301849566430cba1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut664304468666430cb9a3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080322.2230 r6dkghehvrohuiiblbin9hul7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080322.2246 r6dkghehvrohuiiblbin9hul7b Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080322.2272 r6dkghehvrohuiiblbin9hul7b Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301849566430cba1f','aut664304468666430cb9a3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080322.2388 r6dkghehvrohuiiblbin9hul7b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664304468666430cb9a3','2403301','wait',39,'ari17112337378,753000005')
20240514@080322.2429 r6dkghehvrohuiiblbin9hul7b Query : use flama_phc
20240514@080322.2432 r6dkghehvrohuiiblbin9hul7b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080322.2443 r6dkghehvrohuiiblbin9hul7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1605';
20240514@080322.2458 r6dkghehvrohuiiblbin9hul7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1605';
20240514@080322.2474 r6dkghehvrohuiiblbin9hul7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1605';
20240514@080322.2489 r6dkghehvrohuiiblbin9hul7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1605';
20240514@080322.2891 qgb9c53bqu1kukuk8eopacurhe Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080322.2904 qgb9c53bqu1kukuk8eopacurhe Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080322.2922 qgb9c53bqu1kukuk8eopacurhe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1606';
20240514@080322.2961 qgb9c53bqu1kukuk8eopacurhe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1606';
20240514@080322.2979 qgb9c53bqu1kukuk8eopacurhe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1606';
20240514@080322.2990 qgb9c53bqu1kukuk8eopacurhe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1606';
20240514@080322.3005 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3008 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080322.3019 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3022 qgb9c53bqu1kukuk8eopacurhe Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080322.3048 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4007.00.2'
20240514@080322.3194 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403302 and bi.ref ='304.4007.00.2' and bi.lordem =1
20240514@080322.3509 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3512 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080322.3525 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3528 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080322.3537 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3540 qgb9c53bqu1kukuk8eopacurhe Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080322.3550 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080322.3563 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3565 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080322.3575 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3577 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080322.3587 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3590 qgb9c53bqu1kukuk8eopacurhe Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080322.3599 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3602 qgb9c53bqu1kukuk8eopacurhe Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080322.3613 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.3615 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from td where ndoc = 39
20240514@080322.3625 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080322.3635 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080322.3652 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080322.3669 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080322.3682 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080322.3707 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080322.3719 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080322.3729 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080322.3868 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080322.4156 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080322.4488 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080322.4779 qgb9c53bqu1kukuk8eopacurhe Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664307272766430cba5b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080322.5091 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080322.5106 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080322.5134 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080322.5139 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080322.5143 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080322.5147 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080322.5152 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080322.5156 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080322.5160 qgb9c53bqu1kukuk8eopacurhe Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664307272766430cba5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080322.5392 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080322.5410 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080322.5424 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080322.5442 qgb9c53bqu1kukuk8eopacurhe Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664307272766430cba5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1281,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080322.5701 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.5705 qgb9c53bqu1kukuk8eopacurhe Query : select st.usalote valor from st where st.ref = '304.4007.00.2'
20240514@080322.5717 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4007.00.2'
20240514@080322.5884 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080322.5897 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080322.5920 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080322.5933 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080322.5937 qgb9c53bqu1kukuk8eopacurhe Query : select sestamp valor from se where ref ='304.4007.00.2' and lote = '20210730'
20240514@080322.5963 qgb9c53bqu1kukuk8eopacurhe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080322.5973 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080322.5984 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080322.6007 qgb9c53bqu1kukuk8eopacurhe Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303888166430cba91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut664307272766430cba5b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080322.6233 qgb9c53bqu1kukuk8eopacurhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080322.6248 qgb9c53bqu1kukuk8eopacurhe Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080322.6253 qgb9c53bqu1kukuk8eopacurhe Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303888166430cba91','aut664307272766430cba5b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080322.6263 qgb9c53bqu1kukuk8eopacurhe Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664307272766430cba5b','2403302','wait',39,'ari17112337378,753000005')
20240514@080322.6279 qgb9c53bqu1kukuk8eopacurhe Query : use flama_phc
20240514@080322.6282 qgb9c53bqu1kukuk8eopacurhe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080322.6293 qgb9c53bqu1kukuk8eopacurhe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1606';
20240514@080322.6309 qgb9c53bqu1kukuk8eopacurhe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1606';
20240514@080322.6326 qgb9c53bqu1kukuk8eopacurhe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1606';
20240514@080322.6340 qgb9c53bqu1kukuk8eopacurhe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1606';
20240514@080322.6761 37e4i8q189a65e5bmqnu69sqse Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080322.6774 37e4i8q189a65e5bmqnu69sqse Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080322.6793 37e4i8q189a65e5bmqnu69sqse Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1607';
20240514@080322.6836 37e4i8q189a65e5bmqnu69sqse Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1607';
20240514@080322.6855 37e4i8q189a65e5bmqnu69sqse Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1607';
20240514@080322.6869 37e4i8q189a65e5bmqnu69sqse Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1607';
20240514@080322.6885 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.6888 37e4i8q189a65e5bmqnu69sqse Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080322.6904 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.6908 37e4i8q189a65e5bmqnu69sqse Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240514@080322.6937 37e4i8q189a65e5bmqnu69sqse Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240514@080322.7084 37e4i8q189a65e5bmqnu69sqse Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403303 and bi.ref ='324.2221.00.1' and bi.lordem =1
20240514@080322.7385 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7397 37e4i8q189a65e5bmqnu69sqse Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080322.7413 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7416 37e4i8q189a65e5bmqnu69sqse Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080322.7428 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7432 37e4i8q189a65e5bmqnu69sqse Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080322.7446 37e4i8q189a65e5bmqnu69sqse Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080322.7463 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7467 37e4i8q189a65e5bmqnu69sqse Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240514@080322.7479 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7483 37e4i8q189a65e5bmqnu69sqse Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080322.7495 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7499 37e4i8q189a65e5bmqnu69sqse Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080322.7512 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7516 37e4i8q189a65e5bmqnu69sqse Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240514@080322.7530 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.7534 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from td where ndoc = 39
20240514@080322.7543 37e4i8q189a65e5bmqnu69sqse Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080322.7554 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080322.7569 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080322.7645 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080322.7657 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080322.7682 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080322.7694 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080322.7702 37e4i8q189a65e5bmqnu69sqse Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080322.7776 37e4i8q189a65e5bmqnu69sqse Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080322.7786 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080322.7799 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080322.7809 37e4i8q189a65e5bmqnu69sqse Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664301796166430cbabc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080322.7943 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080322.7956 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080322.7986 37e4i8q189a65e5bmqnu69sqse Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080322.7990 37e4i8q189a65e5bmqnu69sqse Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080322.7995 37e4i8q189a65e5bmqnu69sqse Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080322.8000 37e4i8q189a65e5bmqnu69sqse Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080322.8004 37e4i8q189a65e5bmqnu69sqse Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080322.8012 37e4i8q189a65e5bmqnu69sqse Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080322.8016 37e4i8q189a65e5bmqnu69sqse Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664301796166430cbabc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080322.8214 37e4i8q189a65e5bmqnu69sqse Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080322.8229 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080322.8244 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080322.8264 37e4i8q189a65e5bmqnu69sqse Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664301796166430cbabc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1282,100810,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080322.8502 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.8505 37e4i8q189a65e5bmqnu69sqse Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240514@080322.8517 37e4i8q189a65e5bmqnu69sqse Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20240514@080322.8660 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080322.8673 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080322.8697 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080322.8711 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080322.8714 37e4i8q189a65e5bmqnu69sqse Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240514@080322.8730 37e4i8q189a65e5bmqnu69sqse Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080322.8743 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080322.8755 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080322.8776 37e4i8q189a65e5bmqnu69sqse Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301463466430cbad5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664301796166430cbabc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080322.8999 37e4i8q189a65e5bmqnu69sqse Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080322.9016 37e4i8q189a65e5bmqnu69sqse Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080322.9020 37e4i8q189a65e5bmqnu69sqse Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301463466430cbad5','aut664301796166430cbabc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080322.9024 37e4i8q189a65e5bmqnu69sqse Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664301796166430cbabc','2403303','wait',39,'ari17112337378,753000005')
20240514@080322.9038 37e4i8q189a65e5bmqnu69sqse Query : use flama_phc
20240514@080322.9041 37e4i8q189a65e5bmqnu69sqse Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080322.9052 37e4i8q189a65e5bmqnu69sqse Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1607';
20240514@080322.9074 37e4i8q189a65e5bmqnu69sqse Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1607';
20240514@080322.9091 37e4i8q189a65e5bmqnu69sqse Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1607';
20240514@080322.9103 37e4i8q189a65e5bmqnu69sqse Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1607';
20240514@080322.9454 jinnqc1pepbfrtiggqb5793smf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080322.9466 jinnqc1pepbfrtiggqb5793smf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080322.9484 jinnqc1pepbfrtiggqb5793smf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1608';
20240514@080322.9525 jinnqc1pepbfrtiggqb5793smf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1608';
20240514@080322.9542 jinnqc1pepbfrtiggqb5793smf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1608';
20240514@080322.9555 jinnqc1pepbfrtiggqb5793smf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1608';
20240514@080322.9569 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080322.9572 jinnqc1pepbfrtiggqb5793smf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080322.9584 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080322.9587 jinnqc1pepbfrtiggqb5793smf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240514@080322.9662 jinnqc1pepbfrtiggqb5793smf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240514@080322.9802 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403305 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240514@080323.2300 jinnqc1pepbfrtiggqb5793smf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080323.3740 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403305 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240514@080323.7670 jinnqc1pepbfrtiggqb5793smf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240514@080323.9970 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403305 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240514@080323.1327 jinnqc1pepbfrtiggqb5793smf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240514@080323.1488 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403305 and bi.ref ='324.4902.00.1' and bi.lordem =4
20240514@080323.1802 jinnqc1pepbfrtiggqb5793smf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240514@080323.1974 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403305 and bi.ref ='324.4906.00.1' and bi.lordem =5
20240514@080323.2331 jinnqc1pepbfrtiggqb5793smf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240514@080323.2482 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403305 and bi.ref ='324.4990.00.1' and bi.lordem =6
20240514@080323.2859 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.2906 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080323.2920 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.2923 jinnqc1pepbfrtiggqb5793smf Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080323.2932 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.2935 jinnqc1pepbfrtiggqb5793smf Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080323.2948 jinnqc1pepbfrtiggqb5793smf Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080323.2963 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.2966 jinnqc1pepbfrtiggqb5793smf Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240514@080323.3082 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.3085 jinnqc1pepbfrtiggqb5793smf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080323.3096 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.3099 jinnqc1pepbfrtiggqb5793smf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080323.3111 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.3238 jinnqc1pepbfrtiggqb5793smf Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240514@080323.3254 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.3257 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from td where ndoc = 39
20240514@080323.3268 jinnqc1pepbfrtiggqb5793smf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080323.3327 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080323.3342 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080323.3359 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080323.3372 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080323.3400 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080323.3412 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080323.3421 jinnqc1pepbfrtiggqb5793smf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080323.3496 jinnqc1pepbfrtiggqb5793smf Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080323.3506 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080323.3519 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080323.3527 jinnqc1pepbfrtiggqb5793smf Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080323.3676 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080323.3690 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080323.3720 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080323.3727 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080323.3732 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080323.3737 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080323.3742 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080323.3748 jinnqc1pepbfrtiggqb5793smf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080323.3753 jinnqc1pepbfrtiggqb5793smf Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664307365666430cbb53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080323.3961 jinnqc1pepbfrtiggqb5793smf Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080323.3978 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080323.3991 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080323.4009 jinnqc1pepbfrtiggqb5793smf Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664307365666430cbb53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1283,102199,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080323.4245 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.4249 jinnqc1pepbfrtiggqb5793smf Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240514@080323.4261 jinnqc1pepbfrtiggqb5793smf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240514@080323.4408 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.4421 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.4448 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.4461 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.4466 jinnqc1pepbfrtiggqb5793smf Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240350'
20240514@080323.4483 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.4493 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.4506 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.4531 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664301616166430cbb6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080323.4746 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.4767 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.4772 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301616166430cbb6d','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.4777 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.4780 jinnqc1pepbfrtiggqb5793smf Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080323.4792 jinnqc1pepbfrtiggqb5793smf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080323.4942 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.4956 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.4983 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.4997 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.5004 jinnqc1pepbfrtiggqb5793smf Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080323.5015 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.5025 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.5038 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.5061 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305861666430cbb7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080323.5299 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.5314 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.5319 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305861666430cbb7a','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.5324 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.5327 jinnqc1pepbfrtiggqb5793smf Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240514@080323.5339 jinnqc1pepbfrtiggqb5793smf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20240514@080323.5884 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.6206 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.6725 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.6738 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.6743 jinnqc1pepbfrtiggqb5793smf Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240514@080323.6841 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.6851 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.6865 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.6889 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303853266430cbba7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080323.7105 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.7119 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.7123 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303853266430cbba7','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.7127 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.7130 jinnqc1pepbfrtiggqb5793smf Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240514@080323.7141 jinnqc1pepbfrtiggqb5793smf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240514@080323.7276 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.7289 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.7311 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.7324 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.7327 jinnqc1pepbfrtiggqb5793smf Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2300206100a'
20240514@080323.7343 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.7351 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.7362 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.7382 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303651666430cbbb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080323.7590 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.7625 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.7629 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303651666430cbbb3','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.7634 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.7647 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.7672 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.7684 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.7688 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.7697 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.7708 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.7730 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664301626966430cbbbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,50000,?,?,?)
20240514@080323.7957 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.7996 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.8001 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301626966430cbbbb','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.8005 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.8009 jinnqc1pepbfrtiggqb5793smf Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240514@080323.8020 jinnqc1pepbfrtiggqb5793smf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240514@080323.8170 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.8187 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.8243 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.8257 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.8279 jinnqc1pepbfrtiggqb5793smf Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240514@080323.8290 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.8299 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.8312 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.8357 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664304470866430cbbca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240514@080323.8579 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.8594 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.8598 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664304470866430cbbca','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.8603 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.8616 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.8648 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.8660 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.8664 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.8674 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.8687 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.8709 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664301280566430cbbd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,80000,?,?,?)
20240514@080323.8927 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.8943 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.8948 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664301280566430cbbd3','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.8952 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.8955 jinnqc1pepbfrtiggqb5793smf Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240514@080323.8966 jinnqc1pepbfrtiggqb5793smf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240514@080323.9159 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.9172 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080323.9216 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.9230 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080323.9234 jinnqc1pepbfrtiggqb5793smf Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240514@080323.9266 jinnqc1pepbfrtiggqb5793smf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080323.9276 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080323.9288 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080323.9310 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664309208066430cbbe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664307365666430cbb53' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240514@080323.9523 jinnqc1pepbfrtiggqb5793smf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080323.9538 jinnqc1pepbfrtiggqb5793smf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080323.9543 jinnqc1pepbfrtiggqb5793smf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309208066430cbbe2','aut664307365666430cbb53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080323.9547 jinnqc1pepbfrtiggqb5793smf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664307365666430cbb53','2403305','wait',39,'ari17112337378,753000005')
20240514@080323.9563 jinnqc1pepbfrtiggqb5793smf Query : use flama_phc
20240514@080323.9566 jinnqc1pepbfrtiggqb5793smf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080323.9577 jinnqc1pepbfrtiggqb5793smf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1608';
20240514@080323.9593 jinnqc1pepbfrtiggqb5793smf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1608';
20240514@080323.9613 jinnqc1pepbfrtiggqb5793smf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1608';
20240514@080323.9625 jinnqc1pepbfrtiggqb5793smf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1608';
20240514@080324.1000 btsf3pllipg5c0v4hggm5ao3pt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080324.1400 btsf3pllipg5c0v4hggm5ao3pt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080324.3200 btsf3pllipg5c0v4hggm5ao3pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1609';
20240514@080324.7300 btsf3pllipg5c0v4hggm5ao3pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1609';
20240514@080324.9300 btsf3pllipg5c0v4hggm5ao3pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1609';
20240514@080324.1060 btsf3pllipg5c0v4hggm5ao3pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1609';
20240514@080324.1210 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.1240 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080324.1370 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.1400 btsf3pllipg5c0v4hggm5ao3pt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240514@080324.1690 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240514@080324.3130 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403306 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240514@080324.6190 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.6230 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080324.6360 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.6390 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080324.6490 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.6520 btsf3pllipg5c0v4hggm5ao3pt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080324.6620 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080324.6740 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.6770 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240514@080324.6860 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.6890 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080324.6980 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.7000 btsf3pllipg5c0v4hggm5ao3pt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080324.7100 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.7130 btsf3pllipg5c0v4hggm5ao3pt Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240514@080324.7240 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.7260 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from td where ndoc = 39
20240514@080324.7350 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080324.7450 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080324.7580 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080324.7720 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080324.7840 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080324.8070 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080324.8190 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080324.8280 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080324.9680 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080324.9780 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080324.9910 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080324.1000 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664308233266430cbc14' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080324.1143 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080324.1161 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080324.1188 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080324.1193 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080324.1198 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080324.1202 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080324.1207 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080324.1212 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080324.1216 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664308233266430cbc14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080324.1493 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080324.1548 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080324.1562 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080324.1578 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664308233266430cbc14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1284,102199,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080324.1836 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.1871 btsf3pllipg5c0v4hggm5ao3pt Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240514@080324.1885 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240514@080324.2033 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.2050 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080324.2071 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.2107 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080324.2112 btsf3pllipg5c0v4hggm5ao3pt Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240514@080324.2129 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080324.2140 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.2155 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080324.2179 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664300427066430cbc34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut664308233266430cbc14' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080324.2421 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.2436 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080324.2447 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664300427066430cbc34','aut664308233266430cbc14' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080324.2452 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.2465 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080324.2499 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.2512 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080324.2516 btsf3pllipg5c0v4hggm5ao3pt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080324.2526 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.2541 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080324.2567 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664309422366430cbc3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664308233266430cbc14' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080324.2788 btsf3pllipg5c0v4hggm5ao3pt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.2803 btsf3pllipg5c0v4hggm5ao3pt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080324.2808 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309422366430cbc3d','aut664308233266430cbc14' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080324.2812 btsf3pllipg5c0v4hggm5ao3pt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664308233266430cbc14','2403306','wait',39,'ari17112337378,753000005')
20240514@080324.2829 btsf3pllipg5c0v4hggm5ao3pt Query : use flama_phc
20240514@080324.2832 btsf3pllipg5c0v4hggm5ao3pt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080324.2843 btsf3pllipg5c0v4hggm5ao3pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1609';
20240514@080324.2858 btsf3pllipg5c0v4hggm5ao3pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1609';
20240514@080324.2875 btsf3pllipg5c0v4hggm5ao3pt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1609';
20240514@080324.2888 btsf3pllipg5c0v4hggm5ao3pt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1609';
20240514@080324.3304 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080324.3317 9f5hv1sgj4v2j6pohshr6hqf4p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080324.3335 9f5hv1sgj4v2j6pohshr6hqf4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1610';
20240514@080324.3378 9f5hv1sgj4v2j6pohshr6hqf4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1610';
20240514@080324.3398 9f5hv1sgj4v2j6pohshr6hqf4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1610';
20240514@080324.3412 9f5hv1sgj4v2j6pohshr6hqf4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1610';
20240514@080324.3427 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3430 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080324.3443 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3446 9f5hv1sgj4v2j6pohshr6hqf4p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240514@080324.3473 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240514@080324.3484 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403307 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240514@080324.3811 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3815 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080324.3828 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3832 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080324.3842 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3846 9f5hv1sgj4v2j6pohshr6hqf4p Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080324.3857 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080324.3871 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3874 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240514@080324.3885 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3887 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080324.3899 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3902 9f5hv1sgj4v2j6pohshr6hqf4p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080324.3913 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3916 9f5hv1sgj4v2j6pohshr6hqf4p Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240514@080324.3928 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.3931 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from td where ndoc = 39
20240514@080324.3940 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080324.3952 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080324.3966 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080324.3985 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080324.5230 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080324.5264 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080324.5279 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080324.5291 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080324.5367 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080324.5376 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080324.5388 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080324.5397 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664309933166430cbc81' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080324.5553 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080324.5567 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080324.5595 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080324.5600 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080324.5605 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080324.5610 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080324.5614 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080324.5619 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080324.5623 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664309933166430cbc81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080324.5837 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080324.5855 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080324.5868 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080324.5886 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664309933166430cbc81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1285,102199,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080324.6128 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.6142 9f5hv1sgj4v2j6pohshr6hqf4p Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240514@080324.6165 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240514@080324.6177 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.6191 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080324.6214 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.6227 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080324.6232 9f5hv1sgj4v2j6pohshr6hqf4p Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2301209100a'
20240514@080324.6243 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080324.6254 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.6266 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080324.6294 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664305555266430cbc98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut664309933166430cbc81' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080324.6572 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.6587 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080324.6592 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664305555266430cbc98','aut664309933166430cbc81' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080324.6597 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.6610 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080324.6634 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.6646 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080324.6651 9f5hv1sgj4v2j6pohshr6hqf4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080324.6662 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080324.6674 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080324.6700 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut664302579066430cbca2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut664309933166430cbc81' ,0,0 ,2,23.00,20000,?,?,?)
20240514@080324.6983 9f5hv1sgj4v2j6pohshr6hqf4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080324.6999 9f5hv1sgj4v2j6pohshr6hqf4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080324.7004 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664302579066430cbca2','aut664309933166430cbc81' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080324.7009 9f5hv1sgj4v2j6pohshr6hqf4p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664309933166430cbc81','2403307','wait',39,'ari17112337378,753000005')
20240514@080324.7026 9f5hv1sgj4v2j6pohshr6hqf4p Query : use flama_phc
20240514@080324.7030 9f5hv1sgj4v2j6pohshr6hqf4p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080324.7041 9f5hv1sgj4v2j6pohshr6hqf4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1610';
20240514@080324.7056 9f5hv1sgj4v2j6pohshr6hqf4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1610';
20240514@080324.7073 9f5hv1sgj4v2j6pohshr6hqf4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1610';
20240514@080324.7086 9f5hv1sgj4v2j6pohshr6hqf4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1610';
20240514@080324.7542 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080324.7555 5ie10k1k60c0jiep2v9r0d5g5i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080324.7574 5ie10k1k60c0jiep2v9r0d5g5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1611';
20240514@080324.7617 5ie10k1k60c0jiep2v9r0d5g5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1611';
20240514@080324.7636 5ie10k1k60c0jiep2v9r0d5g5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1611';
20240514@080324.7649 5ie10k1k60c0jiep2v9r0d5g5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1611';
20240514@080324.7664 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080324.7668 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080324.7681 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080324.7684 5ie10k1k60c0jiep2v9r0d5g5i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20240514@080324.7757 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240514@080324.7768 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403308 and bi.ref ='324.4990.00.1' and bi.lordem =1
20240514@080324.8079 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240514@080324.8225 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403308 and bi.ref ='324.4421.00.1' and bi.lordem =2
20240514@080324.8535 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240514@080324.8686 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403308 and bi.ref ='324.499.00.01' and bi.lordem =3
20240514@080324.8995 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080324.9006 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403308 and bi.ref ='324.4970.00.1' and bi.lordem =4
20240514@080324.9314 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240514@080324.9325 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403308 and bi.ref ='324.4743.00.1' and bi.lordem =5
20240514@080324.9631 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240514@080324.9781 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403308 and bi.ref ='324.4751.00.1' and bi.lordem =6
20240514@080325.1070 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.1220 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080325.1360 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.1400 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080325.1510 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.1540 5ie10k1k60c0jiep2v9r0d5g5i Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080325.1680 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080325.1830 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.1860 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20240514@080325.2890 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.2920 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080325.3030 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.3060 5ie10k1k60c0jiep2v9r0d5g5i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080325.3210 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.3240 5ie10k1k60c0jiep2v9r0d5g5i Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20240514@080325.3370 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.3410 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from td where ndoc = 39
20240514@080325.3520 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080325.3630 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080325.3770 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080325.3940 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080325.4080 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080325.4390 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080325.4520 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080325.4620 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080325.5390 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080325.5490 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080325.5620 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080325.5720 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664300191866430cbd0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080325.7200 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080325.7340 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080325.7620 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080325.7670 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080325.7720 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080325.7760 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080325.7810 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080325.7860 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080325.7900 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664300191866430cbd0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080325.1051 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080325.1068 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080325.1081 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080325.1104 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664300191866430cbd0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1286,102040,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080325.1434 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.1440 5ie10k1k60c0jiep2v9r0d5g5i Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240514@080325.1452 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240514@080325.1464 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.1477 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080325.1502 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.1516 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080325.1520 5ie10k1k60c0jiep2v9r0d5g5i Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240514@080325.1530 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080325.1540 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.1553 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080325.1578 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664306606166430cbd25',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664300191866430cbd0b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080325.1815 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.1831 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080325.1836 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664306606166430cbd25','aut664300191866430cbd0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080325.1840 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.1844 5ie10k1k60c0jiep2v9r0d5g5i Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240514@080325.1855 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20240514@080325.1996 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.2009 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080325.2031 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.2044 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080325.2048 5ie10k1k60c0jiep2v9r0d5g5i Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20240514@080325.2070 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080325.2079 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.2091 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080325.2113 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664309508066430cbd32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut664300191866430cbd0b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080325.2327 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.2342 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080325.2346 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309508066430cbd32','aut664300191866430cbd0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080325.2351 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.2354 5ie10k1k60c0jiep2v9r0d5g5i Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240514@080325.2364 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20240514@080325.2508 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.2521 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080325.2543 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.2556 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080325.2560 5ie10k1k60c0jiep2v9r0d5g5i Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240514@080325.2576 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080325.2586 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.2598 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080325.2621 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303341466430cbd3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664300191866430cbd0b' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240514@080325.2831 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.2845 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080325.2849 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303341466430cbd3f','aut664300191866430cbd0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080325.2853 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.2856 5ie10k1k60c0jiep2v9r0d5g5i Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080325.2866 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080325.2877 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.2889 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080325.2911 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.2922 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080325.2926 5ie10k1k60c0jiep2v9r0d5g5i Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080325.2936 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080325.2945 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.2956 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080325.2978 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664309082566430cbd47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut664300191866430cbd0b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240514@080325.3324 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.3621 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080325.3743 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664309082566430cbd47','aut664300191866430cbd0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080325.3787 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.3870 5ie10k1k60c0jiep2v9r0d5g5i Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240514@080325.3882 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20240514@080325.3893 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.4145 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080325.4386 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.4400 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080325.4404 5ie10k1k60c0jiep2v9r0d5g5i Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240514@080325.4415 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080325.4425 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.4438 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080325.4463 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664304390466430cbd6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut664300191866430cbd0b' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240514@080325.4680 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.4694 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080325.4698 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664304390466430cbd6c','aut664300191866430cbd0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080325.4703 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.4706 5ie10k1k60c0jiep2v9r0d5g5i Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240514@080325.4717 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240514@080325.4861 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.4873 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080325.4897 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.4910 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080325.4918 5ie10k1k60c0jiep2v9r0d5g5i Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240514@080325.4936 5ie10k1k60c0jiep2v9r0d5g5i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080325.4946 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080325.4958 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080325.4980 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308482566430cbd78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664300191866430cbd0b' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240514@080325.5193 5ie10k1k60c0jiep2v9r0d5g5i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080325.5211 5ie10k1k60c0jiep2v9r0d5g5i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080325.5215 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308482566430cbd78','aut664300191866430cbd0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080325.5219 5ie10k1k60c0jiep2v9r0d5g5i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut664300191866430cbd0b','2403308','wait',39,'ari17112337378,753000005')
20240514@080325.5235 5ie10k1k60c0jiep2v9r0d5g5i Query : use flama_phc
20240514@080325.5238 5ie10k1k60c0jiep2v9r0d5g5i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240514@080325.5249 5ie10k1k60c0jiep2v9r0d5g5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1611';
20240514@080325.5263 5ie10k1k60c0jiep2v9r0d5g5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1611';
20240514@080325.5280 5ie10k1k60c0jiep2v9r0d5g5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1611';
20240514@080325.5292 5ie10k1k60c0jiep2v9r0d5g5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1611';
20240514@080325.5683 kahuvdg176s90cshvht8p6ee44 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240514@080325.5697 kahuvdg176s90cshvht8p6ee44 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240514@080325.5715 kahuvdg176s90cshvht8p6ee44 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1612';
20240514@080325.5754 kahuvdg176s90cshvht8p6ee44 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1612';
20240514@080325.5773 kahuvdg176s90cshvht8p6ee44 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1612';
20240514@080325.5785 kahuvdg176s90cshvht8p6ee44 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1612';
20240514@080325.5801 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.5804 kahuvdg176s90cshvht8p6ee44 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240514@080325.5816 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.5819 kahuvdg176s90cshvht8p6ee44 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20240514@080325.5889 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240514@080325.5900 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.499.00.01' and bi.lordem =1
20240514@080325.6207 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240514@080325.6218 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240514@080325.6523 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240514@080325.6534 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240514@080325.6832 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240514@080325.6967 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.1608.00.1' and bi.lordem =4
20240514@080325.7276 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240514@080325.7287 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.4751.00.1' and bi.lordem =5
20240514@080325.7597 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240514@080325.7608 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.4990.00.1' and bi.lordem =6
20240514@080325.7906 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240514@080325.7917 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.4421.00.1' and bi.lordem =7
20240514@080325.8239 kahuvdg176s90cshvht8p6ee44 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240514@080325.8381 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2033 and bo.obrano = 2403310 and bi.ref ='324.727.00.01' and bi.lordem =8
20240514@080325.8698 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8702 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240514@080325.8717 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8720 kahuvdg176s90cshvht8p6ee44 Query : select top 1 1 valor from td where td.ndoc = 39
20240514@080325.8731 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8734 kahuvdg176s90cshvht8p6ee44 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240514@080325.8746 kahuvdg176s90cshvht8p6ee44 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240514@080325.8762 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8765 kahuvdg176s90cshvht8p6ee44 Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20240514@080325.8870 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8873 kahuvdg176s90cshvht8p6ee44 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240514@080325.8884 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8887 kahuvdg176s90cshvht8p6ee44 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240514@080325.8898 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8901 kahuvdg176s90cshvht8p6ee44 Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20240514@080325.8917 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.8920 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from td where ndoc = 39
20240514@080325.8930 kahuvdg176s90cshvht8p6ee44 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240514@080325.8943 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080325.8957 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240514@080325.8997 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080325.9010 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240514@080325.9045 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080325.9057 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240514@080325.9067 kahuvdg176s90cshvht8p6ee44 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080325.9177 kahuvdg176s90cshvht8p6ee44 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240514@080325.9188 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240514@080325.9203 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240514@080325.9213 kahuvdg176s90cshvht8p6ee44 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240514@080325.9358 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240514@080325.9372 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240514@080325.9401 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240514@080325.9406 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240514@080325.9412 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240514@080325.9417 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240514@080325.9423 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240514@080325.9428 kahuvdg176s90cshvht8p6ee44 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240514@080325.9433 kahuvdg176s90cshvht8p6ee44 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut664306206166430cbddd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240514@080325.9646 kahuvdg176s90cshvht8p6ee44 Query : select top 1 fno valor from wsft039data order by fno desc
20240514@080325.9661 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240514@080325.9675 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240514@080325.9693 kahuvdg176s90cshvht8p6ee44 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut664306206166430cbddd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1287,101987,0,'2024-05-14',39,'euro',0,0,2024 ,'20240514','0833',?,?,?,?)
20240514@080325.9974 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080325.9978 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240514@080325.9989 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20240514@080326.0000 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.1200 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.4000 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.5300 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.5700 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240514@080326.6700 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.7600 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.8800 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.1090 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664303017566430cbe01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240514@080326.3260 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.3410 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.3450 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664303017566430cbe01','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240514@080326.3490 kahuvdg176s90cshvht8p6ee44 Query : use flama_phc
20240514@080326.3520 kahuvdg176s90cshvht8p6ee44 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240514@080326.3620 kahuvdg176s90cshvht8p6ee44 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240514@080326.3920 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.4040 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240514@080326.4250 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.4380 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240514@080326.4420 kahuvdg176s90cshvht8p6ee44 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240514@080326.4520 kahuvdg176s90cshvht8p6ee44 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240514@080326.4620 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240514@080326.4740 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240514@080326.4970 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut664308081966430cbe0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut664306206166430cbddd' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240514@080326.7150 kahuvdg176s90cshvht8p6ee44 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240514@080326.7300 kahuvdg176s90cshvht8p6ee44 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240514@080326.7350 kahuvdg176s90cshvht8p6ee44 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut664308081966430cbe0b','aut664306206166430cbddd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
