20240816@185835.7640 7t9446gtqaab0fu1vcpo7hp6ct INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240816@185835.7637 7t9446gtqaab0fu1vcpo7hp6ct Query : use flama_phc
20240816@185835.7650 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from td where ndoc = 39
20240816@185835.7666 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185835.7683 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.7702 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185835.7725 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.7743 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185835.7779 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.7795 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185835.7815 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185835.7892 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185835.7909 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.7928 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185835.7951 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf93764066bf934bbe' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185835.8337 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.8448 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185835.8488 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185835.8502 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185835.8517 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185835.8531 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185835.8547 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185835.8561 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185835.8574 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf93764066bf934bbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185835.8852 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185835.8874 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.8891 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185835.8925 7t9446gtqaab0fu1vcpo7hp6ct Query : select 'normal' from dummy
20240816@185835.8942 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf93764066bf934bbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',379,101900,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185835.9253 7t9446gtqaab0fu1vcpo7hp6ct Query : use flama_phc
20240816@185835.9256 7t9446gtqaab0fu1vcpo7hp6ct Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240816@185835.9282 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240816@185835.9439 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.9458 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185835.9490 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.9509 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185835.9518 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185835.9534 7t9446gtqaab0fu1vcpo7hp6ct Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240816@185835.9564 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.9581 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185835.9594 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92029066bf934be9','aut66bf93764066bf934bbe' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185835.9599 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185835.9616 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185835.9651 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf92029066bf934be9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66bf93764066bf934bbe' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185835.9927 7t9446gtqaab0fu1vcpo7hp6ct Query : use flama_phc
20240816@185835.9930 7t9446gtqaab0fu1vcpo7hp6ct Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240816@185835.9960 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240816@185836.1170 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.1390 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185836.1780 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.1950 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185836.2050 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185836.2190 7t9446gtqaab0fu1vcpo7hp6ct Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240816@185836.2530 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.2710 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185836.2860 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91688966bf934c06','aut66bf93764066bf934bbe' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185836.2910 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.3070 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185836.4840 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91688966bf934c06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66bf93764066bf934bbe' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185836.9700 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.9910 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185836.1021 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.1040 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185836.1051 7t9446gtqaab0fu1vcpo7hp6ct Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185836.1076 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.1095 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185836.1110 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf95043466bf934c1a','aut66bf93764066bf934bbe' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185836.1116 7t9446gtqaab0fu1vcpo7hp6ct Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.1134 7t9446gtqaab0fu1vcpo7hp6ct Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185836.1167 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf95043466bf934c1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf93764066bf934bbe' ,0,0 ,2,23.00,30000,?,?,?)
20240816@185836.1448 7t9446gtqaab0fu1vcpo7hp6ct Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf93764066bf934bbe','2405407','wait',39,'adm09112754980.682000002')
20240816@185836.1537 7t9446gtqaab0fu1vcpo7hp6ct Query : use flama_phc
20240816@185836.1540 7t9446gtqaab0fu1vcpo7hp6ct Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185836.1589 7t9446gtqaab0fu1vcpo7hp6ct Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1568';
20240816@185836.1623 7t9446gtqaab0fu1vcpo7hp6ct Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1568';
20240816@185836.1684 7t9446gtqaab0fu1vcpo7hp6ct Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1568';
20240816@185836.1710 7t9446gtqaab0fu1vcpo7hp6ct Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1568';
20240816@185836.2312 gasfhthfp84o2lshuqlkkalsv9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185836.2333 gasfhthfp84o2lshuqlkkalsv9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185836.2399 gasfhthfp84o2lshuqlkkalsv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1569';
20240816@185836.2470 gasfhthfp84o2lshuqlkkalsv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1569';
20240816@185836.2529 gasfhthfp84o2lshuqlkkalsv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1569';
20240816@185836.2557 gasfhthfp84o2lshuqlkkalsv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1569';
20240816@185836.2626 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.2630 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185836.2722 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.2727 gasfhthfp84o2lshuqlkkalsv9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185836.2850 gasfhthfp84o2lshuqlkkalsv9 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'
20240816@185836.2876 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.2880 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185836.2922 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.2926 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185836.2973 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.2977 gasfhthfp84o2lshuqlkkalsv9 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185836.3022 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185836.3074 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.3078 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185836.3346 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.3350 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185836.3397 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.3401 gasfhthfp84o2lshuqlkkalsv9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185836.3457 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.3461 gasfhthfp84o2lshuqlkkalsv9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185836.3529 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.3533 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from td where ndoc = 39
20240816@185836.3550 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185836.3568 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.3587 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185836.3609 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.3636 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185836.3671 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.3689 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185836.3706 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185836.3782 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185836.3798 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.3844 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185836.3862 gasfhthfp84o2lshuqlkkalsv9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf99744666bf934c5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185836.4235 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.5080 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185836.5117 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185836.5132 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185836.5154 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185836.5167 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185836.5181 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185836.5194 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185836.5209 gasfhthfp84o2lshuqlkkalsv9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf99744666bf934c5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185836.5468 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185836.5488 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.5506 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185836.5531 gasfhthfp84o2lshuqlkkalsv9 Query : select 'normal' from dummy
20240816@185836.5549 gasfhthfp84o2lshuqlkkalsv9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf99744666bf934c5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',380,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185836.5846 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.5859 gasfhthfp84o2lshuqlkkalsv9 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240816@185836.5883 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240816@185836.5909 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.5928 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185836.5960 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.5979 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185836.5989 gasfhthfp84o2lshuqlkkalsv9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185836.6005 gasfhthfp84o2lshuqlkkalsv9 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240816@185836.6019 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.6036 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185836.6050 gasfhthfp84o2lshuqlkkalsv9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94413666bf934c92','aut66bf99744666bf934c5a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185836.6055 gasfhthfp84o2lshuqlkkalsv9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.6072 gasfhthfp84o2lshuqlkkalsv9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185836.6104 gasfhthfp84o2lshuqlkkalsv9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf94413666bf934c92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66bf99744666bf934c5a' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185836.6392 gasfhthfp84o2lshuqlkkalsv9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf99744666bf934c5a','2405408','wait',39,'adm09112754980.682000002')
20240816@185836.6474 gasfhthfp84o2lshuqlkkalsv9 Query : use flama_phc
20240816@185836.6478 gasfhthfp84o2lshuqlkkalsv9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185836.6511 gasfhthfp84o2lshuqlkkalsv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1569';
20240816@185836.6539 gasfhthfp84o2lshuqlkkalsv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1569';
20240816@185836.6577 gasfhthfp84o2lshuqlkkalsv9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1569';
20240816@185836.6603 gasfhthfp84o2lshuqlkkalsv9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1569';
20240816@185836.7563 pkekk891n64eqkr5d475jsogau Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185836.7579 pkekk891n64eqkr5d475jsogau Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185836.7661 pkekk891n64eqkr5d475jsogau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1570';
20240816@185836.8027 pkekk891n64eqkr5d475jsogau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1570';
20240816@185836.8129 pkekk891n64eqkr5d475jsogau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1570';
20240816@185836.8161 pkekk891n64eqkr5d475jsogau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1570';
20240816@185836.8213 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8217 pkekk891n64eqkr5d475jsogau Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185836.8290 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8293 pkekk891n64eqkr5d475jsogau Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185836.8339 pkekk891n64eqkr5d475jsogau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20240816@185836.8515 pkekk891n64eqkr5d475jsogau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20240816@185836.8537 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8541 pkekk891n64eqkr5d475jsogau Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185836.8578 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8582 pkekk891n64eqkr5d475jsogau Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185836.8616 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8619 pkekk891n64eqkr5d475jsogau Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185836.8653 pkekk891n64eqkr5d475jsogau Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185836.8693 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8697 pkekk891n64eqkr5d475jsogau Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185836.8729 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8733 pkekk891n64eqkr5d475jsogau Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185836.8766 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8770 pkekk891n64eqkr5d475jsogau Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185836.8813 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8816 pkekk891n64eqkr5d475jsogau Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185836.8868 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185836.8871 pkekk891n64eqkr5d475jsogau Query : select 1 valor from td where ndoc = 39
20240816@185836.8887 pkekk891n64eqkr5d475jsogau Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185836.8904 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.8925 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185836.8954 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.8971 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185836.9021 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.9038 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185836.9054 pkekk891n64eqkr5d475jsogau Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185836.9128 pkekk891n64eqkr5d475jsogau Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185836.9146 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.9165 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185836.9183 pkekk891n64eqkr5d475jsogau Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf96348366bf934cdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185836.9383 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185836.9404 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185836.9447 pkekk891n64eqkr5d475jsogau Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185836.9552 pkekk891n64eqkr5d475jsogau Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185836.9732 pkekk891n64eqkr5d475jsogau Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185836.9751 pkekk891n64eqkr5d475jsogau Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185836.9766 pkekk891n64eqkr5d475jsogau Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185836.9780 pkekk891n64eqkr5d475jsogau Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185836.9832 pkekk891n64eqkr5d475jsogau Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf96348366bf934cdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185837.1156 pkekk891n64eqkr5d475jsogau Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185837.1179 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.1199 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185837.1226 pkekk891n64eqkr5d475jsogau Query : select 'normal' from dummy
20240816@185837.1246 pkekk891n64eqkr5d475jsogau Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf96348366bf934cdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',381,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185837.1558 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185837.1561 pkekk891n64eqkr5d475jsogau Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20240816@185837.1590 pkekk891n64eqkr5d475jsogau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1406.00.1'
20240816@185837.1745 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.1764 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.1795 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.1812 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.1822 pkekk891n64eqkr5d475jsogau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185837.1838 pkekk891n64eqkr5d475jsogau Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '10/20'
20240816@185837.1872 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.1889 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.1903 pkekk891n64eqkr5d475jsogau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf95616466bf934d2d','aut66bf96348366bf934cdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185837.1908 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.1924 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.1957 pkekk891n64eqkr5d475jsogau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf95616466bf934d2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',54.000 ,'aut66bf96348366bf934cdd' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185837.2214 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185837.2217 pkekk891n64eqkr5d475jsogau Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20240816@185837.2243 pkekk891n64eqkr5d475jsogau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1406.00.1'
20240816@185837.2260 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.2289 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.2319 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.2336 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.2346 pkekk891n64eqkr5d475jsogau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185837.2360 pkekk891n64eqkr5d475jsogau Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '10/20'
20240816@185837.2375 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.2392 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.2406 pkekk891n64eqkr5d475jsogau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91619466bf934d39','aut66bf96348366bf934cdd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185837.2410 pkekk891n64eqkr5d475jsogau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.2428 pkekk891n64eqkr5d475jsogau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.2462 pkekk891n64eqkr5d475jsogau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91619466bf934d39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66bf96348366bf934cdd' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185837.2730 pkekk891n64eqkr5d475jsogau Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf96348366bf934cdd','2405409','wait',39,'adm09112754980.682000002')
20240816@185837.2808 pkekk891n64eqkr5d475jsogau Query : use flama_phc
20240816@185837.2812 pkekk891n64eqkr5d475jsogau Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185837.2844 pkekk891n64eqkr5d475jsogau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1570';
20240816@185837.2873 pkekk891n64eqkr5d475jsogau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1570';
20240816@185837.2911 pkekk891n64eqkr5d475jsogau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1570';
20240816@185837.2936 pkekk891n64eqkr5d475jsogau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1570';
20240816@185837.3526 e77c00i7g03ti1csbt8vjsaqnn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185837.3538 e77c00i7g03ti1csbt8vjsaqnn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185837.3597 e77c00i7g03ti1csbt8vjsaqnn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1571';
20240816@185837.3652 e77c00i7g03ti1csbt8vjsaqnn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1571';
20240816@185837.3703 e77c00i7g03ti1csbt8vjsaqnn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1571';
20240816@185837.3730 e77c00i7g03ti1csbt8vjsaqnn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1571';
20240816@185837.3779 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.3782 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185837.3886 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.3890 e77c00i7g03ti1csbt8vjsaqnn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185837.3935 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240816@185837.4103 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4107 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185837.4148 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4154 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185837.4188 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4192 e77c00i7g03ti1csbt8vjsaqnn Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185837.4224 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185837.4263 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4267 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185837.4300 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4303 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185837.4336 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4340 e77c00i7g03ti1csbt8vjsaqnn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185837.4383 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4387 e77c00i7g03ti1csbt8vjsaqnn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185837.4438 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.4441 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from td where ndoc = 39
20240816@185837.4455 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185837.4472 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.4493 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185837.5553 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.5669 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185837.5752 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.5768 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185837.5795 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185837.5970 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185837.5985 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.6003 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185837.6022 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf97293666bf934d8d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185837.6248 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.6270 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185837.6310 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185837.6323 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185837.6339 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185837.6353 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185837.6369 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185837.6385 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185837.6400 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf97293666bf934d8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185837.6674 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185837.6696 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.6716 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185837.6746 e77c00i7g03ti1csbt8vjsaqnn Query : select 'normal' from dummy
20240816@185837.6765 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf97293666bf934d8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',382,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185837.7186 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.7189 e77c00i7g03ti1csbt8vjsaqnn Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20240816@185837.7568 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1416.00.1'
20240816@185837.7737 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.7756 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.7787 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.7805 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.7816 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185837.7895 e77c00i7g03ti1csbt8vjsaqnn Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20240816@185837.7912 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.7932 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.7947 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91652166bf934dc1','aut66bf97293666bf934d8d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185837.7956 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.7974 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.8009 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91652166bf934dc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66bf97293666bf934d8d' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185837.8299 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.8321 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.8357 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.8374 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.8385 e77c00i7g03ti1csbt8vjsaqnn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185837.8401 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.8418 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185837.8433 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90629166bf934dcd','aut66bf97293666bf934d8d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185837.8438 e77c00i7g03ti1csbt8vjsaqnn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185837.8458 e77c00i7g03ti1csbt8vjsaqnn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185837.8740 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf90629166bf934dcd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf97293666bf934d8d' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185837.9131 e77c00i7g03ti1csbt8vjsaqnn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf97293666bf934d8d','2405410','wait',39,'adm09112754980.682000002')
20240816@185837.9217 e77c00i7g03ti1csbt8vjsaqnn Query : use flama_phc
20240816@185837.9221 e77c00i7g03ti1csbt8vjsaqnn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185837.9254 e77c00i7g03ti1csbt8vjsaqnn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1571';
20240816@185837.9285 e77c00i7g03ti1csbt8vjsaqnn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1571';
20240816@185837.9325 e77c00i7g03ti1csbt8vjsaqnn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1571';
20240816@185837.9353 e77c00i7g03ti1csbt8vjsaqnn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1571';
20240816@185837.9992 kj19aon1v4hoh7lsu69fromeuc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185838.9900 kj19aon1v4hoh7lsu69fromeuc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185838.3140 kj19aon1v4hoh7lsu69fromeuc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1572';
20240816@185838.3750 kj19aon1v4hoh7lsu69fromeuc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1572';
20240816@185838.4310 kj19aon1v4hoh7lsu69fromeuc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1572';
20240816@185838.4560 kj19aon1v4hoh7lsu69fromeuc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1572';
20240816@185838.5050 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.5080 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185838.5820 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.5860 kj19aon1v4hoh7lsu69fromeuc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185838.6300 kj19aon1v4hoh7lsu69fromeuc 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.2'
20240816@185838.8030 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.8080 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185838.8440 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.8480 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185838.8810 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.8840 kj19aon1v4hoh7lsu69fromeuc Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185838.9260 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185838.9670 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.9710 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185838.1005 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.1009 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185838.1041 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.1045 kj19aon1v4hoh7lsu69fromeuc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185838.1091 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.1095 kj19aon1v4hoh7lsu69fromeuc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185838.1145 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.1148 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from td where ndoc = 39
20240816@185838.1161 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185838.1178 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.1198 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185838.1219 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.1237 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185838.1273 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.1292 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185838.1307 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185838.1386 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185838.1401 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.1418 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185838.1436 kj19aon1v4hoh7lsu69fromeuc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf99956266bf934e1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185838.1634 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.1656 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185838.1696 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185838.1710 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185838.1725 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185838.1742 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185838.1756 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185838.1770 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185838.1784 kj19aon1v4hoh7lsu69fromeuc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf99956266bf934e1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185838.2053 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185838.2072 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.2091 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185838.2124 kj19aon1v4hoh7lsu69fromeuc Query : select 'normal' from dummy
20240816@185838.2142 kj19aon1v4hoh7lsu69fromeuc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf99956266bf934e1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',383,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185838.2456 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.2460 kj19aon1v4hoh7lsu69fromeuc Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20240816@185838.2485 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20240816@185838.2634 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.2651 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185838.2681 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.2697 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.2711 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185838.2726 kj19aon1v4hoh7lsu69fromeuc Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2300389200a'
20240816@185838.2744 kj19aon1v4hoh7lsu69fromeuc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.2760 kj19aon1v4hoh7lsu69fromeuc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.2774 kj19aon1v4hoh7lsu69fromeuc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96540266bf934e42','aut66bf99956266bf934e1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185838.2799 kj19aon1v4hoh7lsu69fromeuc Query : use flama_phc
20240816@185838.2802 kj19aon1v4hoh7lsu69fromeuc Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240816@185838.2879 kj19aon1v4hoh7lsu69fromeuc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1572';
20240816@185838.2910 kj19aon1v4hoh7lsu69fromeuc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1572';
20240816@185838.4447 6srv3svkudqk43fjv87l52uoo9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185838.4460 6srv3svkudqk43fjv87l52uoo9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185838.4513 6srv3svkudqk43fjv87l52uoo9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1573';
20240816@185838.4567 6srv3svkudqk43fjv87l52uoo9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1573';
20240816@185838.4618 6srv3svkudqk43fjv87l52uoo9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1573';
20240816@185838.4645 6srv3svkudqk43fjv87l52uoo9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1573';
20240816@185838.4694 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.4698 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185838.4767 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.4771 6srv3svkudqk43fjv87l52uoo9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185838.4814 6srv3svkudqk43fjv87l52uoo9 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'
20240816@185838.4984 6srv3svkudqk43fjv87l52uoo9 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'
20240816@185838.5007 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5011 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185838.5047 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5050 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185838.5083 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5086 6srv3svkudqk43fjv87l52uoo9 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185838.5120 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185838.5156 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5159 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185838.5192 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5196 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185838.5230 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5233 6srv3svkudqk43fjv87l52uoo9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185838.5274 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5278 6srv3svkudqk43fjv87l52uoo9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185838.5327 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.5330 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from td where ndoc = 39
20240816@185838.5344 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185838.5362 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.5380 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185838.5406 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.5423 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185838.5456 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.5472 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185838.5487 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185838.5653 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185838.5671 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.5689 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185838.5710 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf98443666bf934e85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185838.5893 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.5913 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185838.5950 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185838.5965 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185838.5980 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185838.5995 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185838.6010 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185838.6025 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185838.6039 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf98443666bf934e85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185838.6295 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185838.6315 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.6335 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185838.6360 6srv3svkudqk43fjv87l52uoo9 Query : select 'normal' from dummy
20240816@185838.6377 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf98443666bf934e85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',383,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185838.6885 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.6889 6srv3svkudqk43fjv87l52uoo9 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240816@185838.6914 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240816@185838.7068 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7086 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185838.7120 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7137 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.7147 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185838.7163 6srv3svkudqk43fjv87l52uoo9 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240816@185838.7192 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7208 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.7222 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf93975166bf934eaf','aut66bf98443666bf934e85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185838.7228 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7245 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185838.7279 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf93975166bf934eaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66bf98443666bf934e85' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185838.7577 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7598 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185838.7631 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7650 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.7661 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185838.7678 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7698 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.7714 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92792966bf934ebb','aut66bf98443666bf934e85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185838.7720 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.7740 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185838.7778 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf92792966bf934ebb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf98443666bf934e85' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185838.8264 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185838.8669 6srv3svkudqk43fjv87l52uoo9 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240816@185838.9216 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240816@185838.9235 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.9253 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185838.9283 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.9300 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.9310 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185838.9324 6srv3svkudqk43fjv87l52uoo9 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240816@185838.9340 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.9356 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185838.9370 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90988066bf934ee4','aut66bf98443666bf934e85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185838.9375 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185838.9392 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185838.9484 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf90988066bf934ee4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66bf98443666bf934e85' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185838.9929 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.6200 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185839.9400 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.1150 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185839.1260 6srv3svkudqk43fjv87l52uoo9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185839.1410 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.1580 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185839.1730 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96277566bf934f03','aut66bf98443666bf934e85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185839.1780 6srv3svkudqk43fjv87l52uoo9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.1960 6srv3svkudqk43fjv87l52uoo9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185839.2300 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf96277566bf934f03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf98443666bf934e85' ,0,0 ,2,23.00,50000,?,?,?)
20240816@185839.6680 6srv3svkudqk43fjv87l52uoo9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf98443666bf934e85','2405412','wait',39,'adm09112754980.682000002')
20240816@185839.9380 6srv3svkudqk43fjv87l52uoo9 Query : use flama_phc
20240816@185839.9420 6srv3svkudqk43fjv87l52uoo9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185839.9740 6srv3svkudqk43fjv87l52uoo9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1573';
20240816@185839.1004 6srv3svkudqk43fjv87l52uoo9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1573';
20240816@185839.1043 6srv3svkudqk43fjv87l52uoo9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1573';
20240816@185839.1071 6srv3svkudqk43fjv87l52uoo9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1573';
20240816@185839.2165 vn5s7nosuui9hsutpbp6lf7127 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185839.2177 vn5s7nosuui9hsutpbp6lf7127 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185839.2232 vn5s7nosuui9hsutpbp6lf7127 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1574';
20240816@185839.2285 vn5s7nosuui9hsutpbp6lf7127 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1574';
20240816@185839.2334 vn5s7nosuui9hsutpbp6lf7127 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1574';
20240816@185839.2361 vn5s7nosuui9hsutpbp6lf7127 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1574';
20240816@185839.2408 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.2412 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185839.2521 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.2525 vn5s7nosuui9hsutpbp6lf7127 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185839.2569 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240816@185839.2736 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240816@185839.2760 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.2764 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185839.2800 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.2804 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185839.2840 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.2844 vn5s7nosuui9hsutpbp6lf7127 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185839.2881 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185839.2935 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.2939 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185839.2980 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.2984 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185839.3023 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.3028 vn5s7nosuui9hsutpbp6lf7127 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185839.3073 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.3077 vn5s7nosuui9hsutpbp6lf7127 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185839.3130 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.3133 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from td where ndoc = 39
20240816@185839.3150 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185839.3170 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.3188 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185839.3210 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.3265 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185839.3309 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.3328 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185839.3344 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185839.3429 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185839.3444 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.3462 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185839.3480 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf91532366bf934f51' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185839.3728 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.3748 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185839.3789 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185839.3804 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185839.3818 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185839.3833 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185839.3849 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185839.3865 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185839.3878 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf91532366bf934f51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185839.4130 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185839.4153 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.4177 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185839.4205 vn5s7nosuui9hsutpbp6lf7127 Query : select 'normal' from dummy
20240816@185839.4227 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf91532366bf934f51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',384,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185839.4536 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.4540 vn5s7nosuui9hsutpbp6lf7127 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240816@185839.4566 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240816@185839.4714 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.4732 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185839.4762 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.4779 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185839.4789 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185839.4802 vn5s7nosuui9hsutpbp6lf7127 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20240816@185839.4825 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.4841 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185839.4856 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98445866bf934f75','aut66bf91532366bf934f51' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185839.4862 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.4881 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185839.4919 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf98445866bf934f75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf91532366bf934f51' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185839.5186 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.5190 vn5s7nosuui9hsutpbp6lf7127 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240816@185839.5213 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240816@185839.5228 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.5246 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185839.5276 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.5292 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185839.5323 vn5s7nosuui9hsutpbp6lf7127 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185839.5337 vn5s7nosuui9hsutpbp6lf7127 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20240816@185839.5352 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.5374 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185839.5392 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91256666bf934f82','aut66bf91532366bf934f51' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185839.5397 vn5s7nosuui9hsutpbp6lf7127 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.5414 vn5s7nosuui9hsutpbp6lf7127 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185839.5450 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91256666bf934f82',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66bf91532366bf934f51' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185839.5716 vn5s7nosuui9hsutpbp6lf7127 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf91532366bf934f51','2405413','wait',39,'adm09112754980.682000002')
20240816@185839.5798 vn5s7nosuui9hsutpbp6lf7127 Query : use flama_phc
20240816@185839.5802 vn5s7nosuui9hsutpbp6lf7127 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185839.5833 vn5s7nosuui9hsutpbp6lf7127 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1574';
20240816@185839.5863 vn5s7nosuui9hsutpbp6lf7127 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1574';
20240816@185839.5903 vn5s7nosuui9hsutpbp6lf7127 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1574';
20240816@185839.5929 vn5s7nosuui9hsutpbp6lf7127 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1574';
20240816@185839.6484 rmptcg16ge54r9abvhefm4etls Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185839.6495 rmptcg16ge54r9abvhefm4etls Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185839.6549 rmptcg16ge54r9abvhefm4etls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1575';
20240816@185839.6603 rmptcg16ge54r9abvhefm4etls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1575';
20240816@185839.6651 rmptcg16ge54r9abvhefm4etls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1575';
20240816@185839.6678 rmptcg16ge54r9abvhefm4etls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1575';
20240816@185839.6725 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.6728 rmptcg16ge54r9abvhefm4etls Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185839.6795 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.6798 rmptcg16ge54r9abvhefm4etls Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185839.8008 rmptcg16ge54r9abvhefm4etls Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240816@185839.8174 rmptcg16ge54r9abvhefm4etls Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240816@185839.8197 rmptcg16ge54r9abvhefm4etls 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'
20240816@185839.8365 rmptcg16ge54r9abvhefm4etls 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'
20240816@185839.8533 rmptcg16ge54r9abvhefm4etls 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'
20240816@185839.8719 rmptcg16ge54r9abvhefm4etls 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'
20240816@185839.8929 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.8934 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185839.8971 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.8975 rmptcg16ge54r9abvhefm4etls Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185839.9014 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.9018 rmptcg16ge54r9abvhefm4etls Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185839.9057 rmptcg16ge54r9abvhefm4etls Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185839.9157 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.9178 rmptcg16ge54r9abvhefm4etls Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185839.9214 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.9217 rmptcg16ge54r9abvhefm4etls Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185839.9250 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.9254 rmptcg16ge54r9abvhefm4etls Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185839.9299 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.9303 rmptcg16ge54r9abvhefm4etls Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185839.9468 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185839.9485 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from td where ndoc = 39
20240816@185839.9693 rmptcg16ge54r9abvhefm4etls Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185839.9710 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.9729 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185839.9758 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.9775 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185839.9808 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185839.9825 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185839.9839 rmptcg16ge54r9abvhefm4etls Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185839.9979 rmptcg16ge54r9abvhefm4etls Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185839.9996 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.1400 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185840.3600 rmptcg16ge54r9abvhefm4etls Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185840.2790 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5550 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185840.7040 rmptcg16ge54r9abvhefm4etls Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185840.7170 rmptcg16ge54r9abvhefm4etls Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185840.7320 rmptcg16ge54r9abvhefm4etls Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185840.7470 rmptcg16ge54r9abvhefm4etls Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185840.7630 rmptcg16ge54r9abvhefm4etls Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185840.7770 rmptcg16ge54r9abvhefm4etls Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185840.7910 rmptcg16ge54r9abvhefm4etls Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf97478166bf934ff0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185840.1062 rmptcg16ge54r9abvhefm4etls Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185840.1083 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.1104 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185840.1136 rmptcg16ge54r9abvhefm4etls Query : select 'normal' from dummy
20240816@185840.1156 rmptcg16ge54r9abvhefm4etls Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf97478166bf934ff0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',385,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185840.1484 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185840.1487 rmptcg16ge54r9abvhefm4etls Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240816@185840.1514 rmptcg16ge54r9abvhefm4etls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5347.00.1'
20240816@185840.1672 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.1693 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.1725 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.1742 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.1754 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.1768 rmptcg16ge54r9abvhefm4etls Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240816@185840.1790 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.1808 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.1821 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91380766bf93502b','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.1826 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.1842 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.1875 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91380766bf93502b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185840.2240 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.2259 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.2290 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.2307 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.2317 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.2332 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.2348 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.2365 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf93495266bf935038','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.2369 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.2386 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.2418 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf93495266bf935038',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185840.2691 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185840.2695 rmptcg16ge54r9abvhefm4etls Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240816@185840.2718 rmptcg16ge54r9abvhefm4etls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5347.00.1'
20240816@185840.2735 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.2751 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.3150 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.3173 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.3185 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.3201 rmptcg16ge54r9abvhefm4etls Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240816@185840.3217 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.3237 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.3253 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf93277266bf93504e','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.3259 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.3286 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.3323 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf93277266bf93504e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',192.000 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185840.3658 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.3679 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.3715 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.3731 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.3740 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.3754 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.3769 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.3782 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92766966bf93505b','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.3787 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.3802 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.3833 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf92766966bf93505b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,50000,?,?,?)
20240816@185840.4160 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185840.4164 rmptcg16ge54r9abvhefm4etls Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240816@185840.4185 rmptcg16ge54r9abvhefm4etls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240816@185840.4342 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.4365 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.4394 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.4409 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.4418 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.4431 rmptcg16ge54r9abvhefm4etls Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240816@185840.4445 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.4460 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.4472 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97276766bf93506c','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.4483 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.4499 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.4530 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf97276766bf93506c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,70000,?,?,?,?)
20240816@185840.4793 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185840.4796 rmptcg16ge54r9abvhefm4etls Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240816@185840.4820 rmptcg16ge54r9abvhefm4etls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5342.00.1'
20240816@185840.4961 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.4979 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.5009 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5024 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.5035 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.5047 rmptcg16ge54r9abvhefm4etls Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240816@185840.5062 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5084 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.5096 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99503866bf93507b','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.5101 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5120 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.5151 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf99503866bf93507b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,80000,?,?,?,?)
20240816@185840.5416 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5438 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.5466 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5481 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.5490 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.5502 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5517 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.5531 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92855566bf935086','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.5535 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.5552 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.5585 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf92855566bf935086',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,90000,?,?,?)
20240816@185840.5887 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185840.5891 rmptcg16ge54r9abvhefm4etls Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240816@185840.5922 rmptcg16ge54r9abvhefm4etls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240816@185840.6072 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6093 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.6123 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6139 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.6149 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.6209 rmptcg16ge54r9abvhefm4etls Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240816@185840.6231 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6247 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.6261 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96072266bf935098','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.6265 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6284 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.6315 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96072266bf935098',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,110000,?,?,?,?)
20240816@185840.6582 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185840.6586 rmptcg16ge54r9abvhefm4etls Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240816@185840.6611 rmptcg16ge54r9abvhefm4etls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5396.00.1'
20240816@185840.6772 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6793 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.6826 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6851 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.6862 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.6877 rmptcg16ge54r9abvhefm4etls Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240816@185840.6894 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6914 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.6930 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf93240666bf9350a8','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.6937 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.6956 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.8204 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf93240666bf9350a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,120000,?,?,?,?)
20240816@185840.8519 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.8541 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.8570 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.8609 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.8619 rmptcg16ge54r9abvhefm4etls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185840.8633 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.8649 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185840.8665 rmptcg16ge54r9abvhefm4etls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91934066bf9350d2','aut66bf97478166bf934ff0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185840.8670 rmptcg16ge54r9abvhefm4etls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185840.8687 rmptcg16ge54r9abvhefm4etls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185840.8723 rmptcg16ge54r9abvhefm4etls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf91934066bf9350d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf97478166bf934ff0' ,0,0 ,2,23.00,130000,?,?,?)
20240816@185840.9031 rmptcg16ge54r9abvhefm4etls Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf97478166bf934ff0','2405414','wait',39,'adm09112754980.682000002')
20240816@185840.9113 rmptcg16ge54r9abvhefm4etls Query : use flama_phc
20240816@185840.9117 rmptcg16ge54r9abvhefm4etls Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185840.9160 rmptcg16ge54r9abvhefm4etls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1575';
20240816@185840.9191 rmptcg16ge54r9abvhefm4etls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1575';
20240816@185840.9229 rmptcg16ge54r9abvhefm4etls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1575';
20240816@185840.9258 rmptcg16ge54r9abvhefm4etls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1575';
20240816@185840.9832 m7lvlhdh6hg13deamfjuv9kifs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185840.9844 m7lvlhdh6hg13deamfjuv9kifs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185840.9900 m7lvlhdh6hg13deamfjuv9kifs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1576';
20240816@185840.9955 m7lvlhdh6hg13deamfjuv9kifs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1576';
20240816@185841.1400 m7lvlhdh6hg13deamfjuv9kifs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1576';
20240816@185841.4000 m7lvlhdh6hg13deamfjuv9kifs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1576';
20240816@185841.8900 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.9300 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185841.1620 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.1660 m7lvlhdh6hg13deamfjuv9kifs Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185841.2080 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240816@185841.4400 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240816@185841.4630 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.4660 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185841.5020 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.5050 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185841.5380 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.5420 m7lvlhdh6hg13deamfjuv9kifs Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185841.5730 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185841.6120 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.6150 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185841.6480 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.6530 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185841.6870 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.6910 m7lvlhdh6hg13deamfjuv9kifs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185841.7340 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.7380 m7lvlhdh6hg13deamfjuv9kifs Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185841.7910 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.7950 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from td where ndoc = 39
20240816@185841.8100 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185841.8270 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.8460 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185841.8710 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.8900 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185841.9250 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.9420 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185841.9560 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185841.1031 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185841.1046 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.1065 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185841.1082 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf96698866bf935117' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185841.1381 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.2370 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185841.2409 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185841.2447 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185841.2462 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185841.2477 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185841.2493 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185841.2509 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185841.2522 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf96698866bf935117',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185841.2841 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185841.2864 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.2884 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185841.2910 m7lvlhdh6hg13deamfjuv9kifs Query : select 'normal' from dummy
20240816@185841.2929 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf96698866bf935117',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',386,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185841.3243 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.3247 m7lvlhdh6hg13deamfjuv9kifs Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240816@185841.3275 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240816@185841.3431 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.3449 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185841.3478 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.3497 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185841.3508 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185841.3524 m7lvlhdh6hg13deamfjuv9kifs Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240816@185841.3542 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.3564 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185841.3577 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96457466bf935156','aut66bf96698866bf935117' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185841.3582 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.3599 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185841.3631 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96457466bf935156',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',132.000 ,'aut66bf96698866bf935117' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185841.3898 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.3902 m7lvlhdh6hg13deamfjuv9kifs Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240816@185841.4010 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240816@185841.4026 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.4044 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185841.4074 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.4090 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185841.4099 m7lvlhdh6hg13deamfjuv9kifs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185841.4114 m7lvlhdh6hg13deamfjuv9kifs Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240816@185841.4271 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.4290 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185841.4304 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90553666bf935168','aut66bf96698866bf935117' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185841.4309 m7lvlhdh6hg13deamfjuv9kifs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.4336 m7lvlhdh6hg13deamfjuv9kifs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185841.4370 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf90553666bf935168',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66bf96698866bf935117' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185841.4778 m7lvlhdh6hg13deamfjuv9kifs Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf96698866bf935117','2405415','wait',39,'adm09112754980.682000002')
20240816@185841.4857 m7lvlhdh6hg13deamfjuv9kifs Query : use flama_phc
20240816@185841.4860 m7lvlhdh6hg13deamfjuv9kifs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185841.4893 m7lvlhdh6hg13deamfjuv9kifs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1576';
20240816@185841.4921 m7lvlhdh6hg13deamfjuv9kifs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1576';
20240816@185841.4962 m7lvlhdh6hg13deamfjuv9kifs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1576';
20240816@185841.4989 m7lvlhdh6hg13deamfjuv9kifs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1576';
20240816@185841.5577 aei1bqoo919lqmogninuq0rarl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185841.5590 aei1bqoo919lqmogninuq0rarl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185841.5647 aei1bqoo919lqmogninuq0rarl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1577';
20240816@185841.5705 aei1bqoo919lqmogninuq0rarl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1577';
20240816@185841.5780 aei1bqoo919lqmogninuq0rarl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1577';
20240816@185841.5810 aei1bqoo919lqmogninuq0rarl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1577';
20240816@185841.5858 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.5862 aei1bqoo919lqmogninuq0rarl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185841.5933 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.5937 aei1bqoo919lqmogninuq0rarl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185841.5983 aei1bqoo919lqmogninuq0rarl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240816@185841.6150 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6154 aei1bqoo919lqmogninuq0rarl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185841.6292 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6296 aei1bqoo919lqmogninuq0rarl Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185841.6330 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6334 aei1bqoo919lqmogninuq0rarl Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185841.6368 aei1bqoo919lqmogninuq0rarl Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185841.6409 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6412 aei1bqoo919lqmogninuq0rarl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185841.6635 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6642 aei1bqoo919lqmogninuq0rarl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185841.6684 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6687 aei1bqoo919lqmogninuq0rarl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185841.6735 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6739 aei1bqoo919lqmogninuq0rarl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185841.6793 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.6796 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from td where ndoc = 39
20240816@185841.6815 aei1bqoo919lqmogninuq0rarl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185841.6834 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.6855 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185841.6881 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.6899 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185841.6934 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.6956 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185841.6972 aei1bqoo919lqmogninuq0rarl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185841.7070 aei1bqoo919lqmogninuq0rarl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185841.7085 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.7161 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185841.7180 aei1bqoo919lqmogninuq0rarl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf97555366bf9351aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185841.7366 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.7533 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185841.7575 aei1bqoo919lqmogninuq0rarl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185841.7589 aei1bqoo919lqmogninuq0rarl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185841.7603 aei1bqoo919lqmogninuq0rarl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185841.7617 aei1bqoo919lqmogninuq0rarl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185841.7631 aei1bqoo919lqmogninuq0rarl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185841.7644 aei1bqoo919lqmogninuq0rarl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185841.7659 aei1bqoo919lqmogninuq0rarl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf97555366bf9351aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185841.8095 aei1bqoo919lqmogninuq0rarl Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185841.8972 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.8992 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185841.9066 aei1bqoo919lqmogninuq0rarl Query : select 'normal' from dummy
20240816@185841.9083 aei1bqoo919lqmogninuq0rarl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf97555366bf9351aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',387,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185841.9447 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185841.9451 aei1bqoo919lqmogninuq0rarl Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20240816@185841.9475 aei1bqoo919lqmogninuq0rarl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20240816@185841.9699 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.9716 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185841.9743 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.9758 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185841.9767 aei1bqoo919lqmogninuq0rarl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185841.9780 aei1bqoo919lqmogninuq0rarl Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301277100a'
20240816@185841.9794 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.9809 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185841.9821 aei1bqoo919lqmogninuq0rarl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91111066bf9351ef','aut66bf97555366bf9351aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185841.9825 aei1bqoo919lqmogninuq0rarl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185841.9840 aei1bqoo919lqmogninuq0rarl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185841.9869 aei1bqoo919lqmogninuq0rarl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91111066bf9351ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66bf97555366bf9351aa' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185842.1720 aei1bqoo919lqmogninuq0rarl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf97555366bf9351aa','2405416','wait',39,'adm09112754980.682000002')
20240816@185842.2480 aei1bqoo919lqmogninuq0rarl Query : use flama_phc
20240816@185842.2510 aei1bqoo919lqmogninuq0rarl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185842.2820 aei1bqoo919lqmogninuq0rarl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1577';
20240816@185842.3090 aei1bqoo919lqmogninuq0rarl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1577';
20240816@185842.3490 aei1bqoo919lqmogninuq0rarl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1577';
20240816@185842.3730 aei1bqoo919lqmogninuq0rarl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1577';
20240816@185842.9490 2cljg8cd12srtdopfptqvu5abj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185842.9620 2cljg8cd12srtdopfptqvu5abj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185842.1059 2cljg8cd12srtdopfptqvu5abj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1578';
20240816@185842.1116 2cljg8cd12srtdopfptqvu5abj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1578';
20240816@185842.1165 2cljg8cd12srtdopfptqvu5abj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1578';
20240816@185842.1188 2cljg8cd12srtdopfptqvu5abj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1578';
20240816@185842.1235 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.1239 2cljg8cd12srtdopfptqvu5abj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185842.1300 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.1303 2cljg8cd12srtdopfptqvu5abj Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240816@185842.1394 2cljg8cd12srtdopfptqvu5abj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240816@185842.1608 2cljg8cd12srtdopfptqvu5abj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240816@185842.1775 2cljg8cd12srtdopfptqvu5abj 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.01'
20240816@185842.1939 2cljg8cd12srtdopfptqvu5abj 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'
20240816@185842.2093 2cljg8cd12srtdopfptqvu5abj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240816@185842.2297 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2301 2cljg8cd12srtdopfptqvu5abj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185842.2332 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2335 2cljg8cd12srtdopfptqvu5abj Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185842.2363 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2366 2cljg8cd12srtdopfptqvu5abj Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185842.2395 2cljg8cd12srtdopfptqvu5abj Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185842.2429 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2431 2cljg8cd12srtdopfptqvu5abj Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240816@185842.2561 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2564 2cljg8cd12srtdopfptqvu5abj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185842.2594 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2596 2cljg8cd12srtdopfptqvu5abj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185842.2635 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2637 2cljg8cd12srtdopfptqvu5abj Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240816@185842.2682 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.2685 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from td where ndoc = 39
20240816@185842.2697 2cljg8cd12srtdopfptqvu5abj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185842.2711 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.2726 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185842.2745 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.2759 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185842.2787 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.2801 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185842.2813 2cljg8cd12srtdopfptqvu5abj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185842.2881 2cljg8cd12srtdopfptqvu5abj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185842.2896 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.2910 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185842.2927 2cljg8cd12srtdopfptqvu5abj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf91625266bf935244' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185842.3117 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.3133 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185842.3165 2cljg8cd12srtdopfptqvu5abj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185842.3177 2cljg8cd12srtdopfptqvu5abj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185842.3188 2cljg8cd12srtdopfptqvu5abj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185842.3200 2cljg8cd12srtdopfptqvu5abj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185842.3211 2cljg8cd12srtdopfptqvu5abj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185842.3223 2cljg8cd12srtdopfptqvu5abj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185842.3234 2cljg8cd12srtdopfptqvu5abj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf91625266bf935244',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185842.3478 2cljg8cd12srtdopfptqvu5abj Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185842.4214 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.4232 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185842.4255 2cljg8cd12srtdopfptqvu5abj Query : select 'normal' from dummy
20240816@185842.4270 2cljg8cd12srtdopfptqvu5abj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf91625266bf935244',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',388,199800,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185842.4573 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.4576 2cljg8cd12srtdopfptqvu5abj Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240816@185842.4596 2cljg8cd12srtdopfptqvu5abj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20240816@185842.4609 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.4625 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.4654 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.4668 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.4676 2cljg8cd12srtdopfptqvu5abj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185842.4688 2cljg8cd12srtdopfptqvu5abj Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240816@185842.4702 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.4716 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.4729 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96600066bf935272','aut66bf91625266bf935244' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185842.4733 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.4747 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.4777 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96600066bf935272',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66bf91625266bf935244' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185842.5046 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5062 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.5089 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5104 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.5113 2cljg8cd12srtdopfptqvu5abj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185842.5125 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5140 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.5152 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94424466bf93527d','aut66bf91625266bf935244' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185842.5156 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5171 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.5212 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf94424466bf93527d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf91625266bf935244' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185842.5455 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.5458 2cljg8cd12srtdopfptqvu5abj Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240816@185842.5479 2cljg8cd12srtdopfptqvu5abj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240816@185842.5630 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5646 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.5672 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5689 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.5697 2cljg8cd12srtdopfptqvu5abj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185842.5710 2cljg8cd12srtdopfptqvu5abj Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240816@185842.5723 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5737 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.5749 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94779766bf93528b','aut66bf91625266bf935244' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185842.5753 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.5767 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.5797 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf94779766bf93528b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut66bf91625266bf935244' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185842.6521 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.6526 2cljg8cd12srtdopfptqvu5abj Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240816@185842.6548 2cljg8cd12srtdopfptqvu5abj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240816@185842.6711 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.6727 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.6752 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.6766 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.6776 2cljg8cd12srtdopfptqvu5abj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185842.6788 2cljg8cd12srtdopfptqvu5abj Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240816@185842.6802 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.6816 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.6828 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98161666bf9352a6','aut66bf91625266bf935244' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185842.6832 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.6847 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.6875 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf98161666bf9352a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut66bf91625266bf935244' ,0,0 ,2,23.00,50000,?,?,?,?)
20240816@185842.7143 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.7146 2cljg8cd12srtdopfptqvu5abj Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240816@185842.7168 2cljg8cd12srtdopfptqvu5abj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20240816@185842.7318 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.7334 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.7370 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.7386 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.7395 2cljg8cd12srtdopfptqvu5abj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185842.7408 2cljg8cd12srtdopfptqvu5abj Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240816@185842.7421 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.7436 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.7447 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf95310666bf9352b5','aut66bf91625266bf935244' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185842.7451 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.7466 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.7496 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf95310666bf9352b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',34.000 ,'aut66bf91625266bf935244' ,0,0 ,2,23.00,60000,?,?,?,?)
20240816@185842.7794 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.7798 2cljg8cd12srtdopfptqvu5abj Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240816@185842.7819 2cljg8cd12srtdopfptqvu5abj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20240816@185842.7977 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.7993 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.8019 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.8034 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.8043 2cljg8cd12srtdopfptqvu5abj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185842.8056 2cljg8cd12srtdopfptqvu5abj Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240816@185842.8070 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.8085 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185842.8096 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99586566bf9352c5','aut66bf91625266bf935244' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185842.8100 2cljg8cd12srtdopfptqvu5abj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185842.8114 2cljg8cd12srtdopfptqvu5abj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185842.8142 2cljg8cd12srtdopfptqvu5abj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf99586566bf9352c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf91625266bf935244' ,0,0 ,2,23.00,70000,?,?,?,?)
20240816@185842.8872 2cljg8cd12srtdopfptqvu5abj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf91625266bf935244','2405417','wait',39,'adm09112754980.682000002')
20240816@185842.9027 2cljg8cd12srtdopfptqvu5abj Query : use flama_phc
20240816@185842.9030 2cljg8cd12srtdopfptqvu5abj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185842.9060 2cljg8cd12srtdopfptqvu5abj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1578';
20240816@185842.9090 2cljg8cd12srtdopfptqvu5abj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1578';
20240816@185842.9130 2cljg8cd12srtdopfptqvu5abj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1578';
20240816@185842.9155 2cljg8cd12srtdopfptqvu5abj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1578';
20240816@185842.9975 dto2vbe7pffrg1mnatg2ratb3h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185842.9991 dto2vbe7pffrg1mnatg2ratb3h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185843.4300 dto2vbe7pffrg1mnatg2ratb3h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1579';
20240816@185843.1050 dto2vbe7pffrg1mnatg2ratb3h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1579';
20240816@185843.1610 dto2vbe7pffrg1mnatg2ratb3h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1579';
20240816@185843.1850 dto2vbe7pffrg1mnatg2ratb3h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1579';
20240816@185843.2340 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.2380 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185843.3090 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.3120 dto2vbe7pffrg1mnatg2ratb3h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185843.3530 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240816@185843.5270 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240816@185843.5490 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240816@185843.5700 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240816@185843.5900 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240816@185843.6100 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.6130 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185843.6520 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.6550 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185843.1315 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.1318 dto2vbe7pffrg1mnatg2ratb3h Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185843.1345 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185843.1378 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.1381 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185843.1410 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.1413 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185843.1456 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.1459 dto2vbe7pffrg1mnatg2ratb3h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185843.1502 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.1504 dto2vbe7pffrg1mnatg2ratb3h Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185843.1549 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.1552 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from td where ndoc = 39
20240816@185843.1564 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185843.1578 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.1594 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185843.1613 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.1627 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185843.1656 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.1669 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185843.1681 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185843.1750 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185843.1762 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.1777 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185843.1795 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185843.1985 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.2002 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185843.2035 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185843.2055 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185843.2066 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185843.2078 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185843.2090 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185843.2101 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185843.2118 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf98154866bf935329',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185843.2365 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185843.2382 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.2397 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185843.2419 dto2vbe7pffrg1mnatg2ratb3h Query : select 'normal' from dummy
20240816@185843.2437 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf98154866bf935329',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',389,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185843.2730 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.2733 dto2vbe7pffrg1mnatg2ratb3h Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240816@185843.2755 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240816@185843.2912 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.2928 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.2952 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.2965 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.2973 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.2986 dto2vbe7pffrg1mnatg2ratb3h Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240816@185843.3005 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3019 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.3030 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94676766bf935349','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.3034 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3048 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.3075 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf94676766bf935349',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185843.3341 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3357 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.3381 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3395 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.3402 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.3415 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3429 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.3440 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91071866bf935353','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.3444 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3459 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.3489 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf91071866bf935353',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185843.3745 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.3748 dto2vbe7pffrg1mnatg2ratb3h Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240816@185843.3766 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240816@185843.3779 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3795 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.3820 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3833 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.3841 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.3853 dto2vbe7pffrg1mnatg2ratb3h Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240816@185843.3864 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3879 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.3890 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97411666bf93535e','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.3894 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.3907 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.3933 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf97411666bf93535e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185843.4181 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.4196 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.4220 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.4234 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.4244 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.4255 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.4269 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.4280 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99770166bf935367','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.4284 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.4298 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.4337 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf99770166bf935367',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,50000,?,?,?)
20240816@185843.4568 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.4571 dto2vbe7pffrg1mnatg2ratb3h Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240816@185843.4589 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240816@185843.4603 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.4617 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.4642 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.4656 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.4664 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.4677 dto2vbe7pffrg1mnatg2ratb3h Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240816@185843.5807 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.5825 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.5836 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96688566bf93538d','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.5841 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.5859 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.5887 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96688566bf93538d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,70000,?,?,?,?)
20240816@185843.6164 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6179 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.6202 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6216 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.6224 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.6236 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6249 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.6260 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98246366bf935398','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.6264 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6278 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.6305 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf98246366bf935398',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,80000,?,?,?)
20240816@185843.6551 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.6554 dto2vbe7pffrg1mnatg2ratb3h Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240816@185843.6573 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240816@185843.6587 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6603 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.6628 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6644 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.6653 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.6665 dto2vbe7pffrg1mnatg2ratb3h Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240816@185843.6677 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6690 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.6702 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96915266bf9353a3','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.6706 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.6720 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.6747 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96915266bf9353a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,100000,?,?,?,?)
20240816@185843.7002 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.7180 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.7661 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.7678 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.7687 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.7700 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.7714 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.7725 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90342966bf9353bb','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.7729 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.7743 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.7770 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf90342966bf9353bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,110000,?,?,?)
20240816@185843.8060 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.8063 dto2vbe7pffrg1mnatg2ratb3h Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240816@185843.8083 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240816@185843.8103 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8118 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.8142 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8156 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.8164 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.8176 dto2vbe7pffrg1mnatg2ratb3h Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240816@185843.8189 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8203 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.8215 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91427166bf9353c7','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.8220 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8233 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.8260 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91427166bf9353c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,130000,?,?,?,?)
20240816@185843.8529 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8545 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.8569 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8584 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.8593 dto2vbe7pffrg1mnatg2ratb3h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185843.8605 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8620 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185843.8633 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf93927866bf9353d2','aut66bf98154866bf935329' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185843.8638 dto2vbe7pffrg1mnatg2ratb3h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185843.8655 dto2vbe7pffrg1mnatg2ratb3h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185843.8687 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf93927866bf9353d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf98154866bf935329' ,0,0 ,2,23.00,140000,?,?,?)
20240816@185843.8949 dto2vbe7pffrg1mnatg2ratb3h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf98154866bf935329','2405418','wait',39,'adm09112754980.682000002')
20240816@185843.9027 dto2vbe7pffrg1mnatg2ratb3h Query : use flama_phc
20240816@185843.9031 dto2vbe7pffrg1mnatg2ratb3h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185843.9063 dto2vbe7pffrg1mnatg2ratb3h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1579';
20240816@185843.9090 dto2vbe7pffrg1mnatg2ratb3h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1579';
20240816@185843.9140 dto2vbe7pffrg1mnatg2ratb3h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1579';
20240816@185843.9169 dto2vbe7pffrg1mnatg2ratb3h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1579';
20240816@185843.9802 1md348aos829hft43pd6c2h2c4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185843.9816 1md348aos829hft43pd6c2h2c4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185844.9000 1md348aos829hft43pd6c2h2c4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1580';
20240816@185844.6900 1md348aos829hft43pd6c2h2c4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1580';
20240816@185844.1250 1md348aos829hft43pd6c2h2c4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1580';
20240816@185844.1480 1md348aos829hft43pd6c2h2c4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1580';
20240816@185844.2000 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.2030 1md348aos829hft43pd6c2h2c4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185844.2690 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.2720 1md348aos829hft43pd6c2h2c4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185844.3150 1md348aos829hft43pd6c2h2c4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240816@185844.4930 1md348aos829hft43pd6c2h2c4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240816@185844.5140 1md348aos829hft43pd6c2h2c4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240816@185844.5350 1md348aos829hft43pd6c2h2c4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240816@185844.5560 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.5590 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185844.5910 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.5940 1md348aos829hft43pd6c2h2c4 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185844.6230 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.6260 1md348aos829hft43pd6c2h2c4 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185844.6540 1md348aos829hft43pd6c2h2c4 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185844.6910 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.6940 1md348aos829hft43pd6c2h2c4 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185844.7240 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.7270 1md348aos829hft43pd6c2h2c4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185844.7590 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.7620 1md348aos829hft43pd6c2h2c4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185844.8050 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.8080 1md348aos829hft43pd6c2h2c4 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185844.8570 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.8590 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from td where ndoc = 39
20240816@185844.8720 1md348aos829hft43pd6c2h2c4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185844.8860 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.9030 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185844.9230 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.9370 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185844.9660 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.9810 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185844.9940 1md348aos829hft43pd6c2h2c4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185844.1064 1md348aos829hft43pd6c2h2c4 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185844.1077 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.1093 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185844.1108 1md348aos829hft43pd6c2h2c4 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185844.1293 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.1308 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185844.1344 1md348aos829hft43pd6c2h2c4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185844.1356 1md348aos829hft43pd6c2h2c4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185844.1369 1md348aos829hft43pd6c2h2c4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185844.1380 1md348aos829hft43pd6c2h2c4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185844.1392 1md348aos829hft43pd6c2h2c4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185844.1404 1md348aos829hft43pd6c2h2c4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185844.1416 1md348aos829hft43pd6c2h2c4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf92665066bf935418',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185844.1678 1md348aos829hft43pd6c2h2c4 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185844.1698 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.1715 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185844.1740 1md348aos829hft43pd6c2h2c4 Query : select 'normal' from dummy
20240816@185844.1757 1md348aos829hft43pd6c2h2c4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf92665066bf935418',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',390,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185844.2058 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.2061 1md348aos829hft43pd6c2h2c4 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240816@185844.2085 1md348aos829hft43pd6c2h2c4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240816@185844.2241 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2257 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.2285 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2299 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.2308 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.2319 1md348aos829hft43pd6c2h2c4 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20240816@185844.2333 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2346 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.2358 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92482566bf935438','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.2362 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2376 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.2403 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf92482566bf935438',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185844.2675 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2692 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.2718 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2735 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.2743 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.2756 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2807 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.2891 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98703766bf935443','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.2908 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.2989 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.3187 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf98703766bf935443',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185844.3558 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.3574 1md348aos829hft43pd6c2h2c4 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240816@185844.3861 1md348aos829hft43pd6c2h2c4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240816@185844.3876 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.3894 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.3918 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.3931 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.3940 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.3951 1md348aos829hft43pd6c2h2c4 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20240816@185844.3963 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.3977 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.3995 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98320666bf935460','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.4000 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.4015 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.4043 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf98320666bf935460',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185844.4321 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.4337 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.4362 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.4379 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.4387 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.4400 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.4414 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.4425 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98286766bf93546b','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.4429 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.4443 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.4471 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf98286766bf93546b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,50000,?,?,?)
20240816@185844.4902 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.5268 1md348aos829hft43pd6c2h2c4 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240816@185844.5761 1md348aos829hft43pd6c2h2c4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240816@185844.5775 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.5791 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.5815 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.5829 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.5837 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.5848 1md348aos829hft43pd6c2h2c4 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20240816@185844.5860 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.5874 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.5885 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91532766bf93548f','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.5890 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.5906 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.5932 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91532766bf93548f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,70000,?,?,?,?)
20240816@185844.6207 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6221 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.6248 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6262 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.6270 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.6283 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6298 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.6309 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf95740166bf935499','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.6313 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6327 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.6355 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf95740166bf935499',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,80000,?,?,?)
20240816@185844.6602 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.6605 1md348aos829hft43pd6c2h2c4 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240816@185844.6624 1md348aos829hft43pd6c2h2c4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240816@185844.6641 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6656 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.6682 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6696 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.6705 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.6717 1md348aos829hft43pd6c2h2c4 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400059200a'
20240816@185844.6729 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6743 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.6754 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91792466bf9354a4','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.6758 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.6772 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.6800 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91792466bf9354a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,100000,?,?,?,?)
20240816@185844.7137 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.7240 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.7266 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.7283 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.7291 1md348aos829hft43pd6c2h2c4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185844.7303 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.7318 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185844.7329 1md348aos829hft43pd6c2h2c4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97957866bf9354b2','aut66bf92665066bf935418' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185844.7334 1md348aos829hft43pd6c2h2c4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185844.7348 1md348aos829hft43pd6c2h2c4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185844.7374 1md348aos829hft43pd6c2h2c4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf97957866bf9354b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf92665066bf935418' ,0,0 ,2,23.00,110000,?,?,?)
20240816@185844.7642 1md348aos829hft43pd6c2h2c4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf92665066bf935418','2405419','wait',39,'adm09112754980.682000002')
20240816@185844.7720 1md348aos829hft43pd6c2h2c4 Query : use flama_phc
20240816@185844.7724 1md348aos829hft43pd6c2h2c4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185844.7759 1md348aos829hft43pd6c2h2c4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1580';
20240816@185844.7787 1md348aos829hft43pd6c2h2c4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1580';
20240816@185844.7825 1md348aos829hft43pd6c2h2c4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1580';
20240816@185844.7849 1md348aos829hft43pd6c2h2c4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1580';
20240816@185844.9311 vmvdh77auoptlnb92861j69mkh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185844.9326 vmvdh77auoptlnb92861j69mkh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185844.9382 vmvdh77auoptlnb92861j69mkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1581';
20240816@185844.9436 vmvdh77auoptlnb92861j69mkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1581';
20240816@185844.9504 vmvdh77auoptlnb92861j69mkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1581';
20240816@185844.9529 vmvdh77auoptlnb92861j69mkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1581';
20240816@185844.9574 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185844.9576 vmvdh77auoptlnb92861j69mkh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185844.9644 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185844.9647 vmvdh77auoptlnb92861j69mkh Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185844.9692 vmvdh77auoptlnb92861j69mkh 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'
20240816@185844.9885 vmvdh77auoptlnb92861j69mkh 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'
20240816@185844.9910 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185844.9913 vmvdh77auoptlnb92861j69mkh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185844.9962 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185844.9966 vmvdh77auoptlnb92861j69mkh Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185845.1300 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.1600 vmvdh77auoptlnb92861j69mkh Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185845.4900 vmvdh77auoptlnb92861j69mkh Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185845.8700 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.9000 vmvdh77auoptlnb92861j69mkh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185845.1230 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.1260 vmvdh77auoptlnb92861j69mkh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185845.1590 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.1620 vmvdh77auoptlnb92861j69mkh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185845.2040 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.2060 vmvdh77auoptlnb92861j69mkh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185845.2540 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.2570 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from td where ndoc = 39
20240816@185845.2690 vmvdh77auoptlnb92861j69mkh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185845.2830 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3000 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185845.3230 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3390 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185845.3680 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3830 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185845.3980 vmvdh77auoptlnb92861j69mkh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185845.4680 vmvdh77auoptlnb92861j69mkh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185845.4810 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.4960 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185845.5120 vmvdh77auoptlnb92861j69mkh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf97463366bf935509' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185845.6950 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.7160 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185845.7500 vmvdh77auoptlnb92861j69mkh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185845.7620 vmvdh77auoptlnb92861j69mkh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185845.7750 vmvdh77auoptlnb92861j69mkh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185845.7870 vmvdh77auoptlnb92861j69mkh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185845.7990 vmvdh77auoptlnb92861j69mkh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185845.8110 vmvdh77auoptlnb92861j69mkh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185845.8230 vmvdh77auoptlnb92861j69mkh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf97463366bf935509',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185845.1329 vmvdh77auoptlnb92861j69mkh Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185845.1613 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.1631 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185845.1655 vmvdh77auoptlnb92861j69mkh Query : select 'normal' from dummy
20240816@185845.1671 vmvdh77auoptlnb92861j69mkh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf97463366bf935509',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',391,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185845.1979 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.1982 vmvdh77auoptlnb92861j69mkh Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240816@185845.2006 vmvdh77auoptlnb92861j69mkh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240816@185845.2158 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2174 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.2208 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2222 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.2231 vmvdh77auoptlnb92861j69mkh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185845.2243 vmvdh77auoptlnb92861j69mkh Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240816@185845.2271 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2286 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.2302 vmvdh77auoptlnb92861j69mkh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90630666bf935537','aut66bf97463366bf935509' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185845.2306 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2320 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.2348 vmvdh77auoptlnb92861j69mkh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf90630666bf935537',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut66bf97463366bf935509' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185845.2620 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2641 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.2669 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2684 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.2693 vmvdh77auoptlnb92861j69mkh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185845.2706 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2720 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.2733 vmvdh77auoptlnb92861j69mkh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99414766bf935542','aut66bf97463366bf935509' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185845.2737 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.2751 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.2780 vmvdh77auoptlnb92861j69mkh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf99414766bf935542',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf97463366bf935509' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185845.3036 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.3039 vmvdh77auoptlnb92861j69mkh Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240816@185845.3059 vmvdh77auoptlnb92861j69mkh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240816@185845.3073 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3089 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.3114 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3129 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.3138 vmvdh77auoptlnb92861j69mkh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185845.3149 vmvdh77auoptlnb92861j69mkh Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240816@185845.3161 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3175 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.3187 vmvdh77auoptlnb92861j69mkh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92505866bf93554d','aut66bf97463366bf935509' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185845.3191 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3206 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.3240 vmvdh77auoptlnb92861j69mkh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf92505866bf93554d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66bf97463366bf935509' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185845.3493 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3508 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.3533 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3546 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.3555 vmvdh77auoptlnb92861j69mkh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185845.3566 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3580 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.3591 vmvdh77auoptlnb92861j69mkh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91361966bf935557','aut66bf97463366bf935509' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185845.3600 vmvdh77auoptlnb92861j69mkh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.3614 vmvdh77auoptlnb92861j69mkh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.3641 vmvdh77auoptlnb92861j69mkh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf91361966bf935557',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf97463366bf935509' ,0,0 ,2,23.00,50000,?,?,?)
20240816@185845.3898 vmvdh77auoptlnb92861j69mkh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf97463366bf935509','2405420','wait',39,'adm09112754980.682000002')
20240816@185845.3981 vmvdh77auoptlnb92861j69mkh Query : use flama_phc
20240816@185845.3984 vmvdh77auoptlnb92861j69mkh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185845.4012 vmvdh77auoptlnb92861j69mkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1581';
20240816@185845.4038 vmvdh77auoptlnb92861j69mkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1581';
20240816@185845.4079 vmvdh77auoptlnb92861j69mkh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1581';
20240816@185845.4102 vmvdh77auoptlnb92861j69mkh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1581';
20240816@185845.4770 kooqsqss2pb9o6dqhtuu94ueks Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185845.4782 kooqsqss2pb9o6dqhtuu94ueks Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185845.4830 kooqsqss2pb9o6dqhtuu94ueks Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1582';
20240816@185845.4883 kooqsqss2pb9o6dqhtuu94ueks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1582';
20240816@185845.4937 kooqsqss2pb9o6dqhtuu94ueks Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1582';
20240816@185845.4963 kooqsqss2pb9o6dqhtuu94ueks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1582';
20240816@185845.5009 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.5012 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185845.5077 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.5080 kooqsqss2pb9o6dqhtuu94ueks Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185845.5207 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240816@185845.6567 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240816@185845.6587 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.6591 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185845.6623 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.6627 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185845.6661 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.6664 kooqsqss2pb9o6dqhtuu94ueks Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185845.6693 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185845.6727 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.6730 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185845.6765 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.6768 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185845.6811 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.6814 kooqsqss2pb9o6dqhtuu94ueks Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185845.6858 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.6862 kooqsqss2pb9o6dqhtuu94ueks Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185845.7039 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.7042 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from td where ndoc = 39
20240816@185845.7056 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185845.7074 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.7091 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185845.7155 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.7169 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185845.7199 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.7323 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185845.7383 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185845.7455 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185845.7468 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.7484 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185845.7499 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf99514966bf9355b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185845.7687 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.7704 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185845.7736 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185845.7748 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185845.7762 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185845.7775 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185845.7786 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185845.7798 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185845.7809 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf99514966bf9355b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185845.8060 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185845.8077 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.8094 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185845.8116 kooqsqss2pb9o6dqhtuu94ueks Query : select 'normal' from dummy
20240816@185845.8131 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf99514966bf9355b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',392,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185845.9030 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.9053 kooqsqss2pb9o6dqhtuu94ueks Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240816@185845.9092 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.945.00.01'
20240816@185845.9258 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.9274 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.9300 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.9314 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.9322 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185845.9334 kooqsqss2pb9o6dqhtuu94ueks Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240816@185845.9353 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.9366 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185845.9379 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96652166bf9355e4','aut66bf99514966bf9355b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185845.9383 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.9397 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185845.9424 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96652166bf9355e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',68.000 ,'aut66bf99514966bf9355b4' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185845.9713 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185845.9717 kooqsqss2pb9o6dqhtuu94ueks Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240816@185845.9736 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.945.00.01'
20240816@185845.9750 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185845.9994 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.1900 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.3300 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.4100 kooqsqss2pb9o6dqhtuu94ueks Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185846.5300 kooqsqss2pb9o6dqhtuu94ueks Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240816@185846.6600 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.8100 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.9300 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf95265166bf935601','aut66bf99514966bf9355b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185846.9700 kooqsqss2pb9o6dqhtuu94ueks Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.1110 kooqsqss2pb9o6dqhtuu94ueks Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.1400 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf95265166bf935601',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66bf99514966bf9355b4' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185846.4130 kooqsqss2pb9o6dqhtuu94ueks Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf99514966bf9355b4','2405421','wait',39,'adm09112754980.682000002')
20240816@185846.5330 kooqsqss2pb9o6dqhtuu94ueks Query : use flama_phc
20240816@185846.5360 kooqsqss2pb9o6dqhtuu94ueks Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185846.5640 kooqsqss2pb9o6dqhtuu94ueks Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1582';
20240816@185846.5920 kooqsqss2pb9o6dqhtuu94ueks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1582';
20240816@185846.6280 kooqsqss2pb9o6dqhtuu94ueks Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1582';
20240816@185846.6510 kooqsqss2pb9o6dqhtuu94ueks Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1582';
20240816@185846.1209 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185846.1222 rmiq17ka0stsjlbg7b3vem87q0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185846.1272 rmiq17ka0stsjlbg7b3vem87q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1583';
20240816@185846.1322 rmiq17ka0stsjlbg7b3vem87q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1583';
20240816@185846.1371 rmiq17ka0stsjlbg7b3vem87q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1583';
20240816@185846.1393 rmiq17ka0stsjlbg7b3vem87q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1583';
20240816@185846.1438 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1441 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185846.1500 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1503 rmiq17ka0stsjlbg7b3vem87q0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185846.1543 rmiq17ka0stsjlbg7b3vem87q0 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'
20240816@185846.1727 rmiq17ka0stsjlbg7b3vem87q0 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'
20240816@185846.1746 rmiq17ka0stsjlbg7b3vem87q0 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'
20240816@185846.1766 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1770 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185846.1801 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1804 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185846.1834 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1837 rmiq17ka0stsjlbg7b3vem87q0 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185846.1864 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185846.1900 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1902 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185846.1935 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1938 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185846.1968 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.1970 rmiq17ka0stsjlbg7b3vem87q0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185846.2013 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.2016 rmiq17ka0stsjlbg7b3vem87q0 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185846.2061 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.2064 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from td where ndoc = 39
20240816@185846.2077 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185846.2090 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.2106 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185846.2124 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.2138 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185846.2165 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.2179 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185846.2191 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185846.2259 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185846.2272 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.2286 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185846.2301 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf95281366bf935635' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185846.2480 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.2496 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185846.2528 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185846.2539 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185846.2551 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185846.2563 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185846.2574 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185846.2586 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185846.2597 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf95281366bf935635',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185846.2834 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185846.2851 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.2866 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185846.2890 rmiq17ka0stsjlbg7b3vem87q0 Query : select 'normal' from dummy
20240816@185846.2905 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf95281366bf935635',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',393,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185846.3202 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.3206 rmiq17ka0stsjlbg7b3vem87q0 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240816@185846.3229 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240816@185846.3389 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.3406 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.3440 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.3456 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.3465 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185846.3477 rmiq17ka0stsjlbg7b3vem87q0 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240816@185846.3493 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.3509 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.3521 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf95965966bf935655','aut66bf95281366bf935635' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185846.3526 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.3541 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.3596 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf95965966bf935655',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66bf95281366bf935635' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185846.3871 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.3875 rmiq17ka0stsjlbg7b3vem87q0 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240816@185846.3896 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240816@185846.3911 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.3928 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.3954 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.3970 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.3979 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185846.3992 rmiq17ka0stsjlbg7b3vem87q0 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241005'
20240816@185846.4029 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.4044 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.4056 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97254966bf935662','aut66bf95281366bf935635' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185846.4060 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.4075 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.4103 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf97254966bf935662',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66bf95281366bf935635' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185846.4373 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.4376 rmiq17ka0stsjlbg7b3vem87q0 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240816@185846.4395 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240816@185846.4410 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.4425 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.4450 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.4464 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.4472 rmiq17ka0stsjlbg7b3vem87q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185846.4485 rmiq17ka0stsjlbg7b3vem87q0 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241005'
20240816@185846.4498 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.4513 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185846.4524 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94148766bf93566d','aut66bf95281366bf935635' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185846.4528 rmiq17ka0stsjlbg7b3vem87q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.4543 rmiq17ka0stsjlbg7b3vem87q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185846.4571 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf94148766bf93566d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66bf95281366bf935635' ,0,0 ,2,23.00,30000,?,?,?,?)
20240816@185846.5395 rmiq17ka0stsjlbg7b3vem87q0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf95281366bf935635','2405422','wait',39,'adm09112754980.682000002')
20240816@185846.5484 rmiq17ka0stsjlbg7b3vem87q0 Query : use flama_phc
20240816@185846.5487 rmiq17ka0stsjlbg7b3vem87q0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185846.5521 rmiq17ka0stsjlbg7b3vem87q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1583';
20240816@185846.5550 rmiq17ka0stsjlbg7b3vem87q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1583';
20240816@185846.5589 rmiq17ka0stsjlbg7b3vem87q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1583';
20240816@185846.5612 rmiq17ka0stsjlbg7b3vem87q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1583';
20240816@185846.7124 j8otdrb96g6i05bau104b5ge73 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185846.7136 j8otdrb96g6i05bau104b5ge73 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185846.7268 j8otdrb96g6i05bau104b5ge73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1584';
20240816@185846.7322 j8otdrb96g6i05bau104b5ge73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1584';
20240816@185846.7508 j8otdrb96g6i05bau104b5ge73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1584';
20240816@185846.7537 j8otdrb96g6i05bau104b5ge73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1584';
20240816@185846.7588 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.7591 j8otdrb96g6i05bau104b5ge73 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185846.7662 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.7666 j8otdrb96g6i05bau104b5ge73 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20240816@185846.7753 j8otdrb96g6i05bau104b5ge73 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'
20240816@185846.7923 j8otdrb96g6i05bau104b5ge73 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'
20240816@185846.7943 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.7946 j8otdrb96g6i05bau104b5ge73 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185846.7980 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.7983 j8otdrb96g6i05bau104b5ge73 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185846.8013 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.8016 j8otdrb96g6i05bau104b5ge73 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185846.8043 j8otdrb96g6i05bau104b5ge73 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185846.8076 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.8079 j8otdrb96g6i05bau104b5ge73 Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20240816@185846.8211 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.8214 j8otdrb96g6i05bau104b5ge73 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185846.8248 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.8252 j8otdrb96g6i05bau104b5ge73 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185846.8297 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.8326 j8otdrb96g6i05bau104b5ge73 Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20240816@185846.8377 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.8380 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from td where ndoc = 39
20240816@185846.8393 j8otdrb96g6i05bau104b5ge73 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185846.8406 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.8423 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185846.8441 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.8456 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185846.8485 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.8501 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185846.8514 j8otdrb96g6i05bau104b5ge73 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185846.8585 j8otdrb96g6i05bau104b5ge73 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185846.8599 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.8618 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185846.8637 j8otdrb96g6i05bau104b5ge73 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf94689966bf9356cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185846.8843 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.8863 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185846.8905 j8otdrb96g6i05bau104b5ge73 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185846.8919 j8otdrb96g6i05bau104b5ge73 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185846.8935 j8otdrb96g6i05bau104b5ge73 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185846.8949 j8otdrb96g6i05bau104b5ge73 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185846.8964 j8otdrb96g6i05bau104b5ge73 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185846.8978 j8otdrb96g6i05bau104b5ge73 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185846.8991 j8otdrb96g6i05bau104b5ge73 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf94689966bf9356cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185846.9240 j8otdrb96g6i05bau104b5ge73 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185846.9261 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185846.9281 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185846.9314 j8otdrb96g6i05bau104b5ge73 Query : select 'normal' from dummy
20240816@185846.9344 j8otdrb96g6i05bau104b5ge73 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf94689966bf9356cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',394,100800,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185846.9975 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185846.9979 j8otdrb96g6i05bau104b5ge73 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240816@185847.2000 j8otdrb96g6i05bau104b5ge73 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240816@185847.2690 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.2870 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185847.3110 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.3250 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185847.3330 j8otdrb96g6i05bau104b5ge73 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185847.3500 j8otdrb96g6i05bau104b5ge73 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240816@185847.3690 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.3830 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185847.3970 j8otdrb96g6i05bau104b5ge73 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf95012966bf935709','aut66bf94689966bf9356cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185847.4010 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.4160 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185847.4460 j8otdrb96g6i05bau104b5ge73 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf95012966bf935709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66bf94689966bf9356cf' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185847.7140 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185847.7170 j8otdrb96g6i05bau104b5ge73 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240816@185847.7370 j8otdrb96g6i05bau104b5ge73 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240816@185847.7520 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.7670 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185847.8170 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.8320 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185847.8400 j8otdrb96g6i05bau104b5ge73 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185847.8530 j8otdrb96g6i05bau104b5ge73 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240816@185847.8660 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.8850 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185847.8970 j8otdrb96g6i05bau104b5ge73 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96649366bf935715','aut66bf94689966bf9356cf' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185847.9010 j8otdrb96g6i05bau104b5ge73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.9160 j8otdrb96g6i05bau104b5ge73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185847.9440 j8otdrb96g6i05bau104b5ge73 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96649366bf935715',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66bf94689966bf9356cf' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185847.1208 j8otdrb96g6i05bau104b5ge73 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf94689966bf9356cf','2405424','wait',39,'adm09112754980.682000002')
20240816@185847.1282 j8otdrb96g6i05bau104b5ge73 Query : use flama_phc
20240816@185847.1286 j8otdrb96g6i05bau104b5ge73 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185847.1318 j8otdrb96g6i05bau104b5ge73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1584';
20240816@185847.1346 j8otdrb96g6i05bau104b5ge73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1584';
20240816@185847.1385 j8otdrb96g6i05bau104b5ge73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1584';
20240816@185847.1407 j8otdrb96g6i05bau104b5ge73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1584';
20240816@185847.3051 n6ljr678m0j7vnlmnbdd41b79s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185847.3062 n6ljr678m0j7vnlmnbdd41b79s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185847.3112 n6ljr678m0j7vnlmnbdd41b79s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1585';
20240816@185847.3163 n6ljr678m0j7vnlmnbdd41b79s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1585';
20240816@185847.3211 n6ljr678m0j7vnlmnbdd41b79s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1585';
20240816@185847.3232 n6ljr678m0j7vnlmnbdd41b79s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1585';
20240816@185847.3276 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3279 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185847.3345 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3348 n6ljr678m0j7vnlmnbdd41b79s Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185847.3389 n6ljr678m0j7vnlmnbdd41b79s 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'
20240816@185847.3588 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3592 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185847.3643 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3647 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185847.3679 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3682 n6ljr678m0j7vnlmnbdd41b79s Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185847.3712 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185847.3750 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3753 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185847.3785 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3789 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185847.3820 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3823 n6ljr678m0j7vnlmnbdd41b79s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185847.3866 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3869 n6ljr678m0j7vnlmnbdd41b79s Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185847.3919 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.3922 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from td where ndoc = 39
20240816@185847.3937 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185847.3952 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.3969 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185847.3990 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.4005 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185847.4034 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.4049 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185847.4084 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185847.4157 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185847.4169 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.4184 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185847.4200 n6ljr678m0j7vnlmnbdd41b79s Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf92540166bf935763' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185847.4383 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.4426 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185847.4464 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185847.4476 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185847.4507 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185847.4519 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185847.4533 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185847.4545 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185847.4557 n6ljr678m0j7vnlmnbdd41b79s Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf92540166bf935763',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185847.4822 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185847.4842 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.4860 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185847.4889 n6ljr678m0j7vnlmnbdd41b79s Query : select 'normal' from dummy
20240816@185847.4907 n6ljr678m0j7vnlmnbdd41b79s Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf92540166bf935763',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',395,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185847.5339 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185847.5358 n6ljr678m0j7vnlmnbdd41b79s Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240816@185847.5386 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20240816@185847.5558 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.5585 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185847.5679 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.5706 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185847.5715 n6ljr678m0j7vnlmnbdd41b79s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185847.5741 n6ljr678m0j7vnlmnbdd41b79s Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240816@185847.5755 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.5770 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185847.5802 n6ljr678m0j7vnlmnbdd41b79s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90303966bf93578c','aut66bf92540166bf935763' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185847.5806 n6ljr678m0j7vnlmnbdd41b79s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185847.5825 n6ljr678m0j7vnlmnbdd41b79s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185847.5878 n6ljr678m0j7vnlmnbdd41b79s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf90303966bf93578c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66bf92540166bf935763' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185847.6644 n6ljr678m0j7vnlmnbdd41b79s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf92540166bf935763','2405425','wait',39,'adm09112754980.682000002')
20240816@185848.5293 n6ljr678m0j7vnlmnbdd41b79s Query : use flama_phc
20240816@185848.5296 n6ljr678m0j7vnlmnbdd41b79s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185848.5327 n6ljr678m0j7vnlmnbdd41b79s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1585';
20240816@185848.5400 n6ljr678m0j7vnlmnbdd41b79s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1585';
20240816@185848.5857 n6ljr678m0j7vnlmnbdd41b79s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1585';
20240816@185848.6344 n6ljr678m0j7vnlmnbdd41b79s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1585';
20240816@185848.7019 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185848.7032 s52p9h4d99ek6t63cu3bniv2g9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185848.7084 s52p9h4d99ek6t63cu3bniv2g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1586';
20240816@185848.7138 s52p9h4d99ek6t63cu3bniv2g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1586';
20240816@185848.7185 s52p9h4d99ek6t63cu3bniv2g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1586';
20240816@185848.7209 s52p9h4d99ek6t63cu3bniv2g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1586';
20240816@185848.7363 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.7366 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185848.7440 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.7443 s52p9h4d99ek6t63cu3bniv2g9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185848.7601 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240816@185848.7811 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240816@185848.7841 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.7845 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185848.7890 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.7894 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185848.7930 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.7933 s52p9h4d99ek6t63cu3bniv2g9 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185848.7961 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185848.8056 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.8060 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185848.8108 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.8111 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185848.8156 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.8159 s52p9h4d99ek6t63cu3bniv2g9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185848.8204 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.8207 s52p9h4d99ek6t63cu3bniv2g9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185848.8251 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185848.8254 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from td where ndoc = 39
20240816@185848.8270 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185848.8285 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185848.9988 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185849.1660 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.5350 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185849.5710 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.5880 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185849.6020 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185849.6750 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185849.7700 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.8810 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185849.8990 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf95746866bf93590e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185849.1091 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.1109 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185849.1140 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185849.1152 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185849.1163 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185849.1175 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185849.1192 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185849.1203 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185849.1215 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf95746866bf93590e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185849.1471 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185849.1503 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.1518 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185849.1552 s52p9h4d99ek6t63cu3bniv2g9 Query : select 'normal' from dummy
20240816@185849.1569 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf95746866bf93590e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',396,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185849.2262 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185849.2307 s52p9h4d99ek6t63cu3bniv2g9 Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240816@185849.2512 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20240816@185849.2725 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.2838 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.2873 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.2892 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.2933 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185849.2944 s52p9h4d99ek6t63cu3bniv2g9 Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240816@185849.2963 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.2981 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.2993 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98704166bf935948','aut66bf95746866bf93590e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185849.2997 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.3012 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.3043 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf98704166bf935948',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut66bf95746866bf93590e' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185849.3326 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.3343 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.3372 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.3387 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.3395 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185849.3406 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.3501 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.3602 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92745266bf935953','aut66bf95746866bf93590e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185849.3606 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.3621 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.3651 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf92745266bf935953',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf95746866bf93590e' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185849.3910 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185849.3913 s52p9h4d99ek6t63cu3bniv2g9 Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240816@185849.3933 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20240816@185849.3947 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.3962 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.3989 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.4003 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.4011 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185849.4023 s52p9h4d99ek6t63cu3bniv2g9 Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240816@185849.4036 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.4051 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.4062 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97335266bf935962','aut66bf95746866bf93590e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185849.4066 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.4080 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.4107 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf97335266bf935962',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66bf95746866bf93590e' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185849.4348 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.4364 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.4390 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.4406 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.4415 s52p9h4d99ek6t63cu3bniv2g9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185849.4427 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.4442 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185849.4453 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90375566bf93596c','aut66bf95746866bf93590e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185849.4457 s52p9h4d99ek6t63cu3bniv2g9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.4476 s52p9h4d99ek6t63cu3bniv2g9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185849.4505 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf90375566bf93596c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf95746866bf93590e' ,0,0 ,2,23.00,50000,?,?,?)
20240816@185849.4742 s52p9h4d99ek6t63cu3bniv2g9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf95746866bf93590e','2405426','wait',39,'adm09112754980.682000002')
20240816@185849.6795 s52p9h4d99ek6t63cu3bniv2g9 Query : use flama_phc
20240816@185849.6799 s52p9h4d99ek6t63cu3bniv2g9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185849.6835 s52p9h4d99ek6t63cu3bniv2g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1586';
20240816@185849.6862 s52p9h4d99ek6t63cu3bniv2g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1586';
20240816@185849.6900 s52p9h4d99ek6t63cu3bniv2g9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1586';
20240816@185849.6924 s52p9h4d99ek6t63cu3bniv2g9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1586';
20240816@185849.7713 3av692h2tju5fkkj4r5i5ufonb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185849.7725 3av692h2tju5fkkj4r5i5ufonb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185849.7775 3av692h2tju5fkkj4r5i5ufonb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1587';
20240816@185849.7827 3av692h2tju5fkkj4r5i5ufonb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1587';
20240816@185849.7881 3av692h2tju5fkkj4r5i5ufonb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1587';
20240816@185849.7906 3av692h2tju5fkkj4r5i5ufonb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1587';
20240816@185849.7957 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.7960 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185849.8107 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8110 3av692h2tju5fkkj4r5i5ufonb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185849.8150 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240816@185849.8317 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240816@185849.8337 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8340 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185849.8374 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8377 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185849.8409 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8412 3av692h2tju5fkkj4r5i5ufonb Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185849.8439 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185849.8476 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8479 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185849.8509 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8512 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185849.8543 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8546 3av692h2tju5fkkj4r5i5ufonb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185849.8586 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8589 3av692h2tju5fkkj4r5i5ufonb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185849.8642 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185849.8645 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from td where ndoc = 39
20240816@185849.8668 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185849.8685 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.8704 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185849.8727 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.8743 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185849.8772 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.8786 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185849.8799 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185849.8869 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185849.8882 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.8896 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185849.8912 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf99819866bf9359d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185849.9096 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.9111 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185849.9147 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185849.9159 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185849.9171 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185849.9183 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185849.9196 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185849.9208 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185849.9219 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf99819866bf9359d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185849.9469 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185849.9501 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185849.9517 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185849.9539 3av692h2tju5fkkj4r5i5ufonb Query : select 'normal' from dummy
20240816@185849.9556 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf99819866bf9359d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',397,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185850.1300 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185850.1600 3av692h2tju5fkkj4r5i5ufonb Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240816@185850.4200 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20240816@185850.2030 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.2190 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.2450 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.2600 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.2680 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185850.2800 3av692h2tju5fkkj4r5i5ufonb Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20240816@185850.2930 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.3070 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.3190 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99827266bf935a07','aut66bf99819866bf9359d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185850.3230 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.3360 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.3640 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf99827266bf935a07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66bf99819866bf9359d6' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185850.6330 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185850.6360 3av692h2tju5fkkj4r5i5ufonb Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240816@185850.6590 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20240816@185850.6810 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.6980 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.1873 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.1893 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.1903 3av692h2tju5fkkj4r5i5ufonb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185850.1917 3av692h2tju5fkkj4r5i5ufonb Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20240816@185850.1930 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.1946 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.1959 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99580966bf935a2f','aut66bf99819866bf9359d6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185850.1964 3av692h2tju5fkkj4r5i5ufonb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.1979 3av692h2tju5fkkj4r5i5ufonb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.2011 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf99580966bf935a2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66bf99819866bf9359d6' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185850.2276 3av692h2tju5fkkj4r5i5ufonb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf99819866bf9359d6','2405427','wait',39,'adm09112754980.682000002')
20240816@185850.2491 3av692h2tju5fkkj4r5i5ufonb Query : use flama_phc
20240816@185850.2495 3av692h2tju5fkkj4r5i5ufonb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185850.2528 3av692h2tju5fkkj4r5i5ufonb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1587';
20240816@185850.2557 3av692h2tju5fkkj4r5i5ufonb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1587';
20240816@185850.2597 3av692h2tju5fkkj4r5i5ufonb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1587';
20240816@185850.2621 3av692h2tju5fkkj4r5i5ufonb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1587';
20240816@185850.3176 4mqc3s3k83hksf8fgvi2vd76ah Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185850.3187 4mqc3s3k83hksf8fgvi2vd76ah Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185850.3238 4mqc3s3k83hksf8fgvi2vd76ah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240816@185850.3291 4mqc3s3k83hksf8fgvi2vd76ah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240816@185850.3341 4mqc3s3k83hksf8fgvi2vd76ah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240816@185850.3363 4mqc3s3k83hksf8fgvi2vd76ah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240816@185850.3411 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3413 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185850.3478 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3481 4mqc3s3k83hksf8fgvi2vd76ah Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185850.3522 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240816@185850.3778 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3782 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185850.3819 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3823 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185850.3854 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3857 4mqc3s3k83hksf8fgvi2vd76ah Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185850.3888 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185850.3923 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3926 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185850.3957 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3961 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185850.3993 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.3996 4mqc3s3k83hksf8fgvi2vd76ah Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185850.4038 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.4041 4mqc3s3k83hksf8fgvi2vd76ah Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185850.4090 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.4093 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from td where ndoc = 39
20240816@185850.4106 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185850.4121 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.4140 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185850.4161 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.4176 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185850.4207 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.4222 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185850.4236 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185850.4305 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185850.4319 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.4334 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185850.4352 4mqc3s3k83hksf8fgvi2vd76ah Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf94644466bf935a67' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185850.4528 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.4546 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185850.4581 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185850.4595 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185850.4608 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185850.4621 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185850.4634 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185850.4648 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185850.4661 4mqc3s3k83hksf8fgvi2vd76ah Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf94644466bf935a67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185850.4891 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185850.4910 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.4925 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185850.4950 4mqc3s3k83hksf8fgvi2vd76ah Query : select 'normal' from dummy
20240816@185850.4966 4mqc3s3k83hksf8fgvi2vd76ah Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf94644466bf935a67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',398,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185850.5254 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.5258 4mqc3s3k83hksf8fgvi2vd76ah Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20240816@185850.5282 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20240816@185850.5446 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.5465 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.5495 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.5511 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.5520 4mqc3s3k83hksf8fgvi2vd76ah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185850.5533 4mqc3s3k83hksf8fgvi2vd76ah Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301277100a'
20240816@185850.5548 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.5563 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.5576 4mqc3s3k83hksf8fgvi2vd76ah Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf96471566bf935a87','aut66bf94644466bf935a67' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185850.5596 4mqc3s3k83hksf8fgvi2vd76ah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.5631 4mqc3s3k83hksf8fgvi2vd76ah Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.5672 4mqc3s3k83hksf8fgvi2vd76ah Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf96471566bf935a87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66bf94644466bf935a67' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185850.5972 4mqc3s3k83hksf8fgvi2vd76ah Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf94644466bf935a67','2405428','wait',39,'adm09112754980.682000002')
20240816@185850.6045 4mqc3s3k83hksf8fgvi2vd76ah Query : use flama_phc
20240816@185850.6049 4mqc3s3k83hksf8fgvi2vd76ah Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185850.6083 4mqc3s3k83hksf8fgvi2vd76ah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240816@185850.6112 4mqc3s3k83hksf8fgvi2vd76ah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240816@185850.6151 4mqc3s3k83hksf8fgvi2vd76ah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1588';
20240816@185850.6175 4mqc3s3k83hksf8fgvi2vd76ah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1588';
20240816@185850.6816 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185850.6827 lqru9e0f5q07ot4i8pg79pblo6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185850.6879 lqru9e0f5q07ot4i8pg79pblo6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240816@185850.6970 lqru9e0f5q07ot4i8pg79pblo6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240816@185850.7125 lqru9e0f5q07ot4i8pg79pblo6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240816@185850.7154 lqru9e0f5q07ot4i8pg79pblo6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240816@185850.7204 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7208 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185850.7274 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7277 lqru9e0f5q07ot4i8pg79pblo6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185850.7318 lqru9e0f5q07ot4i8pg79pblo6 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'
20240816@185850.7489 lqru9e0f5q07ot4i8pg79pblo6 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'
20240816@185850.7511 lqru9e0f5q07ot4i8pg79pblo6 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'
20240816@185850.7533 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7537 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185850.7569 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7572 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185850.7605 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7608 lqru9e0f5q07ot4i8pg79pblo6 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185850.7636 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185850.7674 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7677 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185850.7707 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7711 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185850.7742 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7745 lqru9e0f5q07ot4i8pg79pblo6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185850.7787 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7790 lqru9e0f5q07ot4i8pg79pblo6 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185850.7837 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.7840 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from td where ndoc = 39
20240816@185850.7852 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185850.7867 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.7883 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185850.7905 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.7920 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185850.7950 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.7965 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185850.7978 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185850.8047 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185850.8061 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.8076 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185850.8093 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf97712566bf935ac2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185850.8272 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.8289 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185850.8324 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185850.8336 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185850.8349 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185850.8362 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185850.8374 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185850.8387 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185850.8399 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf97712566bf935ac2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185850.8728 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185850.8749 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.8766 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185850.8790 lqru9e0f5q07ot4i8pg79pblo6 Query : select 'normal' from dummy
20240816@185850.8806 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf97712566bf935ac2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',399,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185850.9086 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185850.9090 lqru9e0f5q07ot4i8pg79pblo6 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240816@185850.9112 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240816@185850.9264 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.9280 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.9307 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.9321 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.9330 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185850.9343 lqru9e0f5q07ot4i8pg79pblo6 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240816@185850.9364 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.9379 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185850.9391 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94407666bf935ae4','aut66bf97712566bf935ac2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185850.9395 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185850.9409 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185850.9439 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf94407666bf935ae4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66bf97712566bf935ac2' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185851.5400 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185851.5800 lqru9e0f5q07ot4i8pg79pblo6 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240816@185851.8000 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240816@185851.9500 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.1120 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.1380 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.1530 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.1620 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.1750 lqru9e0f5q07ot4i8pg79pblo6 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240816@185851.1890 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.2040 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.2160 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91778166bf935b04','aut66bf97712566bf935ac2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.2200 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.2350 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.2640 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf91778166bf935b04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut66bf97712566bf935ac2' ,0,0 ,2,23.00,20000,?,?,?,?)
20240816@185851.5260 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185851.5300 lqru9e0f5q07ot4i8pg79pblo6 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240816@185851.5500 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240816@185851.5650 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.5800 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.6080 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.6230 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.6320 lqru9e0f5q07ot4i8pg79pblo6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.6450 lqru9e0f5q07ot4i8pg79pblo6 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240816@185851.6590 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.6740 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.6860 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99997566bf935b10','aut66bf97712566bf935ac2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.6900 lqru9e0f5q07ot4i8pg79pblo6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7050 lqru9e0f5q07ot4i8pg79pblo6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.7350 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf99997566bf935b10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut66bf97712566bf935ac2' ,0,0 ,2,23.00,30000,?,?,?,?)
20240816@185851.1056 lqru9e0f5q07ot4i8pg79pblo6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf97712566bf935ac2','2405429','wait',39,'adm09112754980.682000002')
20240816@185851.1135 lqru9e0f5q07ot4i8pg79pblo6 Query : use flama_phc
20240816@185851.1139 lqru9e0f5q07ot4i8pg79pblo6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185851.1174 lqru9e0f5q07ot4i8pg79pblo6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240816@185851.1203 lqru9e0f5q07ot4i8pg79pblo6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240816@185851.1243 lqru9e0f5q07ot4i8pg79pblo6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1589';
20240816@185851.1267 lqru9e0f5q07ot4i8pg79pblo6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1589';
20240816@185851.1824 7i2fe6d39sgco9pivc4vj3dcus Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185851.1835 7i2fe6d39sgco9pivc4vj3dcus Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185851.1889 7i2fe6d39sgco9pivc4vj3dcus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240816@185851.1945 7i2fe6d39sgco9pivc4vj3dcus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240816@185851.1999 7i2fe6d39sgco9pivc4vj3dcus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240816@185851.2024 7i2fe6d39sgco9pivc4vj3dcus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240816@185851.2070 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2073 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185851.2138 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2141 7i2fe6d39sgco9pivc4vj3dcus Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185851.2183 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240816@185851.2350 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240816@185851.2370 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240816@185851.2389 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240816@185851.2409 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2413 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185851.2448 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2451 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185851.2483 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2486 7i2fe6d39sgco9pivc4vj3dcus Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185851.2515 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185851.2551 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2554 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185851.2585 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2587 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185851.2617 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2620 7i2fe6d39sgco9pivc4vj3dcus Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185851.2663 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2665 7i2fe6d39sgco9pivc4vj3dcus Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185851.2710 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.2712 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from td where ndoc = 39
20240816@185851.2725 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185851.2738 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.2754 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185851.2773 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.2787 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185851.2815 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.2829 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185851.2841 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185851.2912 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185851.2925 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.2939 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185851.2955 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185851.3131 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.3146 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185851.3177 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185851.3188 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185851.3200 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185851.3211 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185851.3223 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185851.3238 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185851.3249 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf90991766bf935b45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185851.3488 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185851.3507 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.3522 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185851.3544 7i2fe6d39sgco9pivc4vj3dcus Query : select 'normal' from dummy
20240816@185851.3562 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf90991766bf935b45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',400,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185851.3861 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.3864 7i2fe6d39sgco9pivc4vj3dcus Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240816@185851.3886 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240816@185851.4033 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4049 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.4073 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4088 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.4096 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.4108 7i2fe6d39sgco9pivc4vj3dcus Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240816@185851.4121 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4148 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.4160 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97712266bf935b64','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.4164 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4179 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.4207 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf97712266bf935b64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185851.4483 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4501 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.4526 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4540 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.4549 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.4561 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4575 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.4586 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf92326466bf935b6f','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.4591 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4604 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.4631 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf92326466bf935b6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185851.4888 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.4891 7i2fe6d39sgco9pivc4vj3dcus Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240816@185851.4911 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240816@185851.4924 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4940 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.4966 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.4980 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.4989 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.5000 7i2fe6d39sgco9pivc4vj3dcus Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240816@185851.5014 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.5028 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.5042 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf98467766bf935b7a','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.5046 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.5140 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.5171 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf98467766bf935b7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185851.6741 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.6759 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.6783 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.6797 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.6805 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.6817 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.6830 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.6842 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97229366bf935ba6','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.6847 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.6860 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.6887 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf97229366bf935ba6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,50000,?,?,?)
20240816@185851.7161 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.7164 7i2fe6d39sgco9pivc4vj3dcus Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240816@185851.7183 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240816@185851.7199 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7215 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.7239 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7253 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.7261 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.7273 7i2fe6d39sgco9pivc4vj3dcus Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240816@185851.7286 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7300 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.7313 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf90235166bf935bb1','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.7317 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7331 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.7358 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf90235166bf935bb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,70000,?,?,?,?)
20240816@185851.7642 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7658 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.7685 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7699 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.7707 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.7719 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7733 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.7745 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91909266bf935bbc','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.7749 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.7764 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.7792 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf91909266bf935bbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,80000,?,?,?)
20240816@185851.8073 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.8076 7i2fe6d39sgco9pivc4vj3dcus Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240816@185851.8095 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240816@185851.8109 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8124 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.8151 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8166 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.8175 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.8186 7i2fe6d39sgco9pivc4vj3dcus Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240816@185851.8199 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8214 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.8225 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97090866bf935bc8','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.8229 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8245 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.8274 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf97090866bf935bc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,100000,?,?,?,?)
20240816@185851.8568 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8592 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.8620 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8636 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.8646 7i2fe6d39sgco9pivc4vj3dcus Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185851.8662 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8677 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185851.8691 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf91368866bf935bd3','aut66bf90991766bf935b45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185851.8695 7i2fe6d39sgco9pivc4vj3dcus Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185851.8711 7i2fe6d39sgco9pivc4vj3dcus Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185851.8739 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf91368866bf935bd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf90991766bf935b45' ,0,0 ,2,23.00,110000,?,?,?)
20240816@185851.9021 7i2fe6d39sgco9pivc4vj3dcus Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf90991766bf935b45','2405430','wait',39,'adm09112754980.682000002')
20240816@185851.9117 7i2fe6d39sgco9pivc4vj3dcus Query : use flama_phc
20240816@185851.9120 7i2fe6d39sgco9pivc4vj3dcus Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185851.9153 7i2fe6d39sgco9pivc4vj3dcus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240816@185851.9181 7i2fe6d39sgco9pivc4vj3dcus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240816@185851.9217 7i2fe6d39sgco9pivc4vj3dcus Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1590';
20240816@185851.9239 7i2fe6d39sgco9pivc4vj3dcus Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1590';
20240816@185852.2000 ngq7jpcgtjhe871s5bq2flibfg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185852.1300 ngq7jpcgtjhe871s5bq2flibfg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185852.6200 ngq7jpcgtjhe871s5bq2flibfg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240816@185852.1160 ngq7jpcgtjhe871s5bq2flibfg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240816@185852.1700 ngq7jpcgtjhe871s5bq2flibfg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240816@185852.1920 ngq7jpcgtjhe871s5bq2flibfg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240816@185852.2400 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.2440 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185852.3090 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.3120 ngq7jpcgtjhe871s5bq2flibfg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240816@185852.3510 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240816@185852.5290 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.5330 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185852.5660 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.5690 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185852.6000 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.6030 ngq7jpcgtjhe871s5bq2flibfg Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185852.6310 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185852.6670 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.6700 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240816@185852.7010 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.7040 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185852.7350 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.7370 ngq7jpcgtjhe871s5bq2flibfg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185852.7750 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.7780 ngq7jpcgtjhe871s5bq2flibfg Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240816@185852.8250 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.8270 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from td where ndoc = 39
20240816@185852.8390 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185852.8530 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8690 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185852.8870 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.9010 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185852.9280 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.9420 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185852.9540 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185852.1022 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185852.1034 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.1048 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185852.1067 ngq7jpcgtjhe871s5bq2flibfg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf92354166bf935c17' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185852.1245 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.2503 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185852.2536 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185852.2547 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185852.2558 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185852.2570 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185852.2581 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185852.2592 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185852.2603 ngq7jpcgtjhe871s5bq2flibfg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf92354166bf935c17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185852.2855 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185852.2873 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.2891 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185852.2914 ngq7jpcgtjhe871s5bq2flibfg Query : select 'normal' from dummy
20240816@185852.2929 ngq7jpcgtjhe871s5bq2flibfg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf92354166bf935c17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',401,100810,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185852.3202 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.3205 ngq7jpcgtjhe871s5bq2flibfg Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20240816@185852.3227 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20240816@185852.3374 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.3390 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.3415 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.3430 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.3438 ngq7jpcgtjhe871s5bq2flibfg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185852.3450 ngq7jpcgtjhe871s5bq2flibfg Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20240816@185852.3470 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.3483 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.3495 ngq7jpcgtjhe871s5bq2flibfg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99855566bf935c54','aut66bf92354166bf935c17' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185852.3499 ngq7jpcgtjhe871s5bq2flibfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.3514 ngq7jpcgtjhe871s5bq2flibfg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.3542 ngq7jpcgtjhe871s5bq2flibfg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf99855566bf935c54',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66bf92354166bf935c17' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185852.3798 ngq7jpcgtjhe871s5bq2flibfg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66bf92354166bf935c17','2405431','wait',39,'adm09112754980.682000002')
20240816@185852.3872 ngq7jpcgtjhe871s5bq2flibfg Query : use flama_phc
20240816@185852.3876 ngq7jpcgtjhe871s5bq2flibfg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240816@185852.3907 ngq7jpcgtjhe871s5bq2flibfg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240816@185852.3936 ngq7jpcgtjhe871s5bq2flibfg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240816@185852.3976 ngq7jpcgtjhe871s5bq2flibfg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1591';
20240816@185852.4000 ngq7jpcgtjhe871s5bq2flibfg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1591';
20240816@185852.4549 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240816@185852.4560 9hh6rutb9vq9mjjll9alosiqa9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240816@185852.4609 9hh6rutb9vq9mjjll9alosiqa9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1592';
20240816@185852.4661 9hh6rutb9vq9mjjll9alosiqa9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1592';
20240816@185852.4708 9hh6rutb9vq9mjjll9alosiqa9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1592';
20240816@185852.4730 9hh6rutb9vq9mjjll9alosiqa9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1592';
20240816@185852.4773 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.4776 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240816@185852.4836 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.4839 9hh6rutb9vq9mjjll9alosiqa9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240816@185852.4883 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240816@185852.4902 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240816@185852.4923 9hh6rutb9vq9mjjll9alosiqa9 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.01'
20240816@185852.4943 9hh6rutb9vq9mjjll9alosiqa9 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'
20240816@185852.4963 9hh6rutb9vq9mjjll9alosiqa9 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'
20240816@185852.4983 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240816@185852.5002 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5005 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240816@185852.5035 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5038 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 1 valor from td where td.ndoc = 39
20240816@185852.5290 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5294 9hh6rutb9vq9mjjll9alosiqa9 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240816@185852.5323 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240816@185852.5357 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5360 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240816@185852.5391 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5394 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240816@185852.5423 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5426 9hh6rutb9vq9mjjll9alosiqa9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240816@185852.5465 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5468 9hh6rutb9vq9mjjll9alosiqa9 Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240816@185852.5513 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.5516 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from td where ndoc = 39
20240816@185852.5528 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240816@185852.5542 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.5559 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185852.5577 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.5591 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185852.5619 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.5633 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185852.5645 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185852.5713 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240816@185852.5726 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.5740 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240816@185852.5755 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66bf96772766bf935c89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240816@185852.5937 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.5953 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240816@185852.5986 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240816@185852.5999 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240816@185852.6012 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240816@185852.6023 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240816@185852.6035 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240816@185852.6047 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240816@185852.6060 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66bf96772766bf935c89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240816@185852.6403 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 fno valor from wsftdata order by fno desc
20240816@185852.6422 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.6438 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240816@185852.6460 9hh6rutb9vq9mjjll9alosiqa9 Query : select 'normal' from dummy
20240816@185852.6475 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66bf96772766bf935c89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',402,199800,0,'2024-08-16',39,'euro',0,0,2024 ,?,?)
20240816@185852.6763 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.6766 9hh6rutb9vq9mjjll9alosiqa9 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240816@185852.6786 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20240816@185852.6800 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.6815 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.6839 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.6854 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.6862 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185852.6874 9hh6rutb9vq9mjjll9alosiqa9 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240816@185852.6886 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.6902 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.6914 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf99470866bf935ca8','aut66bf96772766bf935c89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185852.6918 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.6932 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.6960 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf99470866bf935ca8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66bf96772766bf935c89' ,0,0 ,2,23.00,10000,?,?,?,?)
20240816@185852.7221 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7237 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.7264 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7278 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.7287 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185852.7300 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7315 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.7326 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf93547466bf935cb2','aut66bf96772766bf935c89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185852.7331 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7346 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.7378 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66bf93547466bf935cb2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66bf96772766bf935c89' ,0,0 ,2,23.00,20000,?,?,?)
20240816@185852.7650 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.7653 9hh6rutb9vq9mjjll9alosiqa9 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240816@185852.7673 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240816@185852.7688 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7704 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.7733 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7748 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.7757 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185852.7771 9hh6rutb9vq9mjjll9alosiqa9 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240816@185852.7784 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7800 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.7814 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94269666bf935cbe','aut66bf96772766bf935c89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185852.7819 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.7834 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.7864 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf94269666bf935cbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66bf96772766bf935c89' ,0,0 ,2,23.00,40000,?,?,?,?)
20240816@185852.8143 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.8146 9hh6rutb9vq9mjjll9alosiqa9 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240816@185852.8165 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240816@185852.8179 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8194 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.8219 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8233 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.8241 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185852.8253 9hh6rutb9vq9mjjll9alosiqa9 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240816@185852.8265 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8278 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.8289 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf97736666bf935cc9','aut66bf96772766bf935c89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240816@185852.8293 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8311 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.8338 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66bf97736666bf935cc9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66bf96772766bf935c89' ,0,0 ,2,23.00,50000,?,?,?,?)
20240816@185852.8595 9hh6rutb9vq9mjjll9alosiqa9 Query : use flama_phc
20240816@185852.8598 9hh6rutb9vq9mjjll9alosiqa9 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240816@185852.8618 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20240816@185852.8631 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8646 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240816@185852.8675 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8689 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.8698 9hh6rutb9vq9mjjll9alosiqa9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240816@185852.8710 9hh6rutb9vq9mjjll9alosiqa9 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240816@185852.8722 9hh6rutb9vq9mjjll9alosiqa9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240816@185852.8735 9hh6rutb9vq9mjjll9alosiqa9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240816@185852.8747 9hh6rutb9vq9mjjll9alosiqa9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66bf94977766bf935cd4','aut66bf96772766bf935c89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
