20241018@185132.2523 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185132.2565 30ot17dkftt2a8sba5m8mp0f07 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241018@185132.2617 30ot17dkftt2a8sba5m8mp0f07 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'
20241018@185132.2631 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2647 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.2674 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2688 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.2696 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.2708 30ot17dkftt2a8sba5m8mp0f07 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241018@185132.2721 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2735 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.2746 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a169556712a02442','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.2752 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.2766 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.2798 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a169556712a02442',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241018@185132.4477 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.4494 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.4518 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.4532 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.4540 30ot17dkftt2a8sba5m8mp0f07 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.4556 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.4579 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.4593 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a814236712a0246f','aut6712a234306712a02379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.4598 30ot17dkftt2a8sba5m8mp0f07 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.4613 30ot17dkftt2a8sba5m8mp0f07 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.4640 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a814236712a0246f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a234306712a02379' ,0,0 ,2,23.00,170000,?,?,?)
20241018@185132.4876 30ot17dkftt2a8sba5m8mp0f07 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a234306712a02379','2406859','wait',39,'adm09112754980.682000002')
20241018@185132.5001 30ot17dkftt2a8sba5m8mp0f07 Query : use flama_phc
20241018@185132.5004 30ot17dkftt2a8sba5m8mp0f07 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185132.5059 30ot17dkftt2a8sba5m8mp0f07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2772';
20241018@185132.5098 30ot17dkftt2a8sba5m8mp0f07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2772';
20241018@185132.5155 30ot17dkftt2a8sba5m8mp0f07 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2772';
20241018@185132.5191 30ot17dkftt2a8sba5m8mp0f07 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2772';
20241018@185132.5724 3c2n7bo548cc9fj8h0n38287im Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185132.5741 3c2n7bo548cc9fj8h0n38287im Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185132.5817 3c2n7bo548cc9fj8h0n38287im Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2773';
20241018@185132.5879 3c2n7bo548cc9fj8h0n38287im Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2773';
20241018@185132.5958 3c2n7bo548cc9fj8h0n38287im Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2773';
20241018@185132.5990 3c2n7bo548cc9fj8h0n38287im Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2773';
20241018@185132.6069 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.6072 3c2n7bo548cc9fj8h0n38287im Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185132.6161 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.6164 3c2n7bo548cc9fj8h0n38287im Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20241018@185132.6246 3c2n7bo548cc9fj8h0n38287im Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241018@185132.6372 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406863 and bi.ref ='324.1676.00.1' and bi.lordem =1
20241018@185132.6773 3c2n7bo548cc9fj8h0n38287im Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241018@185132.6801 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406863 and bi.ref ='324.1676.00.1' and bi.lordem =2
20241018@185132.7102 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7106 3c2n7bo548cc9fj8h0n38287im Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185132.7151 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7154 3c2n7bo548cc9fj8h0n38287im Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185132.7192 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7195 3c2n7bo548cc9fj8h0n38287im 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')
20241018@185132.7227 3c2n7bo548cc9fj8h0n38287im 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
20241018@185132.7278 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7281 3c2n7bo548cc9fj8h0n38287im Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20241018@185132.7404 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7407 3c2n7bo548cc9fj8h0n38287im Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185132.7447 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7450 3c2n7bo548cc9fj8h0n38287im Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185132.7506 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7508 3c2n7bo548cc9fj8h0n38287im Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20241018@185132.7575 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.7578 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from td where ndoc = 39
20241018@185132.7591 3c2n7bo548cc9fj8h0n38287im Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185132.7605 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.7621 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185132.7642 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.7659 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185132.7693 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.7708 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185132.7721 3c2n7bo548cc9fj8h0n38287im Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185132.7786 3c2n7bo548cc9fj8h0n38287im Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185132.7799 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.7818 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185132.7834 3c2n7bo548cc9fj8h0n38287im Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a671356712a024bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185132.7990 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.8009 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185132.8042 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185132.8056 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185132.8067 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185132.8079 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185132.8090 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185132.8101 3c2n7bo548cc9fj8h0n38287im Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185132.8112 3c2n7bo548cc9fj8h0n38287im Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a671356712a024bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185132.8319 3c2n7bo548cc9fj8h0n38287im Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185132.8347 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.8369 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185132.8391 3c2n7bo548cc9fj8h0n38287im Query : select 'normal' from dummy
20241018@185132.8407 3c2n7bo548cc9fj8h0n38287im Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a671356712a024bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1367,102079,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185132.8663 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.8666 3c2n7bo548cc9fj8h0n38287im Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241018@185132.8688 3c2n7bo548cc9fj8h0n38287im 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.1676.00.1'
20241018@185132.8809 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.8825 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.8851 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.8865 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.8874 3c2n7bo548cc9fj8h0n38287im Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.8885 3c2n7bo548cc9fj8h0n38287im Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241018@185132.8898 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.8913 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.8925 3c2n7bo548cc9fj8h0n38287im Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a996956712a024d9','aut6712a671356712a024bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.8929 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.8943 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.8972 3c2n7bo548cc9fj8h0n38287im Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a996956712a024d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6712a671356712a024bc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185132.9207 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.9211 3c2n7bo548cc9fj8h0n38287im Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241018@185132.9235 3c2n7bo548cc9fj8h0n38287im 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.1676.00.1'
20241018@185132.9252 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.9270 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.9307 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.9325 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.9339 3c2n7bo548cc9fj8h0n38287im Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185132.9354 3c2n7bo548cc9fj8h0n38287im Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241018@185132.9369 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.9387 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185132.9402 3c2n7bo548cc9fj8h0n38287im Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a923706712a024e4','aut6712a671356712a024bc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185132.9406 3c2n7bo548cc9fj8h0n38287im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185132.9423 3c2n7bo548cc9fj8h0n38287im Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185132.9457 3c2n7bo548cc9fj8h0n38287im Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a923706712a024e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6712a671356712a024bc' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185132.9687 3c2n7bo548cc9fj8h0n38287im Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a671356712a024bc','2406863','wait',39,'adm09112754980.682000002')
20241018@185132.9759 3c2n7bo548cc9fj8h0n38287im Query : use flama_phc
20241018@185132.9762 3c2n7bo548cc9fj8h0n38287im Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185132.9792 3c2n7bo548cc9fj8h0n38287im Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2773';
20241018@185132.9827 3c2n7bo548cc9fj8h0n38287im Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2773';
20241018@185132.9876 3c2n7bo548cc9fj8h0n38287im Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2773';
20241018@185132.9902 3c2n7bo548cc9fj8h0n38287im Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2773';
20241018@185133.3960 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185133.4060 k9p5bhhcrepruoee3pv9dgk6j5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185133.4620 k9p5bhhcrepruoee3pv9dgk6j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2774';
20241018@185133.5200 k9p5bhhcrepruoee3pv9dgk6j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2774';
20241018@185133.5820 k9p5bhhcrepruoee3pv9dgk6j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2774';
20241018@185133.6090 k9p5bhhcrepruoee3pv9dgk6j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2774';
20241018@185133.6580 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.6610 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185133.7390 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.7420 k9p5bhhcrepruoee3pv9dgk6j5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6076
20241018@185133.8250 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241018@185133.9560 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406864 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241018@185133.1258 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241018@185133.1280 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406864 and bi.ref ='324.2300.00.1' and bi.lordem =1
20241018@185133.1302 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241018@185133.1426 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406864 and bi.ref ='324.2301.00.3' and bi.lordem =3
20241018@185133.1739 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241018@185133.1763 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406864 and bi.ref ='324.2301.00.3' and bi.lordem =3
20241018@185133.1782 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241018@185133.1806 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406864 and bi.ref ='324.4980.00.1' and bi.lordem =5
20241018@185133.2104 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241018@185133.2129 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406864 and bi.ref ='324.4980.00.1' and bi.lordem =5
20241018@185133.2149 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2152 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185133.2191 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2195 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185133.2228 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2232 k9p5bhhcrepruoee3pv9dgk6j5 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')
20241018@185133.2264 k9p5bhhcrepruoee3pv9dgk6j5 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
20241018@185133.2306 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2310 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 ~inactivo valor from cl where no = '102515' and estab = 0 order by inactivo desc
20241018@185133.2453 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2457 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185133.2495 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2499 k9p5bhhcrepruoee3pv9dgk6j5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185133.2549 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2552 k9p5bhhcrepruoee3pv9dgk6j5 Query : select szadrsstamp valor from szadrs where szadrsdesc='modainteractiva - lda'
20241018@185133.2601 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.2605 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from td where ndoc = 39
20241018@185133.2618 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185133.2644 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.2662 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185133.2684 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.2700 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185133.2733 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.2749 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185133.2762 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185133.2826 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185133.2841 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.2859 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185133.2881 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a109646712a02543' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185133.3035 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.3055 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185133.3100 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185133.3114 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185133.3127 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185133.3140 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185133.3153 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185133.3166 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185133.3182 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a109646712a02543',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185133.3396 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185133.3421 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.3437 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185133.3463 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 'normal' from dummy
20241018@185133.3480 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a109646712a02543',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1368,102515,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185133.3741 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.3745 k9p5bhhcrepruoee3pv9dgk6j5 Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241018@185133.3773 k9p5bhhcrepruoee3pv9dgk6j5 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.2300.00.1'
20241018@185133.3899 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.3917 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.3949 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.3967 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.3978 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185133.3994 k9p5bhhcrepruoee3pv9dgk6j5 Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241018@185133.4010 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.4027 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.4042 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a303196712a02561','aut6712a109646712a02543' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185133.4047 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.4065 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.4102 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a303196712a02561',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6712a109646712a02543' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185133.4327 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.4330 k9p5bhhcrepruoee3pv9dgk6j5 Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241018@185133.4352 k9p5bhhcrepruoee3pv9dgk6j5 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.2300.00.1'
20241018@185133.4367 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.4389 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.4414 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.4430 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.4439 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185133.4452 k9p5bhhcrepruoee3pv9dgk6j5 Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241018@185133.4466 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.4608 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.4623 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a867706712a0256d','aut6712a109646712a02543' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185133.4628 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.4802 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.5503 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a867706712a0256d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut6712a109646712a02543' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185133.5730 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.5733 k9p5bhhcrepruoee3pv9dgk6j5 Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241018@185133.5758 k9p5bhhcrepruoee3pv9dgk6j5 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.2301.00.3'
20241018@185133.5891 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.5910 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.5940 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.5956 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.5966 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185133.5983 k9p5bhhcrepruoee3pv9dgk6j5 Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241018@185133.6003 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.6018 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.6030 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a549056712a02592','aut6712a109646712a02543' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185133.6034 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.6048 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.6077 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a549056712a02592',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut6712a109646712a02543' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241018@185133.6505 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.6508 k9p5bhhcrepruoee3pv9dgk6j5 Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241018@185133.6529 k9p5bhhcrepruoee3pv9dgk6j5 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.2301.00.3'
20241018@185133.6543 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.6559 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.6585 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.6599 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.6607 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185133.6625 k9p5bhhcrepruoee3pv9dgk6j5 Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241018@185133.6638 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.6653 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.6664 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a142256712a025a2','aut6712a109646712a02543' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185133.6669 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.6685 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.6715 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a142256712a025a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6712a109646712a02543' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185133.7150 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.7342 k9p5bhhcrepruoee3pv9dgk6j5 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241018@185133.8794 k9p5bhhcrepruoee3pv9dgk6j5 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.4980.00.1'
20241018@185133.8813 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.8830 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.8856 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.8870 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.8879 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185133.8890 k9p5bhhcrepruoee3pv9dgk6j5 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241018@185133.8902 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.8916 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.8927 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a817086712a025d9','aut6712a109646712a02543' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185133.8931 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.8946 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.8990 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a817086712a025d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6712a109646712a02543' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241018@185133.9221 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.9224 k9p5bhhcrepruoee3pv9dgk6j5 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241018@185133.9245 k9p5bhhcrepruoee3pv9dgk6j5 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.4980.00.1'
20241018@185133.9259 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.9274 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.9300 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.9315 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.9323 k9p5bhhcrepruoee3pv9dgk6j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185133.9336 k9p5bhhcrepruoee3pv9dgk6j5 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241018@185133.9349 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.9364 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185133.9376 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a311806712a025e4','aut6712a109646712a02543' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185133.9380 k9p5bhhcrepruoee3pv9dgk6j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185133.9400 k9p5bhhcrepruoee3pv9dgk6j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185133.9429 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a311806712a025e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6712a109646712a02543' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241018@185133.9653 k9p5bhhcrepruoee3pv9dgk6j5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a109646712a02543','2406864','wait',39,'adm09112754980.682000002')
20241018@185133.9765 k9p5bhhcrepruoee3pv9dgk6j5 Query : use flama_phc
20241018@185133.9768 k9p5bhhcrepruoee3pv9dgk6j5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185133.9814 k9p5bhhcrepruoee3pv9dgk6j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2774';
20241018@185133.9855 k9p5bhhcrepruoee3pv9dgk6j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2774';
20241018@185133.9918 k9p5bhhcrepruoee3pv9dgk6j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2774';
20241018@185133.9949 k9p5bhhcrepruoee3pv9dgk6j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2774';
20241018@185134.4940 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185134.5080 4jrclt6b0tvomnff0i1m5pmfu9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185134.5710 4jrclt6b0tvomnff0i1m5pmfu9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2775';
20241018@185134.1741 4jrclt6b0tvomnff0i1m5pmfu9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2775';
20241018@185134.1815 4jrclt6b0tvomnff0i1m5pmfu9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2775';
20241018@185134.1848 4jrclt6b0tvomnff0i1m5pmfu9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2775';
20241018@185134.1918 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.1921 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185134.1998 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2001 4jrclt6b0tvomnff0i1m5pmfu9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241018@185134.2085 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241018@185134.2215 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406866 and bi.ref ='328.9326.00.1' and bi.lordem =1
20241018@185134.2511 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2515 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185134.2557 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2562 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185134.2599 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2602 4jrclt6b0tvomnff0i1m5pmfu9 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')
20241018@185134.2638 4jrclt6b0tvomnff0i1m5pmfu9 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
20241018@185134.2688 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2691 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185134.2736 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2739 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185134.2780 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2784 4jrclt6b0tvomnff0i1m5pmfu9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185134.2855 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2858 4jrclt6b0tvomnff0i1m5pmfu9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241018@185134.2941 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.2944 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from td where ndoc = 39
20241018@185134.2957 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185134.2972 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.2988 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185134.3007 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.3021 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185134.3048 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.3062 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185134.3075 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185134.3139 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185134.3152 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.3167 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185134.3183 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a484726712a0264b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185134.3329 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.3348 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185134.3381 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185134.3392 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185134.3404 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185134.3415 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185134.3427 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185134.3439 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185134.3450 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a484726712a0264b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185134.3654 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185134.3676 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.3691 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185134.3714 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 'normal' from dummy
20241018@185134.3728 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a484726712a0264b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1369,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185134.3982 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.3985 4jrclt6b0tvomnff0i1m5pmfu9 Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20241018@185134.4007 4jrclt6b0tvomnff0i1m5pmfu9 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 = '328.9326.00.1'
20241018@185134.4124 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4139 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.4163 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4177 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.4185 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185134.4196 4jrclt6b0tvomnff0i1m5pmfu9 Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20241018@185134.4216 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4230 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.4241 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a632646712a02666','aut6712a484726712a0264b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185134.4244 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4260 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.4287 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a632646712a02666',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a484726712a0264b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185134.4518 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4535 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.4561 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4576 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.4585 4jrclt6b0tvomnff0i1m5pmfu9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185134.4599 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4613 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.4624 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a256966712a02670','aut6712a484726712a0264b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185134.4628 4jrclt6b0tvomnff0i1m5pmfu9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.4642 4jrclt6b0tvomnff0i1m5pmfu9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.4670 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a256966712a02670',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a484726712a0264b' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185134.4893 4jrclt6b0tvomnff0i1m5pmfu9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a484726712a0264b','2406866','wait',39,'adm09112754980.682000002')
20241018@185134.4974 4jrclt6b0tvomnff0i1m5pmfu9 Query : use flama_phc
20241018@185134.4977 4jrclt6b0tvomnff0i1m5pmfu9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185134.5008 4jrclt6b0tvomnff0i1m5pmfu9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2775';
20241018@185134.5040 4jrclt6b0tvomnff0i1m5pmfu9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2775';
20241018@185134.5083 4jrclt6b0tvomnff0i1m5pmfu9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2775';
20241018@185134.5109 4jrclt6b0tvomnff0i1m5pmfu9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2775';
20241018@185134.5615 dv2iu1qf5gv9can0f153p4rmqh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185134.5626 dv2iu1qf5gv9can0f153p4rmqh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185134.5683 dv2iu1qf5gv9can0f153p4rmqh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2776';
20241018@185134.5738 dv2iu1qf5gv9can0f153p4rmqh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2776';
20241018@185134.5805 dv2iu1qf5gv9can0f153p4rmqh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2776';
20241018@185134.5831 dv2iu1qf5gv9can0f153p4rmqh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2776';
20241018@185134.5884 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.5887 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185134.5959 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.5961 dv2iu1qf5gv9can0f153p4rmqh Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241018@185134.6002 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241018@185134.6047 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406867 and bi.ref ='328.9326.00.1' and bi.lordem =1
20241018@185134.6345 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6349 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185134.6384 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6387 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185134.6419 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6421 dv2iu1qf5gv9can0f153p4rmqh 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')
20241018@185134.6451 dv2iu1qf5gv9can0f153p4rmqh 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
20241018@185134.6487 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6490 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185134.6519 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6522 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185134.6562 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6565 dv2iu1qf5gv9can0f153p4rmqh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185134.6608 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6610 dv2iu1qf5gv9can0f153p4rmqh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241018@185134.6661 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.6664 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from td where ndoc = 39
20241018@185134.6676 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185134.6690 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.6706 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185134.6729 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.6743 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185134.6782 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.6796 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185134.6811 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185134.6877 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185134.6890 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.6905 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185134.6919 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a306886712a026a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185134.7073 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.7090 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185134.7128 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185134.7140 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185134.7151 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185134.7163 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185134.7176 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185134.7191 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185134.7202 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a306886712a026a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185134.7496 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185134.7519 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.7535 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185134.7557 dv2iu1qf5gv9can0f153p4rmqh Query : select 'normal' from dummy
20241018@185134.7572 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a306886712a026a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1370,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185134.7836 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.7840 dv2iu1qf5gv9can0f153p4rmqh Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20241018@185134.7860 dv2iu1qf5gv9can0f153p4rmqh 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 = '328.9326.00.1'
20241018@185134.7874 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.7892 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.7917 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.7932 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.7940 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185134.7953 dv2iu1qf5gv9can0f153p4rmqh Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20241018@185134.7965 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.7979 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.7991 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a605856712a026c2','aut6712a306886712a026a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185134.7995 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.8012 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.8044 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a605856712a026c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a306886712a026a6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185134.8276 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.8291 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.8320 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.8334 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.8348 dv2iu1qf5gv9can0f153p4rmqh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185134.8360 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.8374 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185134.8385 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a966436712a026cc','aut6712a306886712a026a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185134.8389 dv2iu1qf5gv9can0f153p4rmqh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185134.8406 dv2iu1qf5gv9can0f153p4rmqh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185134.8435 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a966436712a026cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a306886712a026a6' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185134.8672 dv2iu1qf5gv9can0f153p4rmqh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a306886712a026a6','2406867','wait',39,'adm09112754980.682000002')
20241018@185134.8753 dv2iu1qf5gv9can0f153p4rmqh Query : use flama_phc
20241018@185134.8757 dv2iu1qf5gv9can0f153p4rmqh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185134.8788 dv2iu1qf5gv9can0f153p4rmqh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2776';
20241018@185134.9013 dv2iu1qf5gv9can0f153p4rmqh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2776';
20241018@185134.9060 dv2iu1qf5gv9can0f153p4rmqh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2776';
20241018@185134.9090 dv2iu1qf5gv9can0f153p4rmqh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2776';
20241018@185134.9639 le67267h5e59sl4ijr99cpa6ga Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185134.9658 le67267h5e59sl4ijr99cpa6ga Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185134.9716 le67267h5e59sl4ijr99cpa6ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2777';
20241018@185134.9770 le67267h5e59sl4ijr99cpa6ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2777';
20241018@185134.9824 le67267h5e59sl4ijr99cpa6ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2777';
20241018@185134.9851 le67267h5e59sl4ijr99cpa6ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2777';
20241018@185134.9909 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185134.9912 le67267h5e59sl4ijr99cpa6ga Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185134.9984 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185134.9987 le67267h5e59sl4ijr99cpa6ga Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241018@185135.3900 le67267h5e59sl4ijr99cpa6ga Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241018@185135.5900 le67267h5e59sl4ijr99cpa6ga Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406868 and bi.ref ='328.9326.00.1' and bi.lordem =1
20241018@185135.3600 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.3640 le67267h5e59sl4ijr99cpa6ga Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185135.3980 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.4010 le67267h5e59sl4ijr99cpa6ga Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185135.4310 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.4340 le67267h5e59sl4ijr99cpa6ga 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')
20241018@185135.4630 le67267h5e59sl4ijr99cpa6ga 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
20241018@185135.5060 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.5090 le67267h5e59sl4ijr99cpa6ga Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185135.5470 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.5500 le67267h5e59sl4ijr99cpa6ga Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185135.5820 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.5850 le67267h5e59sl4ijr99cpa6ga Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185135.6440 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.6470 le67267h5e59sl4ijr99cpa6ga Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241018@185135.6940 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.6970 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from td where ndoc = 39
20241018@185135.7090 le67267h5e59sl4ijr99cpa6ga Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185135.7250 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.7420 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185135.7610 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.7800 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185135.8100 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8250 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185135.8370 le67267h5e59sl4ijr99cpa6ga Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185135.9030 le67267h5e59sl4ijr99cpa6ga Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185135.9160 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.9360 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185135.9520 le67267h5e59sl4ijr99cpa6ga Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a260686712a02714' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185135.1105 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.1121 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185135.1155 le67267h5e59sl4ijr99cpa6ga Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185135.1167 le67267h5e59sl4ijr99cpa6ga Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185135.1181 le67267h5e59sl4ijr99cpa6ga Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185135.1193 le67267h5e59sl4ijr99cpa6ga Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185135.1206 le67267h5e59sl4ijr99cpa6ga Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185135.1217 le67267h5e59sl4ijr99cpa6ga Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185135.1233 le67267h5e59sl4ijr99cpa6ga Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a260686712a02714',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185135.1438 le67267h5e59sl4ijr99cpa6ga Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185135.1460 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.1483 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185135.1506 le67267h5e59sl4ijr99cpa6ga Query : select 'normal' from dummy
20241018@185135.1521 le67267h5e59sl4ijr99cpa6ga Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a260686712a02714',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1371,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185135.1774 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.1777 le67267h5e59sl4ijr99cpa6ga Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20241018@185135.1799 le67267h5e59sl4ijr99cpa6ga 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 = '328.9326.00.1'
20241018@185135.1813 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.1857 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.1888 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.1904 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.1913 le67267h5e59sl4ijr99cpa6ga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185135.1928 le67267h5e59sl4ijr99cpa6ga Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20241018@185135.1942 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.1958 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.1969 le67267h5e59sl4ijr99cpa6ga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a898596712a0272f','aut6712a260686712a02714' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185135.1974 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.1988 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.2016 le67267h5e59sl4ijr99cpa6ga Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a898596712a0272f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6712a260686712a02714' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185135.2253 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.2269 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.2295 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.2309 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.2319 le67267h5e59sl4ijr99cpa6ga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185135.2331 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.2347 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.2364 le67267h5e59sl4ijr99cpa6ga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a543606712a02738','aut6712a260686712a02714' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185135.2369 le67267h5e59sl4ijr99cpa6ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.2384 le67267h5e59sl4ijr99cpa6ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.2413 le67267h5e59sl4ijr99cpa6ga Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a543606712a02738',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a260686712a02714' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185135.2803 le67267h5e59sl4ijr99cpa6ga Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a260686712a02714','2406868','wait',39,'adm09112754980.682000002')
20241018@185135.2959 le67267h5e59sl4ijr99cpa6ga Query : use flama_phc
20241018@185135.2962 le67267h5e59sl4ijr99cpa6ga Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185135.3012 le67267h5e59sl4ijr99cpa6ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2777';
20241018@185135.3054 le67267h5e59sl4ijr99cpa6ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2777';
20241018@185135.3117 le67267h5e59sl4ijr99cpa6ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2777';
20241018@185135.3146 le67267h5e59sl4ijr99cpa6ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2777';
20241018@185135.4040 rvcbiif313dbekghu3ogj9i177 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185135.4059 rvcbiif313dbekghu3ogj9i177 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185135.4146 rvcbiif313dbekghu3ogj9i177 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2778';
20241018@185135.4213 rvcbiif313dbekghu3ogj9i177 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2778';
20241018@185135.4298 rvcbiif313dbekghu3ogj9i177 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2778';
20241018@185135.4334 rvcbiif313dbekghu3ogj9i177 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2778';
20241018@185135.4411 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.4414 rvcbiif313dbekghu3ogj9i177 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185135.4511 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.4515 rvcbiif313dbekghu3ogj9i177 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185135.5717 rvcbiif313dbekghu3ogj9i177 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20241018@185135.5849 rvcbiif313dbekghu3ogj9i177 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406869 and bi.ref ='324.1667.00.1' and bi.lordem =1
20241018@185135.6148 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6151 rvcbiif313dbekghu3ogj9i177 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185135.6196 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6199 rvcbiif313dbekghu3ogj9i177 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185135.6252 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6255 rvcbiif313dbekghu3ogj9i177 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')
20241018@185135.6294 rvcbiif313dbekghu3ogj9i177 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
20241018@185135.6342 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6345 rvcbiif313dbekghu3ogj9i177 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185135.6390 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6392 rvcbiif313dbekghu3ogj9i177 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185135.6438 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6441 rvcbiif313dbekghu3ogj9i177 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185135.6511 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6514 rvcbiif313dbekghu3ogj9i177 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185135.6588 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.6590 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from td where ndoc = 39
20241018@185135.6603 rvcbiif313dbekghu3ogj9i177 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185135.6618 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.6633 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185135.6656 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.6670 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185135.6701 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.6717 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185135.6730 rvcbiif313dbekghu3ogj9i177 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185135.6795 rvcbiif313dbekghu3ogj9i177 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185135.6808 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.6824 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185135.6840 rvcbiif313dbekghu3ogj9i177 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a927566712a027a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185135.6993 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.7009 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185135.7041 rvcbiif313dbekghu3ogj9i177 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185135.7053 rvcbiif313dbekghu3ogj9i177 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185135.7065 rvcbiif313dbekghu3ogj9i177 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185135.7077 rvcbiif313dbekghu3ogj9i177 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185135.7089 rvcbiif313dbekghu3ogj9i177 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185135.7104 rvcbiif313dbekghu3ogj9i177 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185135.7116 rvcbiif313dbekghu3ogj9i177 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a927566712a027a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185135.7331 rvcbiif313dbekghu3ogj9i177 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185135.7357 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.7374 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185135.7398 rvcbiif313dbekghu3ogj9i177 Query : select 'normal' from dummy
20241018@185135.7413 rvcbiif313dbekghu3ogj9i177 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a927566712a027a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1372,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185135.7685 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.7688 rvcbiif313dbekghu3ogj9i177 Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20241018@185135.7711 rvcbiif313dbekghu3ogj9i177 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.1667.00.1'
20241018@185135.8036 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8054 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.8081 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8096 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.8105 rvcbiif313dbekghu3ogj9i177 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185135.8119 rvcbiif313dbekghu3ogj9i177 Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20241018@185135.8141 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8157 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.8169 rvcbiif313dbekghu3ogj9i177 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a319706712a027c6','aut6712a927566712a027a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185135.8173 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8188 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.8219 rvcbiif313dbekghu3ogj9i177 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a319706712a027c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a927566712a027a4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185135.8445 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8461 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.8488 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8503 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.8512 rvcbiif313dbekghu3ogj9i177 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185135.8524 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8539 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185135.8552 rvcbiif313dbekghu3ogj9i177 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a451176712a027d0','aut6712a927566712a027a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185135.8557 rvcbiif313dbekghu3ogj9i177 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185135.8571 rvcbiif313dbekghu3ogj9i177 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185135.8599 rvcbiif313dbekghu3ogj9i177 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a451176712a027d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a927566712a027a4' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185135.8820 rvcbiif313dbekghu3ogj9i177 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a927566712a027a4','2406869','wait',39,'adm09112754980.682000002')
20241018@185135.8929 rvcbiif313dbekghu3ogj9i177 Query : use flama_phc
20241018@185135.8933 rvcbiif313dbekghu3ogj9i177 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185135.8982 rvcbiif313dbekghu3ogj9i177 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2778';
20241018@185135.9019 rvcbiif313dbekghu3ogj9i177 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2778';
20241018@185135.9087 rvcbiif313dbekghu3ogj9i177 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2778';
20241018@185135.9126 rvcbiif313dbekghu3ogj9i177 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2778';
20241018@185135.9649 me9kffkaaq6vdjqotbgk5h8368 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185135.9665 me9kffkaaq6vdjqotbgk5h8368 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185135.9740 me9kffkaaq6vdjqotbgk5h8368 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2779';
20241018@185135.9801 me9kffkaaq6vdjqotbgk5h8368 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2779';
20241018@185135.9870 me9kffkaaq6vdjqotbgk5h8368 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2779';
20241018@185135.9904 me9kffkaaq6vdjqotbgk5h8368 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2779';
20241018@185135.9966 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185135.9969 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185136.5300 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.5600 me9kffkaaq6vdjqotbgk5h8368 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20241018@185136.1720 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20241018@185136.4690 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406871 and bi.ref ='324.2031.00.1' and bi.lordem =1
20241018@185136.7810 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185136.8050 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406871 and bi.ref ='324.1321.00.1' and bi.lordem =2
20241018@185136.1145 me9kffkaaq6vdjqotbgk5h8368 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'
20241018@185136.1273 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406871 and bi.ref ='324.1406.00.1' and bi.lordem =3
20241018@185136.1572 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1576 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185136.1617 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1620 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185136.1650 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1653 me9kffkaaq6vdjqotbgk5h8368 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')
20241018@185136.1681 me9kffkaaq6vdjqotbgk5h8368 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
20241018@185136.1716 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1719 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 ~inactivo valor from cl where no = '102145' and estab = 0 order by inactivo desc
20241018@185136.1830 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1833 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185136.1874 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1877 me9kffkaaq6vdjqotbgk5h8368 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185136.1917 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1920 me9kffkaaq6vdjqotbgk5h8368 Query : select szadrsstamp valor from szadrs where szadrsdesc='paulo jorge almeida gomes unip.,lda.-entrega'
20241018@185136.1975 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.1978 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from td where ndoc = 39
20241018@185136.1990 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185136.2006 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.2022 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185136.2041 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.2056 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185136.2084 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.2101 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185136.2113 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185136.2174 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185136.2187 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.2202 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185136.2218 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a271686712a02833' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185136.2378 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.2395 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185136.2429 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185136.2441 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185136.2456 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185136.2468 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185136.2481 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185136.2494 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185136.2506 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a271686712a02833',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185136.2714 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185136.2737 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.2757 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185136.2781 me9kffkaaq6vdjqotbgk5h8368 Query : select 'normal' from dummy
20241018@185136.2796 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a271686712a02833',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1373,102145,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185136.3062 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.3065 me9kffkaaq6vdjqotbgk5h8368 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20241018@185136.3089 me9kffkaaq6vdjqotbgk5h8368 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.2031.00.1'
20241018@185136.4640 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.4657 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.4684 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.4703 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.4718 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185136.4731 me9kffkaaq6vdjqotbgk5h8368 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20241018@185136.4754 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.4772 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.4784 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a608886712a02874','aut6712a271686712a02833' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185136.4789 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.4804 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.4842 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a608886712a02874',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6712a271686712a02833' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185136.5203 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5229 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.5259 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5274 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.5283 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185136.5298 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5314 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.5327 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a894056712a02881','aut6712a271686712a02833' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185136.5331 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5346 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.5377 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a894056712a02881',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a271686712a02833' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185136.5598 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.5601 me9kffkaaq6vdjqotbgk5h8368 Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185136.5623 me9kffkaaq6vdjqotbgk5h8368 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.1321.00.1'
20241018@185136.5636 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5653 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.5679 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5694 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.5705 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185136.5717 me9kffkaaq6vdjqotbgk5h8368 Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185136.5730 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5744 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.5755 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a568666712a0288b','aut6712a271686712a02833' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185136.5759 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.5773 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.5800 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a568666712a0288b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6712a271686712a02833' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185136.6021 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.6025 me9kffkaaq6vdjqotbgk5h8368 Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20241018@185136.6048 me9kffkaaq6vdjqotbgk5h8368 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'
20241018@185136.6172 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.6192 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.6220 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.6235 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.6244 me9kffkaaq6vdjqotbgk5h8368 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185136.6257 me9kffkaaq6vdjqotbgk5h8368 Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = 'r2400744200a'
20241018@185136.6271 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.6286 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185136.6298 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a979556712a02899','aut6712a271686712a02833' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185136.6302 me9kffkaaq6vdjqotbgk5h8368 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185136.6317 me9kffkaaq6vdjqotbgk5h8368 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185136.6352 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a979556712a02899',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6712a271686712a02833' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241018@185136.6728 me9kffkaaq6vdjqotbgk5h8368 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a271686712a02833','2406871','wait',39,'adm09112754980.682000002')
20241018@185136.7007 me9kffkaaq6vdjqotbgk5h8368 Query : use flama_phc
20241018@185136.7011 me9kffkaaq6vdjqotbgk5h8368 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185136.7155 me9kffkaaq6vdjqotbgk5h8368 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2779';
20241018@185136.7343 me9kffkaaq6vdjqotbgk5h8368 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2779';
20241018@185136.7421 me9kffkaaq6vdjqotbgk5h8368 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2779';
20241018@185136.7464 me9kffkaaq6vdjqotbgk5h8368 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2779';
20241018@185136.8013 lttfj5kmpbeomb455958eg2h97 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185136.8030 lttfj5kmpbeomb455958eg2h97 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185136.8117 lttfj5kmpbeomb455958eg2h97 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2780';
20241018@185136.8182 lttfj5kmpbeomb455958eg2h97 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2780';
20241018@185136.8263 lttfj5kmpbeomb455958eg2h97 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2780';
20241018@185136.8299 lttfj5kmpbeomb455958eg2h97 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2780';
20241018@185136.8376 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.8379 lttfj5kmpbeomb455958eg2h97 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185136.8497 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.8500 lttfj5kmpbeomb455958eg2h97 Query : select no, estab,szadrsdesc from szadrs where u_coddest=859
20241018@185136.8585 lttfj5kmpbeomb455958eg2h97 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241018@185136.8714 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406872 and bi.ref ='324.678.00.01' and bi.lordem =1
20241018@185136.9017 lttfj5kmpbeomb455958eg2h97 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.644.00.01'
20241018@185136.9146 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406872 and bi.ref ='324.644.00.01' and bi.lordem =2
20241018@185136.9447 lttfj5kmpbeomb455958eg2h97 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.644.00.01'
20241018@185136.9472 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406872 and bi.ref ='324.644.00.01' and bi.lordem =2
20241018@185136.9494 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9497 lttfj5kmpbeomb455958eg2h97 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185136.9545 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9548 lttfj5kmpbeomb455958eg2h97 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185136.9594 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9598 lttfj5kmpbeomb455958eg2h97 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')
20241018@185136.9631 lttfj5kmpbeomb455958eg2h97 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
20241018@185136.9688 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9692 lttfj5kmpbeomb455958eg2h97 Query : select top 1 ~inactivo valor from cl where no = '102214' and estab = 0 order by inactivo desc
20241018@185136.9806 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9809 lttfj5kmpbeomb455958eg2h97 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185136.9848 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9851 lttfj5kmpbeomb455958eg2h97 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185136.9918 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9921 lttfj5kmpbeomb455958eg2h97 Query : select szadrsstamp valor from szadrs where szadrsdesc='duarte & mota, lda. (loja 2)'
20241018@185136.9990 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185136.9992 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from td where ndoc = 39
20241018@185137.5000 lttfj5kmpbeomb455958eg2h97 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185137.1900 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.3600 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185137.5600 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.7100 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185137.1030 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1180 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185137.1310 lttfj5kmpbeomb455958eg2h97 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185137.1970 lttfj5kmpbeomb455958eg2h97 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185137.2110 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.2260 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185137.2420 lttfj5kmpbeomb455958eg2h97 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a194816712a02903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185137.3970 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.4170 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185137.4530 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185137.4650 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185137.4780 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185137.4900 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185137.5020 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185137.5140 lttfj5kmpbeomb455958eg2h97 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185137.5260 lttfj5kmpbeomb455958eg2h97 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a194816712a02903',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185137.7550 lttfj5kmpbeomb455958eg2h97 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185137.7800 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.7960 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185137.8200 lttfj5kmpbeomb455958eg2h97 Query : select 'normal' from dummy
20241018@185137.8350 lttfj5kmpbeomb455958eg2h97 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a194816712a02903',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1374,102214,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185137.1100 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185137.1103 lttfj5kmpbeomb455958eg2h97 Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20241018@185137.1125 lttfj5kmpbeomb455958eg2h97 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.678.00.01'
20241018@185137.1180 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1219 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.1245 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1274 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.1282 lttfj5kmpbeomb455958eg2h97 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185137.1294 lttfj5kmpbeomb455958eg2h97 Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20241018@185137.1307 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1322 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.1333 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a371236712a0291f','aut6712a194816712a02903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185137.1338 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1354 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.1384 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a371236712a0291f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6712a194816712a02903' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185137.1609 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1627 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.1655 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1671 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.1680 lttfj5kmpbeomb455958eg2h97 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185137.1697 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1712 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.1724 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a850536712a02929','aut6712a194816712a02903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185137.1728 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.1744 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.1775 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a850536712a02929',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a194816712a02903' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185137.1989 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185137.1992 lttfj5kmpbeomb455958eg2h97 Query : select st.usalote valor from st where st.ref = '324.644.00.01'
20241018@185137.2013 lttfj5kmpbeomb455958eg2h97 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.644.00.01'
20241018@185137.2135 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.2152 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.2181 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.2196 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.2205 lttfj5kmpbeomb455958eg2h97 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185137.2218 lttfj5kmpbeomb455958eg2h97 Query : select sestamp valor from se where ref ='324.644.00.01' and lote = 'r2400749200a'
20241018@185137.2232 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.2247 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.2259 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a561846712a02936','aut6712a194816712a02903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185137.2263 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.2278 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.2372 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a561846712a02936',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a194816712a02903' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185137.2656 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185137.2664 lttfj5kmpbeomb455958eg2h97 Query : select st.usalote valor from st where st.ref = '324.644.00.01'
20241018@185137.2947 lttfj5kmpbeomb455958eg2h97 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.644.00.01'
20241018@185137.2962 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.2978 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.3050 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.3241 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.3301 lttfj5kmpbeomb455958eg2h97 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185137.3314 lttfj5kmpbeomb455958eg2h97 Query : select sestamp valor from se where ref ='324.644.00.01' and lote = 'r2400749200a'
20241018@185137.3329 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.3349 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.3464 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a824076712a02951','aut6712a194816712a02903' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185137.3512 lttfj5kmpbeomb455958eg2h97 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.3747 lttfj5kmpbeomb455958eg2h97 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.3775 lttfj5kmpbeomb455958eg2h97 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a824076712a02951',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a194816712a02903' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241018@185137.4001 lttfj5kmpbeomb455958eg2h97 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a194816712a02903','2406872','wait',39,'adm09112754980.682000002')
20241018@185137.4087 lttfj5kmpbeomb455958eg2h97 Query : use flama_phc
20241018@185137.4090 lttfj5kmpbeomb455958eg2h97 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185137.4140 lttfj5kmpbeomb455958eg2h97 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2780';
20241018@185137.4179 lttfj5kmpbeomb455958eg2h97 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2780';
20241018@185137.4236 lttfj5kmpbeomb455958eg2h97 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2780';
20241018@185137.4264 lttfj5kmpbeomb455958eg2h97 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2780';
20241018@185137.5414 p08it9p54qi31bs7gpo81f6mbv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185137.5428 p08it9p54qi31bs7gpo81f6mbv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185137.5497 p08it9p54qi31bs7gpo81f6mbv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2781';
20241018@185137.5555 p08it9p54qi31bs7gpo81f6mbv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2781';
20241018@185137.5633 p08it9p54qi31bs7gpo81f6mbv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2781';
20241018@185137.5664 p08it9p54qi31bs7gpo81f6mbv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2781';
20241018@185137.5729 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.5732 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185137.5808 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.5811 p08it9p54qi31bs7gpo81f6mbv Query : select no, estab,szadrsdesc from szadrs where u_coddest=6076
20241018@185137.5864 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20241018@185137.6047 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406874 and bi.ref ='324.2326.00.1' and bi.lordem =1
20241018@185137.6350 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20241018@185137.6372 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406874 and bi.ref ='324.2326.00.1' and bi.lordem =1
20241018@185137.6418 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.6421 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185137.6459 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.6462 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185137.8016 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.8019 p08it9p54qi31bs7gpo81f6mbv 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')
20241018@185137.8048 p08it9p54qi31bs7gpo81f6mbv 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
20241018@185137.8081 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.8084 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 ~inactivo valor from cl where no = '102515' and estab = 0 order by inactivo desc
20241018@185137.8112 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.8115 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185137.8143 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.8146 p08it9p54qi31bs7gpo81f6mbv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185137.8182 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.8185 p08it9p54qi31bs7gpo81f6mbv Query : select szadrsstamp valor from szadrs where szadrsdesc='modainteractiva - lda'
20241018@185137.8229 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.8231 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from td where ndoc = 39
20241018@185137.8243 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185137.8257 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.8275 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185137.8293 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.8307 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185137.8333 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.8350 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185137.8362 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185137.8435 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185137.8448 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.8463 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185137.8480 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a002766712a029cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185137.8641 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.8657 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185137.8689 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185137.8741 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185137.8766 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185137.8778 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185137.8790 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185137.8801 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185137.8813 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a002766712a029cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185137.9050 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185137.9229 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.9248 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185137.9270 p08it9p54qi31bs7gpo81f6mbv Query : select 'normal' from dummy
20241018@185137.9287 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a002766712a029cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1375,102515,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185137.9556 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185137.9559 p08it9p54qi31bs7gpo81f6mbv Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241018@185137.9583 p08it9p54qi31bs7gpo81f6mbv 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.2326.00.1'
20241018@185137.9714 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.9731 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.9757 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.9772 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.9780 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185137.9792 p08it9p54qi31bs7gpo81f6mbv Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241018@185137.9805 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.9819 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185137.9831 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a477896712a029ef','aut6712a002766712a029cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185137.9835 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185137.9849 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185137.9878 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a477896712a029ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6712a002766712a029cc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185138.1110 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185138.1140 p08it9p54qi31bs7gpo81f6mbv Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241018@185138.1340 p08it9p54qi31bs7gpo81f6mbv 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.2326.00.1'
20241018@185138.1480 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.1680 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185138.1940 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.2090 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.2180 p08it9p54qi31bs7gpo81f6mbv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185138.2290 p08it9p54qi31bs7gpo81f6mbv Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241018@185138.2420 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.2570 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.2690 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a133766712a02a05','aut6712a002766712a029cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185138.2730 p08it9p54qi31bs7gpo81f6mbv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.2880 p08it9p54qi31bs7gpo81f6mbv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185138.3170 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a133766712a02a05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6712a002766712a029cc' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185138.5490 p08it9p54qi31bs7gpo81f6mbv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a002766712a029cc','2406874','wait',39,'adm09112754980.682000002')
20241018@185138.6540 p08it9p54qi31bs7gpo81f6mbv Query : use flama_phc
20241018@185138.6570 p08it9p54qi31bs7gpo81f6mbv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185138.7050 p08it9p54qi31bs7gpo81f6mbv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2781';
20241018@185138.7430 p08it9p54qi31bs7gpo81f6mbv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2781';
20241018@185138.8040 p08it9p54qi31bs7gpo81f6mbv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2781';
20241018@185138.8370 p08it9p54qi31bs7gpo81f6mbv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2781';
20241018@185138.1410 lhoao03kptd27ihdu81r9es3eh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185138.1426 lhoao03kptd27ihdu81r9es3eh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185138.1504 lhoao03kptd27ihdu81r9es3eh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2782';
20241018@185138.1569 lhoao03kptd27ihdu81r9es3eh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2782';
20241018@185138.1704 lhoao03kptd27ihdu81r9es3eh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2782';
20241018@185138.1753 lhoao03kptd27ihdu81r9es3eh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2782';
20241018@185138.1832 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.1835 lhoao03kptd27ihdu81r9es3eh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185138.1935 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.1938 lhoao03kptd27ihdu81r9es3eh Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20241018@185138.2027 lhoao03kptd27ihdu81r9es3eh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20241018@185138.2153 lhoao03kptd27ihdu81r9es3eh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406875 and bi.ref ='324.4521.00.1' and bi.lordem =1
20241018@185138.2465 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2468 lhoao03kptd27ihdu81r9es3eh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185138.2517 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2520 lhoao03kptd27ihdu81r9es3eh Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185138.2562 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2565 lhoao03kptd27ihdu81r9es3eh 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')
20241018@185138.2599 lhoao03kptd27ihdu81r9es3eh 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
20241018@185138.2650 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2653 lhoao03kptd27ihdu81r9es3eh Query : select top 1 ~inactivo valor from cl where no = '102068' and estab = 0 order by inactivo desc
20241018@185138.2767 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2770 lhoao03kptd27ihdu81r9es3eh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185138.2811 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2815 lhoao03kptd27ihdu81r9es3eh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185138.2876 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2879 lhoao03kptd27ihdu81r9es3eh Query : select szadrsstamp valor from szadrs where szadrsdesc='magalhÃes & vinha, lda.'
20241018@185138.2944 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.2947 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from td where ndoc = 39
20241018@185138.2960 lhoao03kptd27ihdu81r9es3eh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185138.2974 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.2989 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185138.3017 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.3033 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185138.3062 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.3081 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185138.3095 lhoao03kptd27ihdu81r9es3eh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185138.3159 lhoao03kptd27ihdu81r9es3eh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185138.3173 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.3191 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185138.3207 lhoao03kptd27ihdu81r9es3eh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a131416712a02a4b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185138.3364 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.3381 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185138.3416 lhoao03kptd27ihdu81r9es3eh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185138.3428 lhoao03kptd27ihdu81r9es3eh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185138.3440 lhoao03kptd27ihdu81r9es3eh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185138.3493 lhoao03kptd27ihdu81r9es3eh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185138.3541 lhoao03kptd27ihdu81r9es3eh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185138.3561 lhoao03kptd27ihdu81r9es3eh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185138.3614 lhoao03kptd27ihdu81r9es3eh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a131416712a02a4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185138.4012 lhoao03kptd27ihdu81r9es3eh Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185138.4038 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.4054 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185138.4077 lhoao03kptd27ihdu81r9es3eh Query : select 'normal' from dummy
20241018@185138.4092 lhoao03kptd27ihdu81r9es3eh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a131416712a02a4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1376,102068,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185138.4359 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.4362 lhoao03kptd27ihdu81r9es3eh Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241018@185138.4387 lhoao03kptd27ihdu81r9es3eh 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.4521.00.1'
20241018@185138.4517 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.4533 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185138.4560 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.4575 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.4584 lhoao03kptd27ihdu81r9es3eh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185138.4599 lhoao03kptd27ihdu81r9es3eh Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241018@185138.4622 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.4637 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.4649 lhoao03kptd27ihdu81r9es3eh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a357336712a02a70','aut6712a131416712a02a4b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185138.4653 lhoao03kptd27ihdu81r9es3eh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.4668 lhoao03kptd27ihdu81r9es3eh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185138.4697 lhoao03kptd27ihdu81r9es3eh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a357336712a02a70',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a131416712a02a4b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185138.4932 lhoao03kptd27ihdu81r9es3eh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a131416712a02a4b','2406875','wait',39,'adm09112754980.682000002')
20241018@185138.5016 lhoao03kptd27ihdu81r9es3eh Query : use flama_phc
20241018@185138.5019 lhoao03kptd27ihdu81r9es3eh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185138.5056 lhoao03kptd27ihdu81r9es3eh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2782';
20241018@185138.5091 lhoao03kptd27ihdu81r9es3eh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2782';
20241018@185138.5141 lhoao03kptd27ihdu81r9es3eh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2782';
20241018@185138.5172 lhoao03kptd27ihdu81r9es3eh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2782';
20241018@185138.5676 qnr78t9iev6lfihgsttpnfgock Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185138.5690 qnr78t9iev6lfihgsttpnfgock Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185138.5760 qnr78t9iev6lfihgsttpnfgock Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2783';
20241018@185138.5824 qnr78t9iev6lfihgsttpnfgock Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2783';
20241018@185138.5890 qnr78t9iev6lfihgsttpnfgock Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2783';
20241018@185138.5921 qnr78t9iev6lfihgsttpnfgock Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2783';
20241018@185138.5985 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.5988 qnr78t9iev6lfihgsttpnfgock Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185138.6061 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6064 qnr78t9iev6lfihgsttpnfgock Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185138.6110 qnr78t9iev6lfihgsttpnfgock Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185138.6134 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406881 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185138.6442 qnr78t9iev6lfihgsttpnfgock Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185138.6462 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406881 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185138.6479 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6482 qnr78t9iev6lfihgsttpnfgock Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185138.6512 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6515 qnr78t9iev6lfihgsttpnfgock Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185138.6542 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6545 qnr78t9iev6lfihgsttpnfgock 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')
20241018@185138.6574 qnr78t9iev6lfihgsttpnfgock 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
20241018@185138.6607 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6610 qnr78t9iev6lfihgsttpnfgock Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185138.6639 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6642 qnr78t9iev6lfihgsttpnfgock Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185138.6670 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6673 qnr78t9iev6lfihgsttpnfgock Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185138.6712 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6715 qnr78t9iev6lfihgsttpnfgock Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185138.6762 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.6764 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from td where ndoc = 39
20241018@185138.6777 qnr78t9iev6lfihgsttpnfgock Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185138.6790 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.6809 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185138.6828 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.6843 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185138.6877 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.6891 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185138.6904 qnr78t9iev6lfihgsttpnfgock Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185138.6967 qnr78t9iev6lfihgsttpnfgock Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185138.6979 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.6996 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185138.7013 qnr78t9iev6lfihgsttpnfgock Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a413306712a02aa8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185138.7171 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.7187 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185138.7219 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185138.7292 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185138.7304 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185138.7341 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185138.8819 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185138.8831 qnr78t9iev6lfihgsttpnfgock Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185138.8843 qnr78t9iev6lfihgsttpnfgock Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a413306712a02aa8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185138.9062 qnr78t9iev6lfihgsttpnfgock Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185138.9085 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9101 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185138.9123 qnr78t9iev6lfihgsttpnfgock Query : select 'normal' from dummy
20241018@185138.9138 qnr78t9iev6lfihgsttpnfgock Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a413306712a02aa8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1377,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185138.9402 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.9406 qnr78t9iev6lfihgsttpnfgock Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185138.9425 qnr78t9iev6lfihgsttpnfgock 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.1321.00.1'
20241018@185138.9440 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9456 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185138.9487 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9501 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.9510 qnr78t9iev6lfihgsttpnfgock Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185138.9523 qnr78t9iev6lfihgsttpnfgock Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185138.9535 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9550 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.9561 qnr78t9iev6lfihgsttpnfgock Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a955956712a02ae8','aut6712a413306712a02aa8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185138.9565 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9582 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185138.9612 qnr78t9iev6lfihgsttpnfgock Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a955956712a02ae8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6712a413306712a02aa8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185138.9839 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185138.9843 qnr78t9iev6lfihgsttpnfgock Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185138.9861 qnr78t9iev6lfihgsttpnfgock 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.1321.00.1'
20241018@185138.9875 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9890 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185138.9918 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9933 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.9941 qnr78t9iev6lfihgsttpnfgock Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185138.9952 qnr78t9iev6lfihgsttpnfgock Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185138.9963 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185138.9977 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185138.9988 qnr78t9iev6lfihgsttpnfgock Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a717386712a02af3','aut6712a413306712a02aa8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185138.9992 qnr78t9iev6lfihgsttpnfgock Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.5000 qnr78t9iev6lfihgsttpnfgock Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.3400 qnr78t9iev6lfihgsttpnfgock Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a717386712a02af3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',19.000 ,'aut6712a413306712a02aa8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185139.2650 qnr78t9iev6lfihgsttpnfgock Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a413306712a02aa8','2406881','wait',39,'adm09112754980.682000002')
20241018@185139.3400 qnr78t9iev6lfihgsttpnfgock Query : use flama_phc
20241018@185139.3430 qnr78t9iev6lfihgsttpnfgock Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185139.3720 qnr78t9iev6lfihgsttpnfgock Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2783';
20241018@185139.4040 qnr78t9iev6lfihgsttpnfgock Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2783';
20241018@185139.5050 qnr78t9iev6lfihgsttpnfgock Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2783';
20241018@185139.5610 qnr78t9iev6lfihgsttpnfgock Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2783';
20241018@185139.1059 sb338fomhj15dm0q77jtaf8ebl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185139.1070 sb338fomhj15dm0q77jtaf8ebl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185139.1128 sb338fomhj15dm0q77jtaf8ebl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2784';
20241018@185139.1183 sb338fomhj15dm0q77jtaf8ebl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2784';
20241018@185139.1256 sb338fomhj15dm0q77jtaf8ebl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2784';
20241018@185139.1283 sb338fomhj15dm0q77jtaf8ebl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2784';
20241018@185139.1338 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.1341 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185139.1413 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.1416 sb338fomhj15dm0q77jtaf8ebl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185139.1458 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185139.1478 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406882 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185139.1777 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185139.1797 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406882 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241018@185139.1814 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.1817 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185139.1857 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.1859 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185139.1890 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.1893 sb338fomhj15dm0q77jtaf8ebl 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')
20241018@185139.1919 sb338fomhj15dm0q77jtaf8ebl 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
20241018@185139.1953 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.1956 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185139.1985 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.1987 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185139.2016 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.2019 sb338fomhj15dm0q77jtaf8ebl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185139.2058 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.2061 sb338fomhj15dm0q77jtaf8ebl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185139.2113 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.2115 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from td where ndoc = 39
20241018@185139.2127 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185139.2139 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.2154 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185139.2172 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.2186 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185139.2213 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.2226 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185139.2238 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185139.2299 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185139.2311 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.2325 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185139.2340 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a647966712a02b36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185139.2503 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.2521 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185139.2554 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185139.2565 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185139.2576 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185139.2588 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185139.2599 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185139.2612 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185139.2623 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a647966712a02b36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185139.2850 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185139.2872 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.2887 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185139.2909 sb338fomhj15dm0q77jtaf8ebl Query : select 'normal' from dummy
20241018@185139.2923 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a647966712a02b36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1378,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185139.3176 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.3179 sb338fomhj15dm0q77jtaf8ebl Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185139.3200 sb338fomhj15dm0q77jtaf8ebl 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.1321.00.1'
20241018@185139.3214 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3230 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.3259 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3277 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.3287 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185139.3303 sb338fomhj15dm0q77jtaf8ebl Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185139.3319 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3333 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.3347 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a726026712a02b51','aut6712a647966712a02b36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185139.3351 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3365 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.3392 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a726026712a02b51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6712a647966712a02b36' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185139.3615 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.3617 sb338fomhj15dm0q77jtaf8ebl Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185139.3635 sb338fomhj15dm0q77jtaf8ebl 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.1321.00.1'
20241018@185139.3648 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3663 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.3686 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3700 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.3709 sb338fomhj15dm0q77jtaf8ebl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185139.3721 sb338fomhj15dm0q77jtaf8ebl Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185139.3733 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3747 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.3758 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a037976712a02b5b','aut6712a647966712a02b36' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185139.3762 sb338fomhj15dm0q77jtaf8ebl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.3776 sb338fomhj15dm0q77jtaf8ebl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.3802 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a037976712a02b5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut6712a647966712a02b36' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185139.4012 sb338fomhj15dm0q77jtaf8ebl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a647966712a02b36','2406882','wait',39,'adm09112754980.682000002')
20241018@185139.4098 sb338fomhj15dm0q77jtaf8ebl Query : use flama_phc
20241018@185139.4101 sb338fomhj15dm0q77jtaf8ebl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185139.4147 sb338fomhj15dm0q77jtaf8ebl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2784';
20241018@185139.4179 sb338fomhj15dm0q77jtaf8ebl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2784';
20241018@185139.4226 sb338fomhj15dm0q77jtaf8ebl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2784';
20241018@185139.4256 sb338fomhj15dm0q77jtaf8ebl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2784';
20241018@185139.4768 5eevvhuvnb5voesv5bes9dmur9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185139.4783 5eevvhuvnb5voesv5bes9dmur9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185139.4849 5eevvhuvnb5voesv5bes9dmur9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2785';
20241018@185139.4916 5eevvhuvnb5voesv5bes9dmur9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2785';
20241018@185139.4985 5eevvhuvnb5voesv5bes9dmur9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2785';
20241018@185139.5016 5eevvhuvnb5voesv5bes9dmur9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2785';
20241018@185139.5080 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.5083 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185139.5184 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.5188 5eevvhuvnb5voesv5bes9dmur9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185139.5235 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241018@185139.5297 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406883 and bi.ref ='324.1332.00.1' and bi.lordem =1
20241018@185139.5998 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241018@185139.6023 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406883 and bi.ref ='324.1332.00.1' and bi.lordem =1
20241018@185139.6045 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6048 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185139.6102 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6105 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185139.6146 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6149 5eevvhuvnb5voesv5bes9dmur9 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')
20241018@185139.6186 5eevvhuvnb5voesv5bes9dmur9 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
20241018@185139.6233 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6236 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185139.6283 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6286 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185139.6328 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6331 5eevvhuvnb5voesv5bes9dmur9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185139.6397 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6400 5eevvhuvnb5voesv5bes9dmur9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185139.6458 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.6461 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from td where ndoc = 39
20241018@185139.6474 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185139.6488 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.6505 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185139.6526 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.6544 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185139.6582 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.6598 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185139.6611 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185139.6676 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185139.6690 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.6708 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185139.6724 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a077066712a02ba1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185139.6883 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.6900 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185139.6937 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185139.6950 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185139.6963 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185139.6975 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185139.6987 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185139.7000 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185139.7011 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a077066712a02ba1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185139.7232 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185139.7258 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.7274 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185139.7297 5eevvhuvnb5voesv5bes9dmur9 Query : select 'normal' from dummy
20241018@185139.7315 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a077066712a02ba1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1379,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185139.7603 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.7606 5eevvhuvnb5voesv5bes9dmur9 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241018@185139.7629 5eevvhuvnb5voesv5bes9dmur9 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.1332.00.1'
20241018@185139.7642 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.7657 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.7684 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.7699 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.7708 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185139.7721 5eevvhuvnb5voesv5bes9dmur9 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241018@185139.7735 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.7758 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.7771 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a680826712a02bbc','aut6712a077066712a02ba1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185139.7776 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.7791 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.7821 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a680826712a02bbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6712a077066712a02ba1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185139.8998 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185139.9041 5eevvhuvnb5voesv5bes9dmur9 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241018@185139.9379 5eevvhuvnb5voesv5bes9dmur9 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.1332.00.1'
20241018@185139.9488 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.9506 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.9533 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.9550 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.9560 5eevvhuvnb5voesv5bes9dmur9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185139.9573 5eevvhuvnb5voesv5bes9dmur9 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241018@185139.9587 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.9605 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185139.9619 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a187986712a02bea','aut6712a077066712a02ba1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185139.9623 5eevvhuvnb5voesv5bes9dmur9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185139.9640 5eevvhuvnb5voesv5bes9dmur9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185139.9672 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a187986712a02bea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6712a077066712a02ba1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185139.9920 5eevvhuvnb5voesv5bes9dmur9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a077066712a02ba1','2406883','wait',39,'adm09112754980.682000002')
20241018@185140.1199 5eevvhuvnb5voesv5bes9dmur9 Query : use flama_phc
20241018@185140.1203 5eevvhuvnb5voesv5bes9dmur9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185140.1303 5eevvhuvnb5voesv5bes9dmur9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2785';
20241018@185140.1359 5eevvhuvnb5voesv5bes9dmur9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2785';
20241018@185140.1510 5eevvhuvnb5voesv5bes9dmur9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2785';
20241018@185140.1649 5eevvhuvnb5voesv5bes9dmur9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2785';
20241018@185140.2653 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185140.2872 k3477cjvgsqgl9tjdtc6j8itlo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185140.3077 k3477cjvgsqgl9tjdtc6j8itlo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2786';
20241018@185140.3141 k3477cjvgsqgl9tjdtc6j8itlo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2786';
20241018@185140.3196 k3477cjvgsqgl9tjdtc6j8itlo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2786';
20241018@185140.3224 k3477cjvgsqgl9tjdtc6j8itlo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2786';
20241018@185140.3274 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3278 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185140.3355 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3358 k3477cjvgsqgl9tjdtc6j8itlo Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241018@185140.3401 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241018@185140.3423 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406884 and bi.ref ='324.1332.00.1' and bi.lordem =1
20241018@185140.3727 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20241018@185140.3748 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406884 and bi.ref ='324.1332.00.1' and bi.lordem =1
20241018@185140.3765 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3768 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185140.3801 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3804 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185140.3834 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3837 k3477cjvgsqgl9tjdtc6j8itlo 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')
20241018@185140.3868 k3477cjvgsqgl9tjdtc6j8itlo 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
20241018@185140.3904 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3907 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241018@185140.3936 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3939 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185140.3970 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.3973 k3477cjvgsqgl9tjdtc6j8itlo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185140.4013 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.4016 k3477cjvgsqgl9tjdtc6j8itlo Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241018@185140.4062 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.4064 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from td where ndoc = 39
20241018@185140.4077 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185140.4092 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.4109 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185140.4129 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.4144 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185140.4175 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.4191 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185140.4204 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185140.4267 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185140.4281 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.4296 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185140.4312 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a479356712a02c66' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185140.4478 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.4495 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185140.4529 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185140.4542 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185140.4554 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185140.4569 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185140.4583 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185140.4599 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185140.4611 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a479356712a02c66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185140.4826 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185140.4858 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.4879 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185140.4911 k3477cjvgsqgl9tjdtc6j8itlo Query : select 'normal' from dummy
20241018@185140.4929 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a479356712a02c66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1380,100810,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185140.5195 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.5199 k3477cjvgsqgl9tjdtc6j8itlo Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241018@185140.5223 k3477cjvgsqgl9tjdtc6j8itlo 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.1332.00.1'
20241018@185140.5238 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5255 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185140.5283 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5300 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185140.5310 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185140.5323 k3477cjvgsqgl9tjdtc6j8itlo Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241018@185140.5336 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5352 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185140.5365 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a490626712a02c82','aut6712a479356712a02c66' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185140.5369 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5409 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185140.5438 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a490626712a02c82',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a479356712a02c66' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185140.5678 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.5681 k3477cjvgsqgl9tjdtc6j8itlo Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20241018@185140.5702 k3477cjvgsqgl9tjdtc6j8itlo 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.1332.00.1'
20241018@185140.5717 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5734 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185140.5762 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5778 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185140.5786 k3477cjvgsqgl9tjdtc6j8itlo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185140.5799 k3477cjvgsqgl9tjdtc6j8itlo Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20241018@185140.5813 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5827 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185140.5917 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a531796712a02c8d','aut6712a479356712a02c66' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185140.5960 k3477cjvgsqgl9tjdtc6j8itlo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.5987 k3477cjvgsqgl9tjdtc6j8itlo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185140.6018 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a531796712a02c8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a479356712a02c66' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185140.6242 k3477cjvgsqgl9tjdtc6j8itlo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a479356712a02c66','2406884','wait',39,'adm09112754980.682000002')
20241018@185140.6313 k3477cjvgsqgl9tjdtc6j8itlo Query : use flama_phc
20241018@185140.6316 k3477cjvgsqgl9tjdtc6j8itlo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185140.6349 k3477cjvgsqgl9tjdtc6j8itlo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2786';
20241018@185140.6384 k3477cjvgsqgl9tjdtc6j8itlo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2786';
20241018@185140.6428 k3477cjvgsqgl9tjdtc6j8itlo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2786';
20241018@185140.6459 k3477cjvgsqgl9tjdtc6j8itlo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2786';
20241018@185140.7028 pl9pr66022s5ucmj797vsml507 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185140.7071 pl9pr66022s5ucmj797vsml507 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185140.7190 pl9pr66022s5ucmj797vsml507 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2787';
20241018@185140.7252 pl9pr66022s5ucmj797vsml507 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2787';
20241018@185140.7328 pl9pr66022s5ucmj797vsml507 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2787';
20241018@185140.7362 pl9pr66022s5ucmj797vsml507 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2787';
20241018@185140.7437 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.7442 pl9pr66022s5ucmj797vsml507 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185140.7533 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.7537 pl9pr66022s5ucmj797vsml507 Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20241018@185140.7583 pl9pr66022s5ucmj797vsml507 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241018@185140.7607 pl9pr66022s5ucmj797vsml507 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406886 and bi.ref ='304.421.00.04' and bi.lordem =1
20241018@185140.7924 pl9pr66022s5ucmj797vsml507 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'
20241018@185140.8058 pl9pr66022s5ucmj797vsml507 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406886 and bi.ref ='304.4320.00.1' and bi.lordem =3
20241018@185140.8371 pl9pr66022s5ucmj797vsml507 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241018@185140.8496 pl9pr66022s5ucmj797vsml507 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406886 and bi.ref ='324.1803.00.1' and bi.lordem =5
20241018@185140.8807 pl9pr66022s5ucmj797vsml507 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241018@185140.8833 pl9pr66022s5ucmj797vsml507 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406886 and bi.ref ='324.1803.00.1' and bi.lordem =5
20241018@185140.8862 pl9pr66022s5ucmj797vsml507 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241018@185140.8890 pl9pr66022s5ucmj797vsml507 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406886 and bi.ref ='324.1803.00.1' and bi.lordem =6
20241018@185140.9200 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9204 pl9pr66022s5ucmj797vsml507 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185140.9252 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9255 pl9pr66022s5ucmj797vsml507 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185140.9293 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9298 pl9pr66022s5ucmj797vsml507 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')
20241018@185140.9331 pl9pr66022s5ucmj797vsml507 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
20241018@185140.9376 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9380 pl9pr66022s5ucmj797vsml507 Query : select top 1 ~inactivo valor from cl where no = '102068' and estab = 0 order by inactivo desc
20241018@185140.9414 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9417 pl9pr66022s5ucmj797vsml507 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185140.9517 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9522 pl9pr66022s5ucmj797vsml507 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185140.9575 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9578 pl9pr66022s5ucmj797vsml507 Query : select szadrsstamp valor from szadrs where szadrsdesc='magalhÃes & vinha, lda.'
20241018@185140.9635 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185140.9638 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from td where ndoc = 39
20241018@185140.9656 pl9pr66022s5ucmj797vsml507 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185140.9671 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185140.9694 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185141.9070 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.9230 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185141.9550 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.9710 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185141.9840 pl9pr66022s5ucmj797vsml507 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185141.1049 pl9pr66022s5ucmj797vsml507 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185141.1063 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.1078 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185141.1094 pl9pr66022s5ucmj797vsml507 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a446846712a02d18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185141.1252 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.1272 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185141.1306 pl9pr66022s5ucmj797vsml507 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185141.1318 pl9pr66022s5ucmj797vsml507 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185141.1330 pl9pr66022s5ucmj797vsml507 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185141.1341 pl9pr66022s5ucmj797vsml507 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185141.1354 pl9pr66022s5ucmj797vsml507 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185141.1366 pl9pr66022s5ucmj797vsml507 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185141.1382 pl9pr66022s5ucmj797vsml507 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a446846712a02d18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185141.1606 pl9pr66022s5ucmj797vsml507 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185141.1632 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.1648 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185141.1676 pl9pr66022s5ucmj797vsml507 Query : select 'normal' from dummy
20241018@185141.1691 pl9pr66022s5ucmj797vsml507 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a446846712a02d18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1381,102068,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185141.1945 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185141.1948 pl9pr66022s5ucmj797vsml507 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241018@185141.1971 pl9pr66022s5ucmj797vsml507 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'
20241018@185141.1985 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2002 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.2028 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2043 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.2051 pl9pr66022s5ucmj797vsml507 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.2063 pl9pr66022s5ucmj797vsml507 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241002'
20241018@185141.2076 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2091 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.2109 pl9pr66022s5ucmj797vsml507 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a847516712a02d32','aut6712a446846712a02d18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.2114 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2133 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.2162 pl9pr66022s5ucmj797vsml507 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a847516712a02d32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a446846712a02d18' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185141.2410 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2425 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.2455 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2471 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.2503 pl9pr66022s5ucmj797vsml507 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.2515 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2531 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.2544 pl9pr66022s5ucmj797vsml507 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a610246712a02d3d','aut6712a446846712a02d18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.2548 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2562 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.2589 pl9pr66022s5ucmj797vsml507 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a610246712a02d3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a446846712a02d18' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185141.2805 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185141.2808 pl9pr66022s5ucmj797vsml507 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241018@185141.2829 pl9pr66022s5ucmj797vsml507 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'
20241018@185141.2946 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.2960 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.2989 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3006 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.3015 pl9pr66022s5ucmj797vsml507 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.3026 pl9pr66022s5ucmj797vsml507 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20241018@185141.3058 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3073 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.3084 pl9pr66022s5ucmj797vsml507 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a545126712a02d4a','aut6712a446846712a02d18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.3088 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3102 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.3127 pl9pr66022s5ucmj797vsml507 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a545126712a02d4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6712a446846712a02d18' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241018@185141.3356 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185141.3359 pl9pr66022s5ucmj797vsml507 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241018@185141.3378 pl9pr66022s5ucmj797vsml507 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.1803.00.1'
20241018@185141.3506 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3522 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.3550 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3566 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.3578 pl9pr66022s5ucmj797vsml507 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.3591 pl9pr66022s5ucmj797vsml507 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20241018@185141.3612 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3628 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.3640 pl9pr66022s5ucmj797vsml507 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a789996712a02d58','aut6712a446846712a02d18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.3644 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3660 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.3690 pl9pr66022s5ucmj797vsml507 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a789996712a02d58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6712a446846712a02d18' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241018@185141.3916 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185141.3920 pl9pr66022s5ucmj797vsml507 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241018@185141.3939 pl9pr66022s5ucmj797vsml507 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.1803.00.1'
20241018@185141.3953 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.3971 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.3995 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.4012 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.4020 pl9pr66022s5ucmj797vsml507 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.4031 pl9pr66022s5ucmj797vsml507 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20241018@185141.4043 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.4058 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.4070 pl9pr66022s5ucmj797vsml507 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a906166712a02d62','aut6712a446846712a02d18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.4074 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.4093 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.4121 pl9pr66022s5ucmj797vsml507 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a906166712a02d62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6712a446846712a02d18' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241018@185141.4340 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185141.4343 pl9pr66022s5ucmj797vsml507 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241018@185141.4365 pl9pr66022s5ucmj797vsml507 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.1803.00.1'
20241018@185141.4378 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.4393 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.4416 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.4430 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.4438 pl9pr66022s5ucmj797vsml507 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.4450 pl9pr66022s5ucmj797vsml507 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20241018@185141.4462 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.4476 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.4487 pl9pr66022s5ucmj797vsml507 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a967206712a02d6c','aut6712a446846712a02d18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.4491 pl9pr66022s5ucmj797vsml507 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.4504 pl9pr66022s5ucmj797vsml507 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.4531 pl9pr66022s5ucmj797vsml507 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a967206712a02d6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6712a446846712a02d18' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241018@185141.4750 pl9pr66022s5ucmj797vsml507 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a446846712a02d18','2406886','wait',39,'adm09112754980.682000002')
20241018@185141.4824 pl9pr66022s5ucmj797vsml507 Query : use flama_phc
20241018@185141.4828 pl9pr66022s5ucmj797vsml507 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185141.4858 pl9pr66022s5ucmj797vsml507 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2787';
20241018@185141.4891 pl9pr66022s5ucmj797vsml507 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2787';
20241018@185141.4935 pl9pr66022s5ucmj797vsml507 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2787';
20241018@185141.4962 pl9pr66022s5ucmj797vsml507 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2787';
20241018@185141.5493 tcfubm2jn83relaomu2ll2fss8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185141.5505 tcfubm2jn83relaomu2ll2fss8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185141.5563 tcfubm2jn83relaomu2ll2fss8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2788';
20241018@185141.5616 tcfubm2jn83relaomu2ll2fss8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2788';
20241018@185141.5672 tcfubm2jn83relaomu2ll2fss8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2788';
20241018@185141.5712 tcfubm2jn83relaomu2ll2fss8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2788';
20241018@185141.5763 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.5766 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185141.5833 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.5836 tcfubm2jn83relaomu2ll2fss8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1123
20241018@185141.5915 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241018@185141.6164 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406887 and bi.ref ='328.9902.00.1' and bi.lordem =1
20241018@185141.6477 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6480 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185141.6512 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6515 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185141.6544 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6546 tcfubm2jn83relaomu2ll2fss8 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')
20241018@185141.6578 tcfubm2jn83relaomu2ll2fss8 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
20241018@185141.6660 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6663 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 ~inactivo valor from cl where no = '101794' and estab = 0 order by inactivo desc
20241018@185141.6767 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6769 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185141.6800 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6803 tcfubm2jn83relaomu2ll2fss8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185141.6842 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6845 tcfubm2jn83relaomu2ll2fss8 Query : select szadrsstamp valor from szadrs where szadrsdesc='dario alberto almeida, lda'
20241018@185141.6890 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.6893 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from td where ndoc = 39
20241018@185141.6907 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185141.6921 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.6936 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185141.6955 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.6969 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185141.7001 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.7017 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185141.7028 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185141.7091 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185141.7106 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.7121 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185141.7135 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a885526712a02dab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185141.7286 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.7302 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185141.7333 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185141.7344 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185141.7355 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185141.7369 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185141.7381 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185141.7393 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185141.7404 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a885526712a02dab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185141.7729 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185141.7753 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.7770 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185141.7793 tcfubm2jn83relaomu2ll2fss8 Query : select 'normal' from dummy
20241018@185141.7808 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a885526712a02dab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1382,101794,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185141.8085 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.8088 tcfubm2jn83relaomu2ll2fss8 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241018@185141.8116 tcfubm2jn83relaomu2ll2fss8 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 = '328.9902.00.1'
20241018@185141.8244 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8261 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.8287 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8301 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.8310 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.8322 tcfubm2jn83relaomu2ll2fss8 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20241018@185141.8346 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8360 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.8372 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a966266712a02dcb','aut6712a885526712a02dab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.8376 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8391 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.8421 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a966266712a02dcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6712a885526712a02dab' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185141.8655 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8673 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.8767 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8788 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.8797 tcfubm2jn83relaomu2ll2fss8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185141.8809 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8825 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185141.8837 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a205266712a02dd7','aut6712a885526712a02dab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185141.8841 tcfubm2jn83relaomu2ll2fss8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185141.8855 tcfubm2jn83relaomu2ll2fss8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185141.8885 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a205266712a02dd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a885526712a02dab' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185141.9108 tcfubm2jn83relaomu2ll2fss8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a885526712a02dab','2406887','wait',39,'adm09112754980.682000002')
20241018@185141.9177 tcfubm2jn83relaomu2ll2fss8 Query : use flama_phc
20241018@185141.9180 tcfubm2jn83relaomu2ll2fss8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185141.9210 tcfubm2jn83relaomu2ll2fss8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2788';
20241018@185141.9242 tcfubm2jn83relaomu2ll2fss8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2788';
20241018@185141.9287 tcfubm2jn83relaomu2ll2fss8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2788';
20241018@185141.9320 tcfubm2jn83relaomu2ll2fss8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2788';
20241018@185141.9845 mhvhjj6brd562htlggvq4lhjoo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185141.9857 mhvhjj6brd562htlggvq4lhjoo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185141.9914 mhvhjj6brd562htlggvq4lhjoo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2789';
20241018@185141.9970 mhvhjj6brd562htlggvq4lhjoo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2789';
20241018@185142.2400 mhvhjj6brd562htlggvq4lhjoo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2789';
20241018@185142.5100 mhvhjj6brd562htlggvq4lhjoo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2789';
20241018@185142.1030 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.1070 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185142.1700 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.1730 mhvhjj6brd562htlggvq4lhjoo Query : select no, estab,szadrsdesc from szadrs where u_coddest=594
20241018@185142.2650 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20241018@185142.3890 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406888 and bi.ref ='324.4990.00.1' and bi.lordem =1
20241018@185142.7050 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241018@185142.8710 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406888 and bi.ref ='324.645.00.01' and bi.lordem =3
20241018@185142.1209 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241018@185142.1235 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406888 and bi.ref ='324.645.00.01' and bi.lordem =3
20241018@185142.1258 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241018@185142.1283 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406888 and bi.ref ='324.645.00.01' and bi.lordem =3
20241018@185142.1310 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241018@185142.1444 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406888 and bi.ref ='324.1837.00.1' and bi.lordem =4
20241018@185142.1742 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241018@185142.1766 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406888 and bi.ref ='324.678.00.01' and bi.lordem =5
20241018@185142.2060 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241018@185142.2083 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2068 and bo.obrano = 2406888 and bi.ref ='324.678.00.01' and bi.lordem =5
20241018@185142.2105 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2108 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185142.2149 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2152 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185142.2189 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2191 mhvhjj6brd562htlggvq4lhjoo 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')
20241018@185142.2222 mhvhjj6brd562htlggvq4lhjoo 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
20241018@185142.2262 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2264 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 ~inactivo valor from cl where no = '101226' and estab = 0 order by inactivo desc
20241018@185142.2368 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2370 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185142.2405 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2407 mhvhjj6brd562htlggvq4lhjoo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185142.2456 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2458 mhvhjj6brd562htlggvq4lhjoo Query : select szadrsstamp valor from szadrs where szadrsdesc='electro pescador, lda.'
20241018@185142.2517 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.2519 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from td where ndoc = 39
20241018@185142.2531 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185142.2545 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.2560 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185142.2579 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.2593 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185142.2625 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.2640 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185142.2654 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185142.2718 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185142.2730 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.2745 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185142.2762 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185142.2912 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.2927 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185142.2961 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185142.2973 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185142.2984 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185142.2996 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185142.3008 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185142.3019 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185142.3031 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a245156712a02e40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185142.3265 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185142.3288 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.3304 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185142.4483 mhvhjj6brd562htlggvq4lhjoo Query : select 'normal' from dummy
20241018@185142.4498 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a245156712a02e40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1383,101226,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185142.4768 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.4771 mhvhjj6brd562htlggvq4lhjoo Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20241018@185142.4794 mhvhjj6brd562htlggvq4lhjoo 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.4990.00.1'
20241018@185142.4917 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.4934 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.4961 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.4978 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.4986 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.4999 mhvhjj6brd562htlggvq4lhjoo Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20241018@185142.5012 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5027 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.5041 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a174716712a02e7a','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.5045 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5061 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.5091 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a174716712a02e7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6712a245156712a02e40' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241018@185142.5326 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.5329 mhvhjj6brd562htlggvq4lhjoo Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241018@185142.5351 mhvhjj6brd562htlggvq4lhjoo 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.645.00.01'
20241018@185142.5473 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5488 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.5514 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5528 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.5537 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.5554 mhvhjj6brd562htlggvq4lhjoo Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241018@185142.5578 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5593 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.5605 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a264976712a02e88','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.5610 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5625 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.5661 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a264976712a02e88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6712a245156712a02e40' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241018@185142.5938 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5955 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.5982 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.5997 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.6007 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.6019 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6038 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.6050 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a150956712a02e92','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.6055 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6071 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.6103 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a150956712a02e92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a245156712a02e40' ,0,0 ,2,23.00,30000,?,?,?)
20241018@185142.6462 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.6465 mhvhjj6brd562htlggvq4lhjoo Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241018@185142.6485 mhvhjj6brd562htlggvq4lhjoo 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.645.00.01'
20241018@185142.6499 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6515 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.6541 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6556 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.6568 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.6580 mhvhjj6brd562htlggvq4lhjoo Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241018@185142.6594 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6609 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.6621 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a195546712a02ea0','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.6625 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6640 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.6670 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a195546712a02ea0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6712a245156712a02e40' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241018@185142.6901 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6918 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.6945 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6959 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.6967 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.6980 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.6995 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.7006 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a936666712a02eaa','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.7010 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7028 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.7057 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a936666712a02eaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a245156712a02e40' ,0,0 ,2,23.00,60000,?,?,?)
20241018@185142.7272 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.7275 mhvhjj6brd562htlggvq4lhjoo Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241018@185142.7295 mhvhjj6brd562htlggvq4lhjoo 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.645.00.01'
20241018@185142.7309 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7324 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.7350 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7365 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.7374 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.7386 mhvhjj6brd562htlggvq4lhjoo Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241018@185142.7398 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7412 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.7424 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a702356712a02eb4','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.7427 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7442 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.7472 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6712a702356712a02eb4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a245156712a02e40' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241018@185142.7705 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7721 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.7750 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7766 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.7775 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.7788 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7803 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.7815 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a840836712a02ebe','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.7820 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.7835 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.7864 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a840836712a02ebe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a245156712a02e40' ,0,0 ,2,23.00,90000,?,?,?)
20241018@185142.8093 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.8096 mhvhjj6brd562htlggvq4lhjoo Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241018@185142.8117 mhvhjj6brd562htlggvq4lhjoo 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.1837.00.1'
20241018@185142.8242 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.8257 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185142.8282 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.8297 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.8306 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185142.8318 mhvhjj6brd562htlggvq4lhjoo Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2400598200a'
20241018@185142.8327 mhvhjj6brd562htlggvq4lhjoo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185142.8344 mhvhjj6brd562htlggvq4lhjoo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185142.8356 mhvhjj6brd562htlggvq4lhjoo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a646736712a02ecb','aut6712a245156712a02e40' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185142.8375 mhvhjj6brd562htlggvq4lhjoo Query : use flama_phc
20241018@185142.8378 mhvhjj6brd562htlggvq4lhjoo Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241018@185142.8541 mhvhjj6brd562htlggvq4lhjoo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2789';
20241018@185142.8587 mhvhjj6brd562htlggvq4lhjoo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2789';
20241018@185142.9177 5j1tvt9tapnm4gafu951a4mcjc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185142.9193 5j1tvt9tapnm4gafu951a4mcjc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185142.9260 5j1tvt9tapnm4gafu951a4mcjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2790';
20241018@185142.9322 5j1tvt9tapnm4gafu951a4mcjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2790';
20241018@185142.9389 5j1tvt9tapnm4gafu951a4mcjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2790';
20241018@185142.9419 5j1tvt9tapnm4gafu951a4mcjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2790';
20241018@185142.9486 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185142.9489 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185142.9572 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185142.9575 5j1tvt9tapnm4gafu951a4mcjc Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241018@185142.9656 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241018@185142.9682 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241018@185142.9743 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241018@185142.9774 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241018@185142.9797 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241018@185142.9817 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20241018@185142.9847 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20241018@185142.9873 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241018@185142.9996 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241018@185143.2000 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241018@185143.4300 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20241018@185143.6400 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241018@185143.1820 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241018@185143.2060 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241018@185143.2330 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185143.2600 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185143.2820 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185143.3060 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241018@185143.3300 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.3330 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185143.3710 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.3740 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185143.4070 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.4090 5j1tvt9tapnm4gafu951a4mcjc 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')
20241018@185143.4400 5j1tvt9tapnm4gafu951a4mcjc 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
20241018@185143.4770 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.4800 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241018@185143.5850 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.5880 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185143.6350 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.6410 5j1tvt9tapnm4gafu951a4mcjc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185143.6830 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.6860 5j1tvt9tapnm4gafu951a4mcjc Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241018@185143.7340 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.7370 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from td where ndoc = 39
20241018@185143.7510 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185143.7650 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7810 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185143.8000 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8140 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185143.8470 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8610 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185143.8760 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185143.9400 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185143.9540 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9680 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185143.9830 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185143.1137 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.1156 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185143.1189 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185143.1201 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185143.1213 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185143.1225 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185143.1239 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185143.1252 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185143.1264 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a319766712a02f15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185143.1488 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185143.1514 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.1531 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185143.1556 5j1tvt9tapnm4gafu951a4mcjc Query : select 'normal' from dummy
20241018@185143.1572 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a319766712a02f15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1383,102943,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185143.1831 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.1834 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241018@185143.1858 5j1tvt9tapnm4gafu951a4mcjc 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.2301.00.3'
20241018@185143.1872 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.1888 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.1917 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.1932 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.1965 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.1977 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241018@185143.1990 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2006 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.2023 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a652416712a02f30','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.2027 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2042 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.2070 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a652416712a02f30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,10000,?,?,?,?)
20241018@185143.2299 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.2301 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241018@185143.2322 5j1tvt9tapnm4gafu951a4mcjc 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.2301.00.3'
20241018@185143.2337 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2354 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.2379 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2393 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.2402 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.2414 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241018@185143.2426 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2445 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.2456 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a996796712a02f3b','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.2460 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2475 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.2504 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a996796712a02f3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,20000,?,?,?,?)
20241018@185143.2721 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.2724 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241018@185143.2744 5j1tvt9tapnm4gafu951a4mcjc 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.2301.00.3'
20241018@185143.2761 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2776 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.2802 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2816 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.2825 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.2837 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241018@185143.2850 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2868 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.2880 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a799186712a02f45','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.2884 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.2898 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.2926 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a799186712a02f45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,30000,?,?,?,?)
20241018@185143.3144 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.3147 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241018@185143.3167 5j1tvt9tapnm4gafu951a4mcjc 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.2301.00.3'
20241018@185143.3181 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3197 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.3223 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3238 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.3247 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.3259 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241018@185143.3271 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3286 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.3302 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a084046712a02f4f','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.3306 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3320 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.3351 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a084046712a02f4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,40000,?,?,?,?)
20241018@185143.3574 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.3577 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241018@185143.3597 5j1tvt9tapnm4gafu951a4mcjc 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.2301.00.3'
20241018@185143.3611 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3626 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.3653 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3668 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.3676 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.3688 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241018@185143.3701 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3716 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.3728 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a766816712a02f5a','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.3732 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.3747 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.3776 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a766816712a02f5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,50000,?,?,?,?)
20241018@185143.4003 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.4006 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241018@185143.4029 5j1tvt9tapnm4gafu951a4mcjc 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.2326.00.1'
20241018@185143.4043 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.4084 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.4109 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.4455 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.5390 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.5408 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241018@185143.5421 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.5441 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.5454 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a148166712a02f84','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.5459 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.5478 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.5510 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a148166712a02f84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',126.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,60000,?,?,?,?)
20241018@185143.5759 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.5762 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20241018@185143.5782 5j1tvt9tapnm4gafu951a4mcjc 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.2326.00.1'
20241018@185143.5796 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.5812 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.5841 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.5864 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.5874 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.5889 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2100576400a'
20241018@185143.5904 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.5921 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.5936 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a363836712a02f90','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.5941 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.5958 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.5996 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a363836712a02f90',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',126.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,70000,?,?,?,?)
20241018@185143.6246 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.6250 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20241018@185143.6275 5j1tvt9tapnm4gafu951a4mcjc 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.2317.00.1'
20241018@185143.6416 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.6433 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.6499 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.6614 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.6624 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.6639 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2100576500a'
20241018@185143.6654 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.6670 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.6684 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a305026712a02fa2','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.6688 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.6704 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.6732 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a305026712a02fa2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,80000,?,?,?,?)
20241018@185143.6980 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.6998 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.7024 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7040 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.7051 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.7063 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7078 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.7089 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a190356712a02fac','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.7095 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7110 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.7139 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a190356712a02fac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,90000,?,?,?)
20241018@185143.7379 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.7382 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20241018@185143.7402 5j1tvt9tapnm4gafu951a4mcjc 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.2317.00.1'
20241018@185143.7416 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7432 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.7458 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7473 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.7482 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.7493 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2400475100a'
20241018@185143.7508 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7524 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.7535 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a100196712a02fb7','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.7539 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7555 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.7584 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a100196712a02fb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,110000,?,?,?,?)
20241018@185143.7828 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7845 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.7872 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7887 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.7895 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.7914 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7930 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.7946 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a291886712a02fc1','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.7950 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.7965 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.7995 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a291886712a02fc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,120000,?,?,?)
20241018@185143.8265 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.8272 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20241018@185143.8294 5j1tvt9tapnm4gafu951a4mcjc 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.2317.00.1'
20241018@185143.8311 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8327 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.8361 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8376 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.8387 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.8399 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2100576500a'
20241018@185143.8412 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8427 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.8439 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a413476712a02fcd','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.8444 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8459 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.8501 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a413476712a02fcd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,140000,?,?,?,?)
20241018@185143.8735 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8752 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.8778 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8793 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.8802 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.8815 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8830 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.8842 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a268176712a02fd7','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.8846 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.8864 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.8893 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a268176712a02fd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,150000,?,?,?)
20241018@185143.9120 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185143.9123 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20241018@185143.9144 5j1tvt9tapnm4gafu951a4mcjc 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.2317.00.1'
20241018@185143.9159 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9178 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.9204 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9220 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.9230 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.9243 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2400475100a'
20241018@185143.9258 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9274 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.9286 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a015866712a02fe2','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.9291 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9306 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.9338 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a015866712a02fe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,170000,?,?,?,?)
20241018@185143.9604 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9624 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.9651 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9666 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.9675 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185143.9688 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9715 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185143.9727 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a551296712a02fec','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185143.9731 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185143.9756 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185143.9812 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a551296712a02fec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,180000,?,?,?)
20241018@185144.4000 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.4300 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241018@185144.7500 5j1tvt9tapnm4gafu951a4mcjc 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.2330.00.1'
20241018@185144.2110 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.2610 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.2930 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3070 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.3160 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.3280 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241018@185144.3520 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3670 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.3870 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a944076712a03008','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.3910 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.4060 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.4620 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a944076712a03008',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,200000,?,?,?,?)
20241018@185144.7330 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.7430 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241018@185144.7620 5j1tvt9tapnm4gafu951a4mcjc 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.2330.00.1'
20241018@185144.7860 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.8010 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.8610 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.8880 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.8970 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.9090 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241018@185144.9210 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9360 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.9580 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a028296712a03016','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.9620 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9880 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.1052 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a028296712a03016',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,210000,?,?,?,?)
20241018@185144.1279 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.1282 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241018@185144.1306 5j1tvt9tapnm4gafu951a4mcjc 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.2330.00.1'
20241018@185144.1332 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.1348 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.1386 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.1400 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.1408 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.1420 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241018@185144.1443 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.1458 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.1476 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a604316712a03023','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.1480 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.1517 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.1549 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a604316712a03023',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,220000,?,?,?,?)
20241018@185144.1772 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.1775 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185144.1818 5j1tvt9tapnm4gafu951a4mcjc 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.1321.00.1'
20241018@185144.1840 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.1855 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.1890 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.1904 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.1912 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.1924 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185144.1939 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.2001 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.2015 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a949296712a0302f','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.2019 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.2033 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.2101 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a949296712a0302f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,230000,?,?,?,?)
20241018@185144.2422 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.2427 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185144.2452 5j1tvt9tapnm4gafu951a4mcjc 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.1321.00.1'
20241018@185144.2473 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.2489 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.2526 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.2549 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.2557 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.2572 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185144.2616 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.2654 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.2665 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a705766712a0303f','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.2669 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.2704 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.2761 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a705766712a0303f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,240000,?,?,?,?)
20241018@185144.3040 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.3043 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185144.3063 5j1tvt9tapnm4gafu951a4mcjc 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.1321.00.1'
20241018@185144.3079 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3096 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.3132 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3155 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.3163 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.3181 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185144.3194 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3210 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.3224 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a685446712a0304d','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.3239 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3257 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.3307 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a685446712a0304d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,250000,?,?,?,?)
20241018@185144.3533 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.3535 5j1tvt9tapnm4gafu951a4mcjc Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241018@185144.3579 5j1tvt9tapnm4gafu951a4mcjc 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.1321.00.1'
20241018@185144.3614 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3633 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.3658 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3679 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.3689 5j1tvt9tapnm4gafu951a4mcjc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.3718 5j1tvt9tapnm4gafu951a4mcjc Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241018@185144.3757 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3783 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.3795 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a182196712a0305b','aut6712a319766712a02f15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.3802 5j1tvt9tapnm4gafu951a4mcjc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.3819 5j1tvt9tapnm4gafu951a4mcjc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.3854 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a182196712a0305b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27.000 ,'aut6712a319766712a02f15' ,0,0 ,2,23.00,260000,?,?,?,?)
20241018@185144.4068 5j1tvt9tapnm4gafu951a4mcjc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a319766712a02f15','2406891','wait',39,'adm09112754980.682000002')
20241018@185144.4144 5j1tvt9tapnm4gafu951a4mcjc Query : use flama_phc
20241018@185144.4147 5j1tvt9tapnm4gafu951a4mcjc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185144.4198 5j1tvt9tapnm4gafu951a4mcjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2790';
20241018@185144.4282 5j1tvt9tapnm4gafu951a4mcjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2790';
20241018@185144.4339 5j1tvt9tapnm4gafu951a4mcjc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2790';
20241018@185144.4380 5j1tvt9tapnm4gafu951a4mcjc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2790';
20241018@185144.4989 2ntohrq332l3ban0h5hs90kl9t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241018@185144.5020 2ntohrq332l3ban0h5hs90kl9t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241018@185144.5109 2ntohrq332l3ban0h5hs90kl9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2791';
20241018@185144.5164 2ntohrq332l3ban0h5hs90kl9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2791';
20241018@185144.5236 2ntohrq332l3ban0h5hs90kl9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2791';
20241018@185144.5275 2ntohrq332l3ban0h5hs90kl9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2791';
20241018@185144.5339 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.5342 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241018@185144.5447 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.5450 2ntohrq332l3ban0h5hs90kl9t Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241018@185144.5494 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241018@185144.5739 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241018@185144.5845 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241018@185144.5888 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241018@185144.5939 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.5942 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241018@185144.5975 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.5979 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 1 valor from td where td.ndoc = 39
20241018@185144.6059 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.6062 2ntohrq332l3ban0h5hs90kl9t 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')
20241018@185144.6089 2ntohrq332l3ban0h5hs90kl9t 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
20241018@185144.6138 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.6162 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241018@185144.6192 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.6194 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241018@185144.6259 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.6262 2ntohrq332l3ban0h5hs90kl9t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241018@185144.6334 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.6336 2ntohrq332l3ban0h5hs90kl9t Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241018@185144.6383 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.6386 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from td where ndoc = 39
20241018@185144.6421 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241018@185144.6472 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.6505 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185144.6524 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.6543 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185144.6583 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.6600 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185144.6740 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185144.6805 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241018@185144.6819 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.6840 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241018@185144.6861 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241018@185144.7023 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.7063 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241018@185144.8386 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241018@185144.8432 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241018@185144.8445 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241018@185144.8457 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241018@185144.8469 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241018@185144.8502 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241018@185144.8528 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6712a105976712a030a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241018@185144.8766 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 fno valor from wsftdata order by fno desc
20241018@185144.8806 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.8822 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241018@185144.8850 2ntohrq332l3ban0h5hs90kl9t Query : select 'normal' from dummy
20241018@185144.8866 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6712a105976712a030a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1384,102943,0,'2024-10-18',39,'euro',0,0,2024 ,?,?)
20241018@185144.9146 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185144.9151 2ntohrq332l3ban0h5hs90kl9t Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241018@185144.9186 2ntohrq332l3ban0h5hs90kl9t 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 = '327.8261.00.1'
20241018@185144.9318 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9336 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.9367 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9383 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.9402 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.9415 2ntohrq332l3ban0h5hs90kl9t Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241018@185144.9430 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9449 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.9465 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a241196712a030e6','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.9470 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9491 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.9520 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a241196712a030e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,10000,?,?,?,?)
20241018@185144.9768 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9785 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.9812 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9827 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.9836 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185144.9847 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9863 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185144.9874 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a696326712a030f0','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185144.9878 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185144.9892 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185144.9932 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a696326712a030f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,20000,?,?,?)
20241018@185145.1590 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185145.1630 2ntohrq332l3ban0h5hs90kl9t Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241018@185145.1820 2ntohrq332l3ban0h5hs90kl9t 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 = '327.8261.00.1'
20241018@185145.1950 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.2110 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.2400 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.2570 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.2650 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185145.2770 2ntohrq332l3ban0h5hs90kl9t Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241018@185145.2900 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.3050 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.3170 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a522296712a03107','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185145.3210 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.3360 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.3640 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a522296712a03107',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,40000,?,?,?,?)
20241018@185145.5980 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.6140 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.6410 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.6550 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.6640 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185145.6760 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.6900 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.7010 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a863766712a03110','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185145.7050 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.7200 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.7510 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a863766712a03110',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,50000,?,?,?)
20241018@185145.9730 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185145.9760 2ntohrq332l3ban0h5hs90kl9t Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241018@185145.9950 2ntohrq332l3ban0h5hs90kl9t 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 = '327.8261.00.1'
20241018@185145.1009 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1024 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.1047 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1062 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.1071 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185145.1082 2ntohrq332l3ban0h5hs90kl9t Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241018@185145.1095 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1109 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.1120 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a978616712a0311a','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185145.1124 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1142 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.1173 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a978616712a0311a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,70000,?,?,?,?)
20241018@185145.1405 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1423 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.1448 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1462 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.1471 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185145.1483 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1497 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.1508 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a068236712a03124','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185145.1512 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1527 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.1559 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a068236712a03124',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,80000,?,?,?)
20241018@185145.1852 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185145.1855 2ntohrq332l3ban0h5hs90kl9t Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20241018@185145.1874 2ntohrq332l3ban0h5hs90kl9t 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 = '327.8261.00.1'
20241018@185145.1887 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1902 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.1926 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1940 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.1947 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185145.1958 2ntohrq332l3ban0h5hs90kl9t Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400465200a'
20241018@185145.1970 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.1984 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.1995 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a621266712a03130','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185145.1999 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.2013 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.2039 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6712a621266712a03130',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,100000,?,?,?,?)
20241018@185145.2277 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.2292 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.2323 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.2337 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.2348 2ntohrq332l3ban0h5hs90kl9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241018@185145.2360 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.2375 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241018@185145.2386 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6712a739536712a03139','aut6712a105976712a030a4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241018@185145.2390 2ntohrq332l3ban0h5hs90kl9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241018@185145.2405 2ntohrq332l3ban0h5hs90kl9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241018@185145.2435 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6712a739536712a03139',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6712a105976712a030a4' ,0,0 ,2,23.00,110000,?,?,?)
20241018@185145.2662 2ntohrq332l3ban0h5hs90kl9t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6712a105976712a030a4','2406793','wait',39,'adm09112754980.682000002')
20241018@185145.2868 2ntohrq332l3ban0h5hs90kl9t Query : use flama_phc
20241018@185145.2941 2ntohrq332l3ban0h5hs90kl9t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241018@185145.3284 2ntohrq332l3ban0h5hs90kl9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2791';
20241018@185145.3391 2ntohrq332l3ban0h5hs90kl9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2791';
20241018@185145.3896 2ntohrq332l3ban0h5hs90kl9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2791';
20241018@185145.3932 2ntohrq332l3ban0h5hs90kl9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2791';

20241021@093458.7977 o5e3bdmrpubis6obh86gmcjnb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2792';
20241021@093458.8093 o5e3bdmrpubis6obh86gmcjnb9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2792';
20241021@093458.8128 o5e3bdmrpubis6obh86gmcjnb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2792';
20241021@093458.8186 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.8190 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@093458.8315 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.8319 o5e3bdmrpubis6obh86gmcjnb9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9128
20241021@093458.8419 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20241021@093458.8561 o5e3bdmrpubis6obh86gmcjnb9 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'
20241021@093458.8719 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20241021@093458.8828 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.8839 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@093458.9166 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.9172 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 1 valor from td where td.ndoc = 39
20241021@093458.9286 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.9290 o5e3bdmrpubis6obh86gmcjnb9 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')
20241021@093458.9364 o5e3bdmrpubis6obh86gmcjnb9 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
20241021@093458.9573 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.9577 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241021@093458.9682 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.9686 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@093458.9800 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.9804 o5e3bdmrpubis6obh86gmcjnb9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@093458.9887 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.9891 o5e3bdmrpubis6obh86gmcjnb9 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - v. castelo (nova)'
20241021@093458.9942 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093458.9946 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from td where ndoc = 39
20241021@093459.1400 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@093459.7000 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.5910 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@093459.7750 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.7920 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@093459.8890 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.9120 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@093459.9290 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@093459.1197 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@093459.1593 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.1611 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@093459.1669 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67161809846716123316' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@093459.1992 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.2016 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@093459.2057 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@093459.2138 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@093459.2235 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@093459.2364 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@093459.2436 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@093459.2497 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@093459.2597 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67161809846716123316',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@093459.3468 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 fno valor from wsftdata order by fno desc
20241021@093459.3554 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.3572 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@093459.3607 o5e3bdmrpubis6obh86gmcjnb9 Query : select 'normal' from dummy
20241021@093459.3666 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67161809846716123316',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1385,101621,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@093459.4193 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093459.4197 o5e3bdmrpubis6obh86gmcjnb9 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20241021@093459.4355 o5e3bdmrpubis6obh86gmcjnb9 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.4906.00.1'
20241021@093459.4482 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.4508 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.4544 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.4604 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.4618 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@093459.4672 o5e3bdmrpubis6obh86gmcjnb9 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20241021@093459.4798 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.4818 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.4876 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67161213436716123375','aut67161809846716123316' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@093459.4940 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.4985 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.5080 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67161213436716123375',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67161809846716123316' ,0,0 ,2,23.00,10000,?,?,?,?)
20241021@093459.5996 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.6111 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.6147 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.6182 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.6192 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@093459.6205 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.6220 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.6232 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67161918176716123397','aut67161809846716123316' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@093459.6238 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.6257 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.6303 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67161918176716123397',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67161809846716123316' ,0,0 ,2,23.00,20000,?,?,?)
20241021@093459.6811 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093459.6817 o5e3bdmrpubis6obh86gmcjnb9 Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20241021@093459.6842 o5e3bdmrpubis6obh86gmcjnb9 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'
20241021@093459.7253 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.7275 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.7311 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.7333 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.7345 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@093459.7358 o5e3bdmrpubis6obh86gmcjnb9 Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20241021@093459.7382 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.7407 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.7420 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671610741667161233b4','aut67161809846716123316' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@093459.7425 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.7444 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.7488 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut671610741667161233b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67161809846716123316' ,0,0 ,2,23.00,40000,?,?,?,?)
20241021@093459.7823 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093459.7826 o5e3bdmrpubis6obh86gmcjnb9 Query : select st.usalote valor from st where st.ref = '324.1407.00.1'
20241021@093459.7856 o5e3bdmrpubis6obh86gmcjnb9 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.1407.00.1'
20241021@093459.7988 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.8005 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.8041 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.8099 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.8139 o5e3bdmrpubis6obh86gmcjnb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@093459.8154 o5e3bdmrpubis6obh86gmcjnb9 Query : select sestamp valor from se where ref ='324.1407.00.1' and lote = 'r2100703100a'
20241021@093459.8186 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.8245 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@093459.8259 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671619942567161233c7','aut67161809846716123316' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@093459.8264 o5e3bdmrpubis6obh86gmcjnb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@093459.8282 o5e3bdmrpubis6obh86gmcjnb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@093459.8320 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut671619942567161233c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67161809846716123316' ,0,0 ,2,23.00,50000,?,?,?,?)
20241021@093459.8683 o5e3bdmrpubis6obh86gmcjnb9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67161809846716123316','2406973','wait',39,'adm09112754980.682000002')
20241021@093459.8809 o5e3bdmrpubis6obh86gmcjnb9 Query : use flama_phc
20241021@093459.8813 o5e3bdmrpubis6obh86gmcjnb9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@093459.8845 o5e3bdmrpubis6obh86gmcjnb9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2792';
20241021@093459.8889 o5e3bdmrpubis6obh86gmcjnb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2792';
20241021@093459.8969 o5e3bdmrpubis6obh86gmcjnb9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2792';
20241021@093459.9002 o5e3bdmrpubis6obh86gmcjnb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2792';

20241021@100459.3440 ghfnmv4v3ahc2fbgmspenv1r14 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2793';
20241021@100459.4130 ghfnmv4v3ahc2fbgmspenv1r14 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2793';
20241021@100459.4540 ghfnmv4v3ahc2fbgmspenv1r14 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2793';
20241021@100459.5070 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.5100 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@100459.7250 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.7580 ghfnmv4v3ahc2fbgmspenv1r14 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3324
20241021@100459.8420 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241021@100459.9790 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.9820 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241021@100459.1017 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.1020 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 1 valor from td where td.ndoc = 39
20241021@100459.1050 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.1053 ghfnmv4v3ahc2fbgmspenv1r14 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')
20241021@100459.1094 ghfnmv4v3ahc2fbgmspenv1r14 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
20241021@100459.1136 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.1139 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 ~inactivo valor from cl where no = '102477' and estab = 0 order by inactivo desc
20241021@100459.1259 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.1262 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241021@100459.1293 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.1296 ghfnmv4v3ahc2fbgmspenv1r14 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241021@100459.1336 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.1339 ghfnmv4v3ahc2fbgmspenv1r14 Query : select szadrsstamp valor from szadrs where szadrsdesc='planetavertical, lda'
20241021@100459.1403 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.1406 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from td where ndoc = 39
20241021@100459.1419 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241021@100459.1435 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.1476 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@100459.1497 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.1514 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@100459.1545 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.1559 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@100459.1583 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@100459.1648 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241021@100459.1661 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.1677 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241021@100459.1692 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67161853526716193b26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241021@100459.1879 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.1896 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241021@100459.1934 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241021@100459.1952 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241021@100459.1965 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241021@100459.1977 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241021@100459.1989 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241021@100459.2002 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241021@100459.2014 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67161853526716193b26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241021@100459.2264 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 fno valor from wsftdata order by fno desc
20241021@100459.2290 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.2306 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241021@100459.2339 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 'normal' from dummy
20241021@100459.2356 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67161853526716193b26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1386,102477,0,'2024-10-21',39,'euro',0,0,2024 ,?,?)
20241021@100459.2670 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.2673 ghfnmv4v3ahc2fbgmspenv1r14 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241021@100459.2699 ghfnmv4v3ahc2fbgmspenv1r14 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.1824.00.1'
20241021@100459.2832 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.2849 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@100459.2878 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.2905 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@100459.2915 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@100459.2928 ghfnmv4v3ahc2fbgmspenv1r14 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400215200a'
20241021@100459.2951 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.2966 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@100459.2978 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67161569286716193b48','aut67161853526716193b26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@100459.2983 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.2998 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@100459.3026 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut67161569286716193b48',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67161853526716193b26' ,0,0 ,2,23.00,10000,?,?,?,?)
20241021@100459.3299 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.3436 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@100459.3544 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.3559 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@100459.3569 ghfnmv4v3ahc2fbgmspenv1r14 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241021@100459.3593 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.3608 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241021@100459.3620 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67161534276716193b57','aut67161853526716193b26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241021@100459.3624 ghfnmv4v3ahc2fbgmspenv1r14 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241021@100459.3638 ghfnmv4v3ahc2fbgmspenv1r14 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241021@100459.3666 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67161534276716193b57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67161853526716193b26' ,0,0 ,2,23.00,20000,?,?,?)
20241021@100459.3940 ghfnmv4v3ahc2fbgmspenv1r14 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67161853526716193b26','2406885','wait',39,'adm09112754980.682000002')
20241021@100459.5166 ghfnmv4v3ahc2fbgmspenv1r14 Query : use flama_phc
20241021@100459.5169 ghfnmv4v3ahc2fbgmspenv1r14 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241021@100459.5202 ghfnmv4v3ahc2fbgmspenv1r14 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2793';
20241021@100459.5236 ghfnmv4v3ahc2fbgmspenv1r14 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2793';
20241021@100459.5279 ghfnmv4v3ahc2fbgmspenv1r14 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2793';
20241021@100459.5314 ghfnmv4v3ahc2fbgmspenv1r14 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2793';

20241021@174811.6106 r1lgdj11vehlcq2963gf8723da Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2794';
20241021@174811.6213 r1lgdj11vehlcq2963gf8723da Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2794';
20241021@174811.6275 r1lgdj11vehlcq2963gf8723da Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2794';
20241021@174811.6384 r1lgdj11vehlcq2963gf8723da Query : use flama_phc
20241021@174811.6387 r1lgdj11vehlcq2963gf8723da Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241021@174811.6636 r1lgdj11vehlcq2963gf8723da Query : use flama_phc
20241021@174811.6640 r1lgdj11vehlcq2963gf8723da Query : select no, estab,szadrsdesc from szadrs where u_coddest=2427
20241021@174811.6726 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20241021@174811.6924 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.1608.00.1' and bi.lordem =1
20241021@174811.7269 r1lgdj11vehlcq2963gf8723da 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'
20241021@174811.7382 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.5342.00.1' and bi.lordem =2
20241021@174811.7673 r1lgdj11vehlcq2963gf8723da 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'
20241021@174811.7792 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.5396.00.1' and bi.lordem =3
20241021@174811.8083 r1lgdj11vehlcq2963gf8723da 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'
20241021@174811.8112 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.5396.00.1' and bi.lordem =3
20241021@174811.8130 r1lgdj11vehlcq2963gf8723da 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'
20241021@174811.8293 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='304.4320.00.1' and bi.lordem =4
20241021@174811.8606 r1lgdj11vehlcq2963gf8723da 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'
20241021@174811.8736 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='304.422.00.07' and bi.lordem =5
20241021@174811.9027 r1lgdj11vehlcq2963gf8723da 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'
20241021@174811.9049 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='304.422.00.07' and bi.lordem =5
20241021@174811.9066 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241021@174811.9179 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2223.00.1' and bi.lordem =6
20241021@174811.9478 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241021@174811.9499 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2223.00.1' and bi.lordem =6
20241021@174811.9516 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241021@174811.9637 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2222.00.1' and bi.lordem =7
20241021@174811.9964 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241021@174811.9985 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2222.00.1' and bi.lordem =7
20241021@174812.4000 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241021@174812.1240 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2221.00.1' and bi.lordem =8
20241021@174812.4160 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241021@174812.4740 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2221.00.1' and bi.lordem =8
20241021@174812.5290 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241021@174812.8410 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2224.00.1' and bi.lordem =9
20241021@174812.1352 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20241021@174812.1503 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2232.00.1' and bi.lordem =10
20241021@174812.3557 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20241021@174812.3579 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.2232.00.1' and bi.lordem =10
20241021@174812.3596 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241021@174812.3724 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.4964.00.1' and bi.lordem =11
20241021@174812.4033 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20241021@174812.4148 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.4962.00.1' and bi.lordem =12
20241021@174812.4489 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20241021@174812.4605 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.4990.00.1' and bi.lordem =13
20241021@174812.4911 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241021@174812.5034 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.1642.00.2' and bi.lordem =14
20241021@174812.5326 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241021@174812.5346 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.1642.00.2' and bi.lordem =14
20241021@174812.5363 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241021@174812.5480 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.1578.00.1' and bi.lordem =15
20241021@174812.5767 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241021@174812.5796 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.1578.00.1' and bi.lordem =15
20241021@174812.5813 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20241021@174812.5924 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.1293.00.1' and bi.lordem =16
20241021@174812.6219 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20241021@174812.6340 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.698.00.01' and bi.lordem =17
20241021@174812.6744 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20241021@174812.6774 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.698.00.01' and bi.lordem =17
20241021@174812.6830 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20241021@174812.6878 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.698.00.01' and bi.lordem =17
20241021@174812.6895 r1lgdj11vehlcq2963gf8723da Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241021@174812.7030 r1lgdj11vehlcq2963gf8723da Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2067 and bo.obrano = 2406720 and bi.ref ='324.1834.00.1' and bi.lordem =18
