20250110@114658.9822 8s0ajcob01np0r7a5qh7pfn31f Query : use flama_phc
20250110@114658.9825 8s0ajcob01np0r7a5qh7pfn31f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@114658.9874 8s0ajcob01np0r7a5qh7pfn31f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4471';
20250110@114658.9915 8s0ajcob01np0r7a5qh7pfn31f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4471';

20250110@135717.3572 foj9bfib7hggu95nd0pbua8api Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4472';
20250110@135717.3815 foj9bfib7hggu95nd0pbua8api Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4472';
20250110@135717.3891 foj9bfib7hggu95nd0pbua8api Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4472';
20250110@135717.3959 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.3962 foj9bfib7hggu95nd0pbua8api Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135717.4076 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.4080 foj9bfib7hggu95nd0pbua8api Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20250110@135717.4177 foj9bfib7hggu95nd0pbua8api 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'
20250110@135717.4322 foj9bfib7hggu95nd0pbua8api Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500243 and bi.ref ='304.422.00.07' and bi.lordem =1
20250110@135717.4632 foj9bfib7hggu95nd0pbua8api 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'
20250110@135717.4777 foj9bfib7hggu95nd0pbua8api Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500243 and bi.ref ='304.421.00.04' and bi.lordem =2
20250110@135717.5073 foj9bfib7hggu95nd0pbua8api 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'
20250110@135717.5093 foj9bfib7hggu95nd0pbua8api Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500243 and bi.ref ='304.421.00.04' and bi.lordem =2
20250110@135717.5111 foj9bfib7hggu95nd0pbua8api Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20250110@135717.5261 foj9bfib7hggu95nd0pbua8api Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500243 and bi.ref ='324.4960.00.1' and bi.lordem =3
20250110@135717.5688 foj9bfib7hggu95nd0pbua8api Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20250110@135717.5844 foj9bfib7hggu95nd0pbua8api Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500243 and bi.ref ='324.4840.00.1' and bi.lordem =4
20250110@135717.6157 foj9bfib7hggu95nd0pbua8api 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'
20250110@135717.6314 foj9bfib7hggu95nd0pbua8api Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500243 and bi.ref ='324.4980.00.1' and bi.lordem =5
20250110@135717.6625 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.6629 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135717.6815 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.6818 foj9bfib7hggu95nd0pbua8api Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135717.6907 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.6910 foj9bfib7hggu95nd0pbua8api 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')
20250110@135717.6982 foj9bfib7hggu95nd0pbua8api 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
20250110@135717.7114 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.7118 foj9bfib7hggu95nd0pbua8api Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20250110@135717.7243 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.7246 foj9bfib7hggu95nd0pbua8api Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135717.7342 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.7345 foj9bfib7hggu95nd0pbua8api Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135717.7419 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.7422 foj9bfib7hggu95nd0pbua8api Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20250110@135717.7470 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135717.7474 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from td where ndoc = 39
20250110@135717.7761 foj9bfib7hggu95nd0pbua8api Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135717.7986 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135717.8773 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135717.8887 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135717.8939 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135717.9173 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135717.9190 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135717.9204 foj9bfib7hggu95nd0pbua8api Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135717.9435 foj9bfib7hggu95nd0pbua8api Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135717.9526 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135717.9543 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135717.9561 foj9bfib7hggu95nd0pbua8api Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135718.6300 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.8200 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135718.1190 foj9bfib7hggu95nd0pbua8api Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135718.2120 foj9bfib7hggu95nd0pbua8api Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135718.3290 foj9bfib7hggu95nd0pbua8api Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135718.4070 foj9bfib7hggu95nd0pbua8api Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135718.6910 foj9bfib7hggu95nd0pbua8api Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135718.7860 foj9bfib7hggu95nd0pbua8api Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135718.8510 foj9bfib7hggu95nd0pbua8api Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812785496781273de0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135718.1647 foj9bfib7hggu95nd0pbua8api Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135718.1757 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.1774 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135718.1800 foj9bfib7hggu95nd0pbua8api Query : select 'normal' from dummy
20250110@135718.1849 foj9bfib7hggu95nd0pbua8api Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812785496781273de0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2905,101900,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135718.2319 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135718.2323 foj9bfib7hggu95nd0pbua8api Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20250110@135718.2351 foj9bfib7hggu95nd0pbua8api Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20250110@135718.2494 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.2512 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.2542 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.2588 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.2598 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135718.2648 foj9bfib7hggu95nd0pbua8api Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241228'
20250110@135718.2675 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.2691 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.2707 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812213886781273e41','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135718.2775 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.2793 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.2825 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812213886781273e41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67812785496781273de0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135718.3437 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135718.3440 foj9bfib7hggu95nd0pbua8api Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20250110@135718.3464 foj9bfib7hggu95nd0pbua8api 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'
20250110@135718.3610 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.3628 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.3655 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.3671 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.3680 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135718.3692 foj9bfib7hggu95nd0pbua8api Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '242059'
20250110@135718.3707 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.3722 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.3734 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812993826781273e5a','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135718.3738 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.3752 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.3783 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812993826781273e5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67812785496781273de0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250110@135718.4054 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.4071 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.4098 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.4144 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.4154 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135718.4167 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.4182 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.4193 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812403976781273e65','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135718.4199 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.4213 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.4241 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812403976781273e65',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812785496781273de0' ,0,0 ,2,23.00,30000,?,?,?)
20250110@135718.4503 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135718.4506 foj9bfib7hggu95nd0pbua8api Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20250110@135718.4532 foj9bfib7hggu95nd0pbua8api 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'
20250110@135718.4575 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.4814 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.4951 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.4969 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.4977 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135718.4989 foj9bfib7hggu95nd0pbua8api Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '242059'
20250110@135718.5001 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.5016 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.5030 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812892256781273e7a','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135718.5034 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.5048 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.5076 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812892256781273e7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut67812785496781273de0' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250110@135718.5344 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.5360 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.5387 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.5464 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.5513 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135718.5656 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.5739 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.5751 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812418356781273e8a','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135718.5755 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.5771 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.5798 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812418356781273e8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812785496781273de0' ,0,0 ,2,23.00,60000,?,?,?)
20250110@135718.6047 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135718.6051 foj9bfib7hggu95nd0pbua8api Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20250110@135718.6364 foj9bfib7hggu95nd0pbua8api 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.4960.00.1'
20250110@135718.6617 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.6632 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.6655 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.6671 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.6679 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135718.6691 foj9bfib7hggu95nd0pbua8api Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20250110@135718.6704 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.6719 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.6730 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812356306781273ea3','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135718.6734 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.6747 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.7139 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812356306781273ea3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67812785496781273de0' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250110@135718.8301 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135718.8514 foj9bfib7hggu95nd0pbua8api Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20250110@135718.8848 foj9bfib7hggu95nd0pbua8api 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.4840.00.1'
20250110@135718.8991 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.9009 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.9316 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.9333 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.9342 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135718.9355 foj9bfib7hggu95nd0pbua8api Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20250110@135718.9370 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.9385 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135718.9397 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812640996781273ee4','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135718.9402 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135718.9418 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135718.9447 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812640996781273ee4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67812785496781273de0' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20250110@135719.8300 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135719.1660 foj9bfib7hggu95nd0pbua8api Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250110@135719.7430 foj9bfib7hggu95nd0pbua8api 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'
20250110@135719.1088 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.1105 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.1163 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.1179 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.1189 foj9bfib7hggu95nd0pbua8api Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135719.1202 foj9bfib7hggu95nd0pbua8api Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250110@135719.1227 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.1243 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.1255 foj9bfib7hggu95nd0pbua8api Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812218636781273f1d','aut67812785496781273de0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135719.1260 foj9bfib7hggu95nd0pbua8api Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.1284 foj9bfib7hggu95nd0pbua8api Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.1328 foj9bfib7hggu95nd0pbua8api Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812218636781273f1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67812785496781273de0' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20250110@135719.1585 foj9bfib7hggu95nd0pbua8api Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812785496781273de0','2500243','wait',39,'adm09112754980.682000002')
20250110@135719.1686 foj9bfib7hggu95nd0pbua8api Query : use flama_phc
20250110@135719.1689 foj9bfib7hggu95nd0pbua8api Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135719.1749 foj9bfib7hggu95nd0pbua8api Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4472';
20250110@135719.1792 foj9bfib7hggu95nd0pbua8api Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4472';
20250110@135719.1848 foj9bfib7hggu95nd0pbua8api Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4472';
20250110@135719.1884 foj9bfib7hggu95nd0pbua8api Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4472';
20250110@135719.2452 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135719.2464 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135719.2562 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4473';
20250110@135719.2640 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4473';
20250110@135719.2715 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4473';
20250110@135719.2761 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4473';
20250110@135719.2848 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.2851 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135719.2925 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.2928 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20250110@135719.3029 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.3051 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500260 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250110@135719.3368 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.3391 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500260 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250110@135719.3410 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.3429 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500260 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250110@135719.3446 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.3467 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500260 and bi.ref ='324.4980.00.1' and bi.lordem =1
20250110@135719.3487 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3490 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135719.3531 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3535 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135719.3563 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3566 3b0jjvpr3mrr7uo7cfdb0fo2s9 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')
20250110@135719.3596 3b0jjvpr3mrr7uo7cfdb0fo2s9 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
20250110@135719.3633 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3636 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20250110@135719.3758 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3761 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135719.3794 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3797 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135719.3842 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3845 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20250110@135719.3894 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.3897 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from td where ndoc = 39
20250110@135719.3910 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135719.3925 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.3942 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135719.3962 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.3976 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135719.4038 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.4053 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135719.4066 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135719.4172 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135719.4185 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.4209 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135719.4225 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812157826781273f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135719.4459 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.4478 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135719.4512 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135719.4524 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135719.4536 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135719.4548 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135719.4560 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135719.4585 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135719.4596 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812157826781273f63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135719.4944 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135719.5092 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.5112 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135719.5136 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 'normal' from dummy
20250110@135719.5153 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812157826781273f63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2906,199510,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135719.5652 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.5655 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250110@135719.5679 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.5695 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.5714 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.5740 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.5756 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.5766 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135719.5778 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250110@135719.5791 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.5805 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.5818 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812039166781273f8d','aut67812157826781273f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135719.5823 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.5838 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.5869 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812039166781273f8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut67812157826781273f63' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135719.6141 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.6144 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250110@135719.6165 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.6180 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6198 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.6226 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6242 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.6252 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135719.6333 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250110@135719.6394 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6412 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.6425 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812043496781273f9c','aut67812157826781273f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135719.6444 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6459 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.6491 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812043496781273f9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut67812157826781273f63' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250110@135719.6757 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.6760 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250110@135719.6779 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.6792 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6807 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.6831 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6845 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.6853 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135719.6864 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250110@135719.6876 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6890 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.6901 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812760376781273fa7','aut67812157826781273f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135719.6906 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.6920 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.6948 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812760376781273fa7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut67812157826781273f63' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250110@135719.7295 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.7298 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250110@135719.7325 3b0jjvpr3mrr7uo7cfdb0fo2s9 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'
20250110@135719.7344 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.7359 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.7384 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.7398 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.7406 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135719.7417 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250110@135719.7429 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.7442 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135719.7453 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812295116781273fb5','aut67812157826781273f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135719.7458 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135719.7472 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135719.7498 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812295116781273fb5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut67812157826781273f63' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135719.7779 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812157826781273f63','2500260','wait',39,'adm09112754980.682000002')
20250110@135719.7918 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : use flama_phc
20250110@135719.7921 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135719.7989 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4473';
20250110@135719.8033 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4473';
20250110@135719.8087 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4473';
20250110@135719.8128 3b0jjvpr3mrr7uo7cfdb0fo2s9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4473';
20250110@135719.8750 uoevtaqn5md15cnv2j8glhvelp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135719.8762 uoevtaqn5md15cnv2j8glhvelp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135719.8833 uoevtaqn5md15cnv2j8glhvelp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4474';
20250110@135719.8895 uoevtaqn5md15cnv2j8glhvelp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4474';
20250110@135719.8964 uoevtaqn5md15cnv2j8glhvelp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4474';
20250110@135719.8995 uoevtaqn5md15cnv2j8glhvelp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4474';
20250110@135719.9054 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135719.9057 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135719.9139 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135719.9142 uoevtaqn5md15cnv2j8glhvelp Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20250110@135719.9230 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135719.9250 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500261 and bi.ref ='304.421.00.04' and bi.lordem =2
20250110@135719.9560 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135719.9581 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500261 and bi.ref ='304.421.00.04' and bi.lordem =2
20250110@135719.9599 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135719.9620 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500261 and bi.ref ='324.4980.00.1' and bi.lordem =4
20250110@135719.9919 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135719.9942 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500261 and bi.ref ='324.4980.00.1' and bi.lordem =4
20250110@135719.9959 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135719.9962 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135719.9997 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.0000 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135720.3400 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.3700 uoevtaqn5md15cnv2j8glhvelp 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')
20250110@135720.6600 uoevtaqn5md15cnv2j8glhvelp 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
20250110@135720.1030 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.1060 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20250110@135720.2260 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.2290 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135720.2600 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.2630 uoevtaqn5md15cnv2j8glhvelp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135720.3020 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.3050 uoevtaqn5md15cnv2j8glhvelp Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20250110@135720.3490 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.3520 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from td where ndoc = 39
20250110@135720.3640 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135720.3780 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3940 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135720.4210 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.4370 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135720.4710 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.4850 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135720.4980 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135720.6130 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135720.6260 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.6410 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135720.6560 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6781218092678127400c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135720.8360 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.8520 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135720.8860 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135720.8980 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135720.9100 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135720.9210 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135720.9330 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135720.9570 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135720.9680 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6781218092678127400c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135720.1216 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135720.1248 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.1264 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135720.1387 uoevtaqn5md15cnv2j8glhvelp Query : select 'normal' from dummy
20250110@135720.1402 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6781218092678127400c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2907,100327,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135720.1752 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.1755 uoevtaqn5md15cnv2j8glhvelp Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20250110@135720.1793 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135720.1808 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.1825 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.1853 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.1869 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.1880 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135720.1892 uoevtaqn5md15cnv2j8glhvelp Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '242059'
20250110@135720.1905 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.1920 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.1933 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781267554678127402e','aut6781218092678127400c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135720.1937 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.1951 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.1978 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781267554678127402e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6781218092678127400c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135720.2242 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2259 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.2284 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2298 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.2306 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135720.2319 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2334 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.2347 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812599546781274038','aut6781218092678127400c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135720.2352 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2367 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.2397 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812599546781274038',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6781218092678127400c' ,0,0 ,2,23.00,20000,?,?,?)
20250110@135720.2713 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.2716 uoevtaqn5md15cnv2j8glhvelp Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20250110@135720.2736 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135720.2750 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2766 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.2791 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2805 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.2814 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135720.2827 uoevtaqn5md15cnv2j8glhvelp Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '242059'
20250110@135720.2839 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2853 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.2865 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812647126781274045','aut6781218092678127400c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135720.2869 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.2883 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.2910 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812647126781274045',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6781218092678127400c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135720.3256 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3273 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.3338 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3378 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.3391 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135720.3403 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3419 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.3430 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812154236781274053','aut6781218092678127400c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135720.3435 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3472 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.3522 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812154236781274053',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6781218092678127400c' ,0,0 ,2,23.00,50000,?,?,?)
20250110@135720.3788 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.3791 uoevtaqn5md15cnv2j8glhvelp Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250110@135720.3825 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135720.3839 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3855 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.3882 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3897 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.3905 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135720.3918 uoevtaqn5md15cnv2j8glhvelp Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250110@135720.3931 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3962 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.3974 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781211944678127405f','aut6781218092678127400c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135720.3978 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.3993 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.4022 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781211944678127405f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6781218092678127400c' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250110@135720.4303 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.4307 uoevtaqn5md15cnv2j8glhvelp Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250110@135720.4329 uoevtaqn5md15cnv2j8glhvelp 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'
20250110@135720.4345 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.4362 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.4388 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.4403 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.4412 uoevtaqn5md15cnv2j8glhvelp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135720.4424 uoevtaqn5md15cnv2j8glhvelp Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250110@135720.4529 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.4548 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135720.4561 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781208033678127406e','aut6781218092678127400c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135720.4566 uoevtaqn5md15cnv2j8glhvelp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135720.4582 uoevtaqn5md15cnv2j8glhvelp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135720.4612 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781208033678127406e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6781218092678127400c' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250110@135720.5000 uoevtaqn5md15cnv2j8glhvelp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6781218092678127400c','2500261','wait',39,'adm09112754980.682000002')
20250110@135720.5078 uoevtaqn5md15cnv2j8glhvelp Query : use flama_phc
20250110@135720.5082 uoevtaqn5md15cnv2j8glhvelp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135720.5114 uoevtaqn5md15cnv2j8glhvelp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4474';
20250110@135720.5160 uoevtaqn5md15cnv2j8glhvelp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4474';
20250110@135720.5211 uoevtaqn5md15cnv2j8glhvelp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4474';
20250110@135720.5264 uoevtaqn5md15cnv2j8glhvelp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4474';
20250110@135720.5945 q91hc87pphv8rr06ab5p8urhqg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135720.5956 q91hc87pphv8rr06ab5p8urhqg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135720.6036 q91hc87pphv8rr06ab5p8urhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4475';
20250110@135720.6105 q91hc87pphv8rr06ab5p8urhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4475';
20250110@135720.6171 q91hc87pphv8rr06ab5p8urhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4475';
20250110@135720.6209 q91hc87pphv8rr06ab5p8urhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4475';
20250110@135720.6284 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135720.6288 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135720.6353 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135720.6356 q91hc87pphv8rr06ab5p8urhqg Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20250110@135720.6446 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250110@135720.7678 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500263 and bi.ref ='324.600.94.01' and bi.lordem =1
20250110@135720.8072 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20250110@135720.8215 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500263 and bi.ref ='324.2000.94.1' and bi.lordem =2
20250110@135720.8536 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20250110@135720.8685 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500263 and bi.ref ='324.900.94.01' and bi.lordem =3
20250110@135720.9166 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20250110@135720.9311 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500263 and bi.ref ='324.900.94.01' and bi.lordem =3
20250110@135720.9334 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20250110@135720.9559 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500263 and bi.ref ='324.700.94.01' and bi.lordem =4
20250110@135720.9891 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20250110@135721.4400 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500263 and bi.ref ='324.2200.94.1' and bi.lordem =5
20250110@135721.3530 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.3560 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135721.4220 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.4250 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135721.5130 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.5160 q91hc87pphv8rr06ab5p8urhqg 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')
20250110@135721.5470 q91hc87pphv8rr06ab5p8urhqg 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
20250110@135721.5840 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.5870 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20250110@135721.7090 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.7130 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135721.7500 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.7530 q91hc87pphv8rr06ab5p8urhqg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135721.7980 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.8010 q91hc87pphv8rr06ab5p8urhqg Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20250110@135721.8470 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.8500 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from td where ndoc = 39
20250110@135721.8640 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135721.8780 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.8970 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135721.9170 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.9330 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135721.9630 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.9790 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135721.9920 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135721.1099 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135721.1113 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.1130 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135721.1147 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135721.1324 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.1342 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135721.1378 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135721.1390 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135721.1403 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135721.1416 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135721.1429 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135721.1443 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135721.1456 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812418756781274118',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135721.1711 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135721.1744 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.1761 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135721.1785 q91hc87pphv8rr06ab5p8urhqg Query : select 'normal' from dummy
20250110@135721.1801 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812418756781274118',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2908,199800,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135721.2178 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.2181 q91hc87pphv8rr06ab5p8urhqg Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20250110@135721.2254 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20250110@135721.2406 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.2425 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.2451 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.2467 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.2476 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135721.2489 q91hc87pphv8rr06ab5p8urhqg Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400295200a'
20250110@135721.2514 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.2530 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.2541 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781218618678127413d','aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135721.2546 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.2561 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.2593 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781218618678127413d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67812418756781274118' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135721.2907 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.2926 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.2970 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.2988 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.2998 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135721.3011 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.3030 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.3044 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812937426781274149','aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135721.3049 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.3072 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.3105 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812937426781274149',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812418756781274118' ,0,0 ,2,23.00,20000,?,?,?)
20250110@135721.3367 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.3371 q91hc87pphv8rr06ab5p8urhqg Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20250110@135721.3395 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20250110@135721.3574 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.3594 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.3743 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.3760 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.3771 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135721.3784 q91hc87pphv8rr06ab5p8urhqg Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2400330200a'
20250110@135721.3803 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.3819 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.3830 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781234239678127415c','aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135721.3835 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.3849 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.3879 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781234239678127415c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67812418756781274118' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135721.4140 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.4143 q91hc87pphv8rr06ab5p8urhqg Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20250110@135721.4165 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20250110@135721.4309 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4326 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.4353 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4370 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.4379 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135721.4391 q91hc87pphv8rr06ab5p8urhqg Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20250110@135721.4406 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4421 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.4433 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781280427678127416b','aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135721.4437 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4452 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.4481 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781280427678127416b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut67812418756781274118' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250110@135721.4744 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.4747 q91hc87pphv8rr06ab5p8urhqg Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20250110@135721.4768 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20250110@135721.4782 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4799 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.4828 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4845 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.4854 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135721.4868 q91hc87pphv8rr06ab5p8urhqg Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20250110@135721.4881 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4897 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.4910 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812094716781274177','aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135721.4915 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.4948 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.4997 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812094716781274177',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67812418756781274118' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20250110@135721.5286 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.5289 q91hc87pphv8rr06ab5p8urhqg Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20250110@135721.5310 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20250110@135721.5446 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.5461 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.5488 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.5502 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.5511 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135721.5525 q91hc87pphv8rr06ab5p8urhqg Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2301222200a'
20250110@135721.5539 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.5553 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.5565 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812167846781274187','aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135721.5569 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.5582 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.5610 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812167846781274187',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67812418756781274118' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250110@135721.5878 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.5883 q91hc87pphv8rr06ab5p8urhqg Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20250110@135721.5903 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20250110@135721.6046 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.6064 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.6093 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.6107 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.6115 q91hc87pphv8rr06ab5p8urhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135721.6128 q91hc87pphv8rr06ab5p8urhqg Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400293100a'
20250110@135721.6141 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.6156 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135721.6168 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812922706781274195','aut67812418756781274118' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135721.6172 q91hc87pphv8rr06ab5p8urhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.6186 q91hc87pphv8rr06ab5p8urhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135721.6214 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812922706781274195',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut67812418756781274118' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250110@135721.6480 q91hc87pphv8rr06ab5p8urhqg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812418756781274118','2500263','wait',39,'adm09112754980.682000002')
20250110@135721.6563 q91hc87pphv8rr06ab5p8urhqg Query : use flama_phc
20250110@135721.6566 q91hc87pphv8rr06ab5p8urhqg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135721.6604 q91hc87pphv8rr06ab5p8urhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4475';
20250110@135721.6651 q91hc87pphv8rr06ab5p8urhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4475';
20250110@135721.6714 q91hc87pphv8rr06ab5p8urhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4475';
20250110@135721.6754 q91hc87pphv8rr06ab5p8urhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4475';
20250110@135721.7554 7faven6pvfsj62k29ro9835o5t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135721.7565 7faven6pvfsj62k29ro9835o5t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135721.7641 7faven6pvfsj62k29ro9835o5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4476';
20250110@135721.7720 7faven6pvfsj62k29ro9835o5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4476';
20250110@135721.7783 7faven6pvfsj62k29ro9835o5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4476';
20250110@135721.7821 7faven6pvfsj62k29ro9835o5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4476';
20250110@135721.7892 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.7896 7faven6pvfsj62k29ro9835o5t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135721.7968 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.7972 7faven6pvfsj62k29ro9835o5t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135721.8067 7faven6pvfsj62k29ro9835o5t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20250110@135721.8232 7faven6pvfsj62k29ro9835o5t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500264 and bi.ref ='324.679.00.01' and bi.lordem =1
20250110@135721.8584 7faven6pvfsj62k29ro9835o5t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20250110@135721.8611 7faven6pvfsj62k29ro9835o5t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500264 and bi.ref ='324.679.00.01' and bi.lordem =1
20250110@135721.8630 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.8633 7faven6pvfsj62k29ro9835o5t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135721.8706 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.8712 7faven6pvfsj62k29ro9835o5t Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135721.8918 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.8922 7faven6pvfsj62k29ro9835o5t 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')
20250110@135721.8955 7faven6pvfsj62k29ro9835o5t 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
20250110@135721.9026 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.9033 7faven6pvfsj62k29ro9835o5t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135721.9172 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.9176 7faven6pvfsj62k29ro9835o5t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135721.9219 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.9223 7faven6pvfsj62k29ro9835o5t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135721.9267 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.9270 7faven6pvfsj62k29ro9835o5t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135721.9319 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135721.9322 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from td where ndoc = 39
20250110@135721.9336 7faven6pvfsj62k29ro9835o5t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135721.9352 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.9371 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135721.9393 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.9409 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135721.9442 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135721.9460 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135721.9474 7faven6pvfsj62k29ro9835o5t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135722.8170 7faven6pvfsj62k29ro9835o5t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135722.8340 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.8940 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135722.9130 7faven6pvfsj62k29ro9835o5t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut678126391267812741e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135722.1172 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.1195 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135722.1237 7faven6pvfsj62k29ro9835o5t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135722.1250 7faven6pvfsj62k29ro9835o5t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135722.1263 7faven6pvfsj62k29ro9835o5t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135722.1276 7faven6pvfsj62k29ro9835o5t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135722.1322 7faven6pvfsj62k29ro9835o5t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135722.1337 7faven6pvfsj62k29ro9835o5t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135722.1351 7faven6pvfsj62k29ro9835o5t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut678126391267812741e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135722.1735 7faven6pvfsj62k29ro9835o5t Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135722.1818 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.1836 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135722.1904 7faven6pvfsj62k29ro9835o5t Query : select 'normal' from dummy
20250110@135722.1921 7faven6pvfsj62k29ro9835o5t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut678126391267812741e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2909,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135722.2237 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135722.2241 7faven6pvfsj62k29ro9835o5t Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20250110@135722.2271 7faven6pvfsj62k29ro9835o5t 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.679.00.01'
20250110@135722.2425 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.2441 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.2467 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.2482 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.2492 7faven6pvfsj62k29ro9835o5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135722.2504 7faven6pvfsj62k29ro9835o5t Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400685200a'
20250110@135722.2519 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.2536 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.2547 7faven6pvfsj62k29ro9835o5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781227507678127423d','aut678126391267812741e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135722.2551 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.2566 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.2595 7faven6pvfsj62k29ro9835o5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781227507678127423d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut678126391267812741e7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135722.2867 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.2884 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.2914 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.2930 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.2940 7faven6pvfsj62k29ro9835o5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135722.2954 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.2971 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.2984 7faven6pvfsj62k29ro9835o5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812205006781274248','aut678126391267812741e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135722.2989 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.3005 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.3038 7faven6pvfsj62k29ro9835o5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812205006781274248',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678126391267812741e7' ,0,0 ,2,23.00,20000,?,?,?)
20250110@135722.3348 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135722.3351 7faven6pvfsj62k29ro9835o5t Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20250110@135722.3373 7faven6pvfsj62k29ro9835o5t 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.679.00.01'
20250110@135722.3390 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.3410 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.3452 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.3469 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.3478 7faven6pvfsj62k29ro9835o5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135722.3491 7faven6pvfsj62k29ro9835o5t Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400685200a'
20250110@135722.3507 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.3522 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.3571 7faven6pvfsj62k29ro9835o5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812523436781274255','aut678126391267812741e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135722.3577 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.3593 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.3626 7faven6pvfsj62k29ro9835o5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812523436781274255',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut678126391267812741e7' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135722.3909 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.3927 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.3957 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.3973 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.3982 7faven6pvfsj62k29ro9835o5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135722.3996 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.4011 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.4024 7faven6pvfsj62k29ro9835o5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812819476781274261','aut678126391267812741e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135722.4028 7faven6pvfsj62k29ro9835o5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.4043 7faven6pvfsj62k29ro9835o5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.4077 7faven6pvfsj62k29ro9835o5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812819476781274261',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678126391267812741e7' ,0,0 ,2,23.00,50000,?,?,?)
20250110@135722.4337 7faven6pvfsj62k29ro9835o5t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut678126391267812741e7','2500264','wait',39,'adm09112754980.682000002')
20250110@135722.4416 7faven6pvfsj62k29ro9835o5t Query : use flama_phc
20250110@135722.4419 7faven6pvfsj62k29ro9835o5t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135722.4456 7faven6pvfsj62k29ro9835o5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4476';
20250110@135722.4501 7faven6pvfsj62k29ro9835o5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4476';
20250110@135722.4559 7faven6pvfsj62k29ro9835o5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4476';
20250110@135722.4593 7faven6pvfsj62k29ro9835o5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4476';
20250110@135722.6368 4iljuktt01o4iqve9n7qnuuh8d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135722.6379 4iljuktt01o4iqve9n7qnuuh8d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135722.6493 4iljuktt01o4iqve9n7qnuuh8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4477';
20250110@135722.6569 4iljuktt01o4iqve9n7qnuuh8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4477';
20250110@135722.6643 4iljuktt01o4iqve9n7qnuuh8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4477';
20250110@135722.6686 4iljuktt01o4iqve9n7qnuuh8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4477';
20250110@135722.6752 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.6755 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135722.6815 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.6818 4iljuktt01o4iqve9n7qnuuh8d Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135722.6864 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20250110@135722.7019 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500265 and bi.ref ='324.1461.00.1' and bi.lordem =1
20250110@135722.7385 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20250110@135722.7405 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500265 and bi.ref ='324.1461.00.1' and bi.lordem =1
20250110@135722.7423 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7427 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135722.7463 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7466 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135722.7496 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7499 4iljuktt01o4iqve9n7qnuuh8d 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')
20250110@135722.7531 4iljuktt01o4iqve9n7qnuuh8d 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
20250110@135722.7566 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7569 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135722.7601 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7604 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135722.7638 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7641 4iljuktt01o4iqve9n7qnuuh8d Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135722.7680 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7682 4iljuktt01o4iqve9n7qnuuh8d Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135722.7726 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.7729 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from td where ndoc = 39
20250110@135722.7740 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135722.7753 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.7769 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135722.7789 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.7804 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135722.7978 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.7994 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135722.8007 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135722.8128 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135722.8141 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.8158 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135722.8174 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut678128984267812742c3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135722.8406 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.8426 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135722.8460 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135722.8473 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135722.8485 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135722.8497 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135722.8509 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135722.8521 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135722.8533 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut678128984267812742c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135722.8795 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135722.8828 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.8845 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135722.8921 4iljuktt01o4iqve9n7qnuuh8d Query : select 'normal' from dummy
20250110@135722.8974 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut678128984267812742c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2910,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135722.9425 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135722.9428 4iljuktt01o4iqve9n7qnuuh8d Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20250110@135722.9449 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20250110@135722.9586 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.9601 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.9627 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.9644 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.9652 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135722.9667 4iljuktt01o4iqve9n7qnuuh8d Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20250110@135722.9682 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.9698 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135722.9710 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678128831067812742ec','aut678128984267812742c3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135722.9714 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135722.9728 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135722.9759 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut678128831067812742ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut678128984267812742c3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135723.2090 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135723.2130 4iljuktt01o4iqve9n7qnuuh8d Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20250110@135723.2870 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20250110@135723.3280 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.3460 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135723.3730 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.3890 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135723.3980 4iljuktt01o4iqve9n7qnuuh8d Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135723.4950 4iljuktt01o4iqve9n7qnuuh8d Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20250110@135723.5170 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5380 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135723.5510 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781200380678127430c','aut678128984267812742c3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135723.5550 4iljuktt01o4iqve9n7qnuuh8d Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5750 4iljuktt01o4iqve9n7qnuuh8d Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135723.6050 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781200380678127430c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut678128984267812742c3' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250110@135723.8820 4iljuktt01o4iqve9n7qnuuh8d Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut678128984267812742c3','2500265','wait',39,'adm09112754980.682000002')
20250110@135723.9540 4iljuktt01o4iqve9n7qnuuh8d Query : use flama_phc
20250110@135723.9570 4iljuktt01o4iqve9n7qnuuh8d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135723.9890 4iljuktt01o4iqve9n7qnuuh8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4477';
20250110@135723.1032 4iljuktt01o4iqve9n7qnuuh8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4477';
20250110@135723.1090 4iljuktt01o4iqve9n7qnuuh8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4477';
20250110@135723.1125 4iljuktt01o4iqve9n7qnuuh8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4477';
20250110@135723.1635 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135723.1646 nq7gqcbfs92bl3upm6n2d6qktv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135723.1715 nq7gqcbfs92bl3upm6n2d6qktv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4478';
20250110@135723.1781 nq7gqcbfs92bl3upm6n2d6qktv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4478';
20250110@135723.1851 nq7gqcbfs92bl3upm6n2d6qktv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4478';
20250110@135723.1888 nq7gqcbfs92bl3upm6n2d6qktv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4478';
20250110@135723.1953 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.1956 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135723.2039 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2043 nq7gqcbfs92bl3upm6n2d6qktv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135723.2091 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20250110@135723.2112 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500266 and bi.ref ='324.4840.00.1' and bi.lordem =1
20250110@135723.2464 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20250110@135723.2485 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500266 and bi.ref ='324.4840.00.1' and bi.lordem =1
20250110@135723.2504 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2507 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135723.2541 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2544 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135723.2581 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2584 nq7gqcbfs92bl3upm6n2d6qktv 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')
20250110@135723.2613 nq7gqcbfs92bl3upm6n2d6qktv 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
20250110@135723.2652 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2655 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135723.2685 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2688 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135723.2720 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2723 nq7gqcbfs92bl3upm6n2d6qktv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135723.2771 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2774 nq7gqcbfs92bl3upm6n2d6qktv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135723.2822 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.2825 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from td where ndoc = 39
20250110@135723.2837 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135723.2851 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.2869 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135723.2889 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.2904 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135723.2934 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.2949 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135723.2963 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135723.3072 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135723.3085 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.3101 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135723.3117 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812971656781274348' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135723.3305 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.3324 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135723.3359 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135723.3372 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135723.3387 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135723.3400 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135723.3415 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135723.3429 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135723.3442 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812971656781274348',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135723.3696 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135723.3732 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.3748 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135723.3771 nq7gqcbfs92bl3upm6n2d6qktv Query : select 'normal' from dummy
20250110@135723.3787 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812971656781274348',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2911,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135723.4804 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.4845 nq7gqcbfs92bl3upm6n2d6qktv Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20250110@135723.5202 nq7gqcbfs92bl3upm6n2d6qktv 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.4840.00.1'
20250110@135723.5217 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5235 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135723.5263 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5318 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135723.5327 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135723.5339 nq7gqcbfs92bl3upm6n2d6qktv Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20250110@135723.5351 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5365 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135723.5378 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812744636781274382','aut67812971656781274348' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135723.5382 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5397 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135723.5428 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812744636781274382',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut67812971656781274348' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135723.5735 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.5739 nq7gqcbfs92bl3upm6n2d6qktv Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20250110@135723.5773 nq7gqcbfs92bl3upm6n2d6qktv 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.4840.00.1'
20250110@135723.5789 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5806 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135723.5834 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5876 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135723.5888 nq7gqcbfs92bl3upm6n2d6qktv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135723.5901 nq7gqcbfs92bl3upm6n2d6qktv Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20250110@135723.5917 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5933 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135723.5945 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812671316781274390','aut67812971656781274348' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135723.5950 nq7gqcbfs92bl3upm6n2d6qktv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.5965 nq7gqcbfs92bl3upm6n2d6qktv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135723.5995 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812671316781274390',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67812971656781274348' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250110@135723.6382 nq7gqcbfs92bl3upm6n2d6qktv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812971656781274348','2500266','wait',39,'adm09112754980.682000002')
20250110@135723.6458 nq7gqcbfs92bl3upm6n2d6qktv Query : use flama_phc
20250110@135723.6461 nq7gqcbfs92bl3upm6n2d6qktv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135723.6498 nq7gqcbfs92bl3upm6n2d6qktv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4478';
20250110@135723.6542 nq7gqcbfs92bl3upm6n2d6qktv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4478';
20250110@135723.6598 nq7gqcbfs92bl3upm6n2d6qktv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4478';
20250110@135723.6630 nq7gqcbfs92bl3upm6n2d6qktv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4478';
20250110@135723.8197 32ut88atnvdfarkrmk8biclus4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135723.8207 32ut88atnvdfarkrmk8biclus4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135723.8286 32ut88atnvdfarkrmk8biclus4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4479';
20250110@135723.8354 32ut88atnvdfarkrmk8biclus4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4479';
20250110@135723.8426 32ut88atnvdfarkrmk8biclus4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4479';
20250110@135723.8460 32ut88atnvdfarkrmk8biclus4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4479';
20250110@135723.8522 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.8525 32ut88atnvdfarkrmk8biclus4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135723.8590 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.8593 32ut88atnvdfarkrmk8biclus4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135723.8643 32ut88atnvdfarkrmk8biclus4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20250110@135723.8795 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500267 and bi.ref ='324.686.00.01' and bi.lordem =1
20250110@135723.9105 32ut88atnvdfarkrmk8biclus4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20250110@135723.9127 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500267 and bi.ref ='324.686.00.01' and bi.lordem =1
20250110@135723.9146 32ut88atnvdfarkrmk8biclus4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20250110@135723.9167 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500267 and bi.ref ='324.686.00.01' and bi.lordem =1
20250110@135723.9189 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9193 32ut88atnvdfarkrmk8biclus4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135723.9234 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9237 32ut88atnvdfarkrmk8biclus4 Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135723.9272 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9275 32ut88atnvdfarkrmk8biclus4 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')
20250110@135723.9303 32ut88atnvdfarkrmk8biclus4 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
20250110@135723.9342 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9345 32ut88atnvdfarkrmk8biclus4 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135723.9376 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9380 32ut88atnvdfarkrmk8biclus4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135723.9414 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9417 32ut88atnvdfarkrmk8biclus4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135723.9480 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9483 32ut88atnvdfarkrmk8biclus4 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135723.9533 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135723.9536 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from td where ndoc = 39
20250110@135723.9551 32ut88atnvdfarkrmk8biclus4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135723.9567 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.9585 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135723.9624 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.9645 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135723.9677 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.9693 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135723.9707 32ut88atnvdfarkrmk8biclus4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135723.9819 32ut88atnvdfarkrmk8biclus4 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135723.9833 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135723.9850 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135723.9866 32ut88atnvdfarkrmk8biclus4 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut678126901967812743ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135724.5600 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.7400 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135724.1350 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135724.1470 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135724.1610 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135724.1730 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135724.1840 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135724.1960 32ut88atnvdfarkrmk8biclus4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135724.2080 32ut88atnvdfarkrmk8biclus4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut678126901967812743ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135724.4930 32ut88atnvdfarkrmk8biclus4 Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135724.5260 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.5420 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135724.1428 32ut88atnvdfarkrmk8biclus4 Query : select 'normal' from dummy
20250110@135724.1444 32ut88atnvdfarkrmk8biclus4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut678126901967812743ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2912,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135724.1737 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135724.1741 32ut88atnvdfarkrmk8biclus4 Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20250110@135724.1767 32ut88atnvdfarkrmk8biclus4 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.686.00.01'
20250110@135724.2005 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2024 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.2054 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2070 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.2080 32ut88atnvdfarkrmk8biclus4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135724.2093 32ut88atnvdfarkrmk8biclus4 Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400405200a'
20250110@135724.2110 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2126 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.2140 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812637956781274433','aut678126901967812743ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135724.2144 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2159 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.2207 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812637956781274433',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut678126901967812743ec' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135724.2474 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2491 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.2519 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2535 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.2545 32ut88atnvdfarkrmk8biclus4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135724.2558 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2574 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.2587 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781291661678127443e','aut678126901967812743ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135724.2592 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.2651 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.2682 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6781291661678127443e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678126901967812743ec' ,0,0 ,2,23.00,20000,?,?,?)
20250110@135724.2940 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135724.2943 32ut88atnvdfarkrmk8biclus4 Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20250110@135724.2970 32ut88atnvdfarkrmk8biclus4 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.686.00.01'
20250110@135724.2991 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3007 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.3032 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3046 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.3055 32ut88atnvdfarkrmk8biclus4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135724.3068 32ut88atnvdfarkrmk8biclus4 Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400405200a'
20250110@135724.3081 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3095 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.3110 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781211668678127444b','aut678126901967812743ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135724.3114 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3129 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.3158 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781211668678127444b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut678126901967812743ec' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135724.3509 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3532 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.3573 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3590 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.3600 32ut88atnvdfarkrmk8biclus4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135724.3614 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3630 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.3644 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812648016781274458','aut678126901967812743ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135724.3649 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.3666 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.3697 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812648016781274458',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678126901967812743ec' ,0,0 ,2,23.00,50000,?,?,?)
20250110@135724.3984 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135724.3987 32ut88atnvdfarkrmk8biclus4 Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20250110@135724.4010 32ut88atnvdfarkrmk8biclus4 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.686.00.01'
20250110@135724.4026 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.4043 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.4070 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.4086 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.4095 32ut88atnvdfarkrmk8biclus4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135724.4108 32ut88atnvdfarkrmk8biclus4 Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400405200a'
20250110@135724.4122 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.4206 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.4221 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812563906781274464','aut678126901967812743ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135724.4226 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.4242 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.4272 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812563906781274464',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut678126901967812743ec' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250110@135724.5080 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.5752 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.5780 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.5796 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.5804 32ut88atnvdfarkrmk8biclus4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135724.5817 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.5832 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135724.5843 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781230170678127448e','aut678126901967812743ec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135724.5848 32ut88atnvdfarkrmk8biclus4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135724.5862 32ut88atnvdfarkrmk8biclus4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135724.5893 32ut88atnvdfarkrmk8biclus4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6781230170678127448e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678126901967812743ec' ,0,0 ,2,23.00,80000,?,?,?)
20250110@135724.6191 32ut88atnvdfarkrmk8biclus4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut678126901967812743ec','2500267','wait',39,'adm09112754980.682000002')
20250110@135724.6290 32ut88atnvdfarkrmk8biclus4 Query : use flama_phc
20250110@135724.6294 32ut88atnvdfarkrmk8biclus4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135724.6330 32ut88atnvdfarkrmk8biclus4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4479';
20250110@135724.6376 32ut88atnvdfarkrmk8biclus4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4479';
20250110@135724.6434 32ut88atnvdfarkrmk8biclus4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4479';
20250110@135724.6468 32ut88atnvdfarkrmk8biclus4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4479';
20250110@135724.6941 a557jmncsvjfcafaf89j6evkap Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135724.6952 a557jmncsvjfcafaf89j6evkap Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135724.7025 a557jmncsvjfcafaf89j6evkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4480';
20250110@135724.7181 a557jmncsvjfcafaf89j6evkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4480';
20250110@135724.7264 a557jmncsvjfcafaf89j6evkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4480';
20250110@135724.7308 a557jmncsvjfcafaf89j6evkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4480';
20250110@135724.7367 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135724.7371 a557jmncsvjfcafaf89j6evkap Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135724.7443 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135724.7446 a557jmncsvjfcafaf89j6evkap Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135724.7494 a557jmncsvjfcafaf89j6evkap Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20250110@135724.7654 a557jmncsvjfcafaf89j6evkap Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500268 and bi.ref ='324.4751.00.1' and bi.lordem =1
20250110@135724.7974 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135724.7977 a557jmncsvjfcafaf89j6evkap Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135724.8034 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135724.8037 a557jmncsvjfcafaf89j6evkap Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135724.8065 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135724.8068 a557jmncsvjfcafaf89j6evkap 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')
20250110@135724.8096 a557jmncsvjfcafaf89j6evkap 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
20250110@135724.8130 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135724.8132 a557jmncsvjfcafaf89j6evkap Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135724.8164 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135724.8167 a557jmncsvjfcafaf89j6evkap Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135725.1380 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135725.1440 a557jmncsvjfcafaf89j6evkap Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135725.1920 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135725.1950 a557jmncsvjfcafaf89j6evkap Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135725.2550 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135725.2580 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from td where ndoc = 39
20250110@135725.2740 a557jmncsvjfcafaf89j6evkap Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135725.2900 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.3060 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135725.3250 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.3390 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135725.3660 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.4100 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135725.4230 a557jmncsvjfcafaf89j6evkap Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135725.5310 a557jmncsvjfcafaf89j6evkap Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135725.5450 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.5680 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135725.5890 a557jmncsvjfcafaf89j6evkap Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6781249278678127450a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135725.7820 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.8030 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135725.8390 a557jmncsvjfcafaf89j6evkap Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135725.8510 a557jmncsvjfcafaf89j6evkap Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135725.8630 a557jmncsvjfcafaf89j6evkap Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135725.8750 a557jmncsvjfcafaf89j6evkap Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135725.8880 a557jmncsvjfcafaf89j6evkap Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135725.9000 a557jmncsvjfcafaf89j6evkap Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135725.9130 a557jmncsvjfcafaf89j6evkap Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6781249278678127450a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135725.1170 a557jmncsvjfcafaf89j6evkap Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135725.1204 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.1221 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135725.1244 a557jmncsvjfcafaf89j6evkap Query : select 'normal' from dummy
20250110@135725.1260 a557jmncsvjfcafaf89j6evkap Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6781249278678127450a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2913,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135725.1545 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135725.1549 a557jmncsvjfcafaf89j6evkap Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20250110@135725.1584 a557jmncsvjfcafaf89j6evkap Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20250110@135725.1751 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.1769 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135725.1796 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.1811 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135725.1819 a557jmncsvjfcafaf89j6evkap Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135725.1832 a557jmncsvjfcafaf89j6evkap Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20250110@135725.1846 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.1861 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135725.1873 a557jmncsvjfcafaf89j6evkap Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781266987678127452d','aut6781249278678127450a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135725.1878 a557jmncsvjfcafaf89j6evkap Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.1892 a557jmncsvjfcafaf89j6evkap Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135725.1921 a557jmncsvjfcafaf89j6evkap Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781266987678127452d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut6781249278678127450a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135725.2197 a557jmncsvjfcafaf89j6evkap Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6781249278678127450a','2500268','wait',39,'adm09112754980.682000002')
20250110@135725.2270 a557jmncsvjfcafaf89j6evkap Query : use flama_phc
20250110@135725.2273 a557jmncsvjfcafaf89j6evkap Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135725.2304 a557jmncsvjfcafaf89j6evkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4480';
20250110@135725.2351 a557jmncsvjfcafaf89j6evkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4480';
20250110@135725.2764 a557jmncsvjfcafaf89j6evkap Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4480';
20250110@135725.2954 a557jmncsvjfcafaf89j6evkap Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4480';
20250110@135725.3660 37gv4hnhamr58mkq0f7deumqgm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135725.3716 37gv4hnhamr58mkq0f7deumqgm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135725.3863 37gv4hnhamr58mkq0f7deumqgm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4481';
20250110@135725.4054 37gv4hnhamr58mkq0f7deumqgm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4481';
20250110@135725.4176 37gv4hnhamr58mkq0f7deumqgm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4481';
20250110@135725.4394 37gv4hnhamr58mkq0f7deumqgm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4481';
20250110@135725.4699 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.4703 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135725.4792 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.4795 37gv4hnhamr58mkq0f7deumqgm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135725.4848 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250110@135725.5130 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500269 and bi.ref ='324.675.00.01' and bi.lordem =1
20250110@135725.5479 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250110@135725.5554 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500269 and bi.ref ='324.675.00.01' and bi.lordem =1
20250110@135725.5632 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250110@135725.5698 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500269 and bi.ref ='324.675.00.01' and bi.lordem =1
20250110@135725.5754 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250110@135725.5796 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500269 and bi.ref ='324.675.00.01' and bi.lordem =1
20250110@135725.5831 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250110@135725.5889 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500269 and bi.ref ='324.675.00.01' and bi.lordem =1
20250110@135725.5941 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250110@135725.5998 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500269 and bi.ref ='324.675.00.01' and bi.lordem =1
20250110@135725.6080 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.6084 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135725.6373 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.6378 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135725.6591 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.6596 37gv4hnhamr58mkq0f7deumqgm 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')
20250110@135725.7190 37gv4hnhamr58mkq0f7deumqgm 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
20250110@135725.8133 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.8137 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135725.8232 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.8235 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135725.8334 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.8339 37gv4hnhamr58mkq0f7deumqgm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135725.8491 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.8496 37gv4hnhamr58mkq0f7deumqgm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135725.8672 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135725.8676 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from td where ndoc = 39
20250110@135725.8690 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135725.8706 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.8726 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135725.8749 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.8768 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135725.8800 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.8818 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135725.8832 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135725.9013 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135725.9028 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.9049 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135725.9067 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135725.9299 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.9321 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135725.9396 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135725.9410 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135725.9423 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135725.9436 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135725.9449 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135725.9461 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135725.9475 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut678122734667812745d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135725.9750 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135725.9787 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135725.9809 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135725.9849 37gv4hnhamr58mkq0f7deumqgm Query : select 'normal' from dummy
20250110@135725.9867 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut678122734667812745d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2914,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135726.2040 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135726.2080 37gv4hnhamr58mkq0f7deumqgm Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20250110@135726.8850 37gv4hnhamr58mkq0f7deumqgm 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.675.00.01'
20250110@135726.1434 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.1453 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.1497 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.1517 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.1527 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.1541 37gv4hnhamr58mkq0f7deumqgm Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400684200a'
20250110@135726.1557 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.1574 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.1587 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812477266781274626','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.1591 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.1607 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.1637 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812477266781274626',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut678122734667812745d7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135726.2159 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.2394 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.2423 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.2510 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.2519 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.2531 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.2581 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.2593 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781243188678127463d','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.2597 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.2615 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.2668 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6781243188678127463d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678122734667812745d7' ,0,0 ,2,23.00,20000,?,?,?)
20250110@135726.3121 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135726.3165 37gv4hnhamr58mkq0f7deumqgm Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20250110@135726.3217 37gv4hnhamr58mkq0f7deumqgm 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.675.00.01'
20250110@135726.3231 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.3276 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.3660 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.3680 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.3737 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.3873 37gv4hnhamr58mkq0f7deumqgm Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400684200a'
20250110@135726.3886 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.3903 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.3918 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781288260678127465e','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.3923 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.3940 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.3969 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781288260678127465e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut678122734667812745d7' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135726.4239 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.4255 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.4279 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.4319 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.4328 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.4340 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.4356 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.4367 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812668816781274669','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.4372 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.4388 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.4418 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812668816781274669',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678122734667812745d7' ,0,0 ,2,23.00,50000,?,?,?)
20250110@135726.4813 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135726.4817 37gv4hnhamr58mkq0f7deumqgm Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20250110@135726.4838 37gv4hnhamr58mkq0f7deumqgm 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.675.00.01'
20250110@135726.4853 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.4871 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.4898 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.4914 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.4922 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.4935 37gv4hnhamr58mkq0f7deumqgm Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400684200a'
20250110@135726.4983 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.6017 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.6261 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812046116781274679','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.6266 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.6282 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.6308 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812046116781274679',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut678122734667812745d7' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250110@135726.6634 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.6657 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.6681 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.6695 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.6704 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.6717 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.6733 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.6744 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678124225667812746a3','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.6749 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.6764 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.6793 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut678124225667812746a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678122734667812745d7' ,0,0 ,2,23.00,80000,?,?,?)
20250110@135726.7066 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135726.7069 37gv4hnhamr58mkq0f7deumqgm Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20250110@135726.7090 37gv4hnhamr58mkq0f7deumqgm 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.675.00.01'
20250110@135726.7106 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7124 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.7155 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7171 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.7180 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.7192 37gv4hnhamr58mkq0f7deumqgm Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400684200a'
20250110@135726.7205 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7222 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.7235 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678120711367812746af','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.7239 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7253 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.7280 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut678120711367812746af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut678122734667812745d7' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20250110@135726.7602 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7618 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.7643 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7657 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.7665 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.7677 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7691 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.7733 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678129280467812746bb','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.7737 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.7752 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.7778 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut678129280467812746bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678122734667812745d7' ,0,0 ,2,23.00,110000,?,?,?)
20250110@135726.8053 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135726.8057 37gv4hnhamr58mkq0f7deumqgm Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20250110@135726.8079 37gv4hnhamr58mkq0f7deumqgm 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.675.00.01'
20250110@135726.8096 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8115 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.8144 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8159 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.8168 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.8180 37gv4hnhamr58mkq0f7deumqgm Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400684200a'
20250110@135726.8192 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8207 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.8218 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678122562867812746c8','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.8223 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8238 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.8268 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut678122562867812746c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut678122734667812745d7' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20250110@135726.8594 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8611 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.8636 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8650 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.8659 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.8671 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8685 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.8696 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678122489467812746d3','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.8701 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.8716 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.8743 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut678122489467812746d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678122734667812745d7' ,0,0 ,2,23.00,140000,?,?,?)
20250110@135726.9001 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135726.9004 37gv4hnhamr58mkq0f7deumqgm Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20250110@135726.9031 37gv4hnhamr58mkq0f7deumqgm 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.675.00.01'
20250110@135726.9051 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9067 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.9091 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9105 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.9115 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.9127 37gv4hnhamr58mkq0f7deumqgm Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400684200a'
20250110@135726.9148 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9162 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.9174 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678127956867812746df','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.9178 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9192 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.9222 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut678127956867812746df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut678122734667812745d7' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20250110@135726.9475 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9491 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.9517 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9532 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.9545 37gv4hnhamr58mkq0f7deumqgm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135726.9557 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9571 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135726.9583 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678129996867812746e9','aut678122734667812745d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135726.9587 37gv4hnhamr58mkq0f7deumqgm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135726.9635 37gv4hnhamr58mkq0f7deumqgm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135726.9666 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut678129996867812746e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut678122734667812745d7' ,0,0 ,2,23.00,170000,?,?,?)
20250110@135726.9924 37gv4hnhamr58mkq0f7deumqgm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut678122734667812745d7','2500269','wait',39,'adm09112754980.682000002')
20250110@135727.1100 37gv4hnhamr58mkq0f7deumqgm Query : use flama_phc
20250110@135727.1400 37gv4hnhamr58mkq0f7deumqgm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135727.5200 37gv4hnhamr58mkq0f7deumqgm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4481';
20250110@135727.9900 37gv4hnhamr58mkq0f7deumqgm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4481';
20250110@135727.1540 37gv4hnhamr58mkq0f7deumqgm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4481';
20250110@135727.1930 37gv4hnhamr58mkq0f7deumqgm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4481';
20250110@135727.7660 gtf74jqluk4lnlrlhf67m8r26g Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135727.7780 gtf74jqluk4lnlrlhf67m8r26g Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135727.8540 gtf74jqluk4lnlrlhf67m8r26g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4482';
20250110@135727.9590 gtf74jqluk4lnlrlhf67m8r26g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4482';
20250110@135727.1360 gtf74jqluk4lnlrlhf67m8r26g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4482';
20250110@135727.1469 gtf74jqluk4lnlrlhf67m8r26g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4482';
20250110@135727.1731 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.1775 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135727.2021 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.2025 gtf74jqluk4lnlrlhf67m8r26g Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135727.2072 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20250110@135727.2269 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500270 and bi.ref ='324.1416.00.1' and bi.lordem =1
20250110@135727.2798 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20250110@135727.2823 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500270 and bi.ref ='324.1416.00.1' and bi.lordem =1
20250110@135727.2840 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.2843 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135727.2901 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.2904 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135727.2936 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.2939 gtf74jqluk4lnlrlhf67m8r26g 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')
20250110@135727.2969 gtf74jqluk4lnlrlhf67m8r26g 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
20250110@135727.3005 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.3008 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135727.3051 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.3054 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135727.3083 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.3085 gtf74jqluk4lnlrlhf67m8r26g Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135727.3125 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.3128 gtf74jqluk4lnlrlhf67m8r26g Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135727.3171 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.3174 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from td where ndoc = 39
20250110@135727.3185 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135727.3198 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.3215 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135727.3232 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.3246 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135727.3274 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.3291 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135727.3303 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135727.3411 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135727.3423 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.3438 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135727.4347 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812015656781274750' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135727.4830 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.4849 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135727.4880 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135727.4891 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135727.4902 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135727.4945 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135727.4956 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135727.4968 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135727.4979 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812015656781274750',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135727.5236 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135727.5269 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.5284 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135727.5335 gtf74jqluk4lnlrlhf67m8r26g Query : select 'normal' from dummy
20250110@135727.5349 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812015656781274750',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2915,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135727.5681 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.5684 gtf74jqluk4lnlrlhf67m8r26g Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20250110@135727.5706 gtf74jqluk4lnlrlhf67m8r26g 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'
20250110@135727.5840 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.5856 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.5884 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.5899 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.5908 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135727.5920 gtf74jqluk4lnlrlhf67m8r26g Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20250110@135727.5933 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.5947 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.5958 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812946876781274790','aut67812015656781274750' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135727.5962 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.5976 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.6004 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812946876781274790',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67812015656781274750' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135727.6259 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6276 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.6302 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6316 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.6324 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135727.6337 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6353 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.6364 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781213771678127479a','aut67812015656781274750' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135727.6368 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6383 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.6410 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6781213771678127479a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812015656781274750' ,0,0 ,2,23.00,20000,?,?,?)
20250110@135727.6682 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.6686 gtf74jqluk4lnlrlhf67m8r26g Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20250110@135727.6711 gtf74jqluk4lnlrlhf67m8r26g 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'
20250110@135727.6728 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6744 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.6771 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6786 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.6794 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135727.6806 gtf74jqluk4lnlrlhf67m8r26g Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20250110@135727.6819 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6833 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.6844 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678127799967812747a6','aut67812015656781274750' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135727.6848 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.6862 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.6890 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut678127799967812747a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut67812015656781274750' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135727.7144 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.7160 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.7186 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.7200 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.7209 gtf74jqluk4lnlrlhf67m8r26g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135727.7221 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.7236 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135727.7247 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678128016267812747b0','aut67812015656781274750' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135727.7251 gtf74jqluk4lnlrlhf67m8r26g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135727.7266 gtf74jqluk4lnlrlhf67m8r26g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135727.7294 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut678128016267812747b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812015656781274750' ,0,0 ,2,23.00,50000,?,?,?)
20250110@135727.7546 gtf74jqluk4lnlrlhf67m8r26g Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812015656781274750','2500270','wait',39,'adm09112754980.682000002')
20250110@135727.7631 gtf74jqluk4lnlrlhf67m8r26g Query : use flama_phc
20250110@135727.7634 gtf74jqluk4lnlrlhf67m8r26g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135727.7666 gtf74jqluk4lnlrlhf67m8r26g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4482';
20250110@135727.7741 gtf74jqluk4lnlrlhf67m8r26g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4482';
20250110@135727.7801 gtf74jqluk4lnlrlhf67m8r26g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4482';
20250110@135727.7837 gtf74jqluk4lnlrlhf67m8r26g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4482';
20250110@135727.8331 3j5gp02cjnjqtfgfr6o1qcoli7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135727.8342 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135727.8420 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4483';
20250110@135727.8486 3j5gp02cjnjqtfgfr6o1qcoli7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4483';
20250110@135727.8566 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4483';
20250110@135727.8609 3j5gp02cjnjqtfgfr6o1qcoli7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4483';
20250110@135727.8677 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.8681 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135727.8749 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.8752 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135727.8804 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20250110@135727.8958 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500271 and bi.ref ='324.2907.00.1' and bi.lordem =1
20250110@135727.9562 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9610 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135727.9647 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9650 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135727.9710 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9713 3j5gp02cjnjqtfgfr6o1qcoli7 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')
20250110@135727.9757 3j5gp02cjnjqtfgfr6o1qcoli7 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
20250110@135727.9792 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9795 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135727.9829 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9832 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135727.9865 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9868 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135727.9910 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9913 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135727.9996 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135727.9999 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from td where ndoc = 39
20250110@135728.1380 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135728.3690 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.3860 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135728.7260 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.8450 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135728.8770 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.8960 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135728.9400 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135728.1046 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135728.1059 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.1075 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135728.1091 3j5gp02cjnjqtfgfr6o1qcoli7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812629926781274816' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135728.1272 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.1293 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135728.1390 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135728.1404 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135728.1416 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135728.1429 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135728.1441 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135728.1453 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135728.1465 3j5gp02cjnjqtfgfr6o1qcoli7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812629926781274816',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135728.1719 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135728.1752 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.1771 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135728.1821 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 'normal' from dummy
20250110@135728.1836 3j5gp02cjnjqtfgfr6o1qcoli7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812629926781274816',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2916,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135728.2658 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135728.2962 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20250110@135728.4097 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20250110@135728.4293 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.4312 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135728.4338 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.4353 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135728.4362 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135728.4374 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20250110@135728.4389 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.4405 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135728.4418 3j5gp02cjnjqtfgfr6o1qcoli7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6781203575678127486b','aut67812629926781274816' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135728.4423 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.4440 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135728.4470 3j5gp02cjnjqtfgfr6o1qcoli7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6781203575678127486b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut67812629926781274816' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135728.4773 3j5gp02cjnjqtfgfr6o1qcoli7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812629926781274816','2500271','wait',39,'adm09112754980.682000002')
20250110@135728.4853 3j5gp02cjnjqtfgfr6o1qcoli7 Query : use flama_phc
20250110@135728.4856 3j5gp02cjnjqtfgfr6o1qcoli7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135728.4893 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4483';
20250110@135728.4938 3j5gp02cjnjqtfgfr6o1qcoli7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4483';
20250110@135728.5006 3j5gp02cjnjqtfgfr6o1qcoli7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4483';
20250110@135728.5044 3j5gp02cjnjqtfgfr6o1qcoli7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4483';
20250110@135728.5553 6ei0nas4mjsg3uf32hhr338159 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135728.5565 6ei0nas4mjsg3uf32hhr338159 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135728.5638 6ei0nas4mjsg3uf32hhr338159 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4484';
20250110@135728.5705 6ei0nas4mjsg3uf32hhr338159 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4484';
20250110@135728.5775 6ei0nas4mjsg3uf32hhr338159 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4484';
20250110@135728.5810 6ei0nas4mjsg3uf32hhr338159 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4484';
20250110@135728.5885 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.5888 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135728.5955 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.5958 6ei0nas4mjsg3uf32hhr338159 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135728.6005 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20250110@135728.6161 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500272 and bi.ref ='324.4421.00.1' and bi.lordem =1
20250110@135728.6468 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6472 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135728.6508 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6512 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135728.6546 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6549 6ei0nas4mjsg3uf32hhr338159 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')
20250110@135728.6579 6ei0nas4mjsg3uf32hhr338159 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
20250110@135728.6621 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6625 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135728.6658 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6661 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135728.6692 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6695 6ei0nas4mjsg3uf32hhr338159 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135728.6736 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6739 6ei0nas4mjsg3uf32hhr338159 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135728.6789 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.6792 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from td where ndoc = 39
20250110@135728.6807 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135728.6821 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.6838 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135728.6857 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.6872 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135728.6898 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.6912 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135728.6924 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135728.7032 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135728.7044 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.7060 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135728.7075 6ei0nas4mjsg3uf32hhr338159 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut678120911067812748a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135728.7377 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.7602 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135728.7639 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135728.7652 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135728.7666 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135728.7679 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135728.7691 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135728.7705 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135728.7748 6ei0nas4mjsg3uf32hhr338159 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut678120911067812748a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135728.8118 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135728.8224 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.8248 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135728.8273 6ei0nas4mjsg3uf32hhr338159 Query : select 'normal' from dummy
20250110@135728.8289 6ei0nas4mjsg3uf32hhr338159 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut678120911067812748a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2917,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135728.8785 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.8831 6ei0nas4mjsg3uf32hhr338159 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20250110@135728.9323 6ei0nas4mjsg3uf32hhr338159 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.4421.00.1'
20250110@135728.9465 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.9481 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135728.9506 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.9521 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135728.9529 6ei0nas4mjsg3uf32hhr338159 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135728.9541 6ei0nas4mjsg3uf32hhr338159 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20250110@135728.9555 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.9569 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135728.9581 6ei0nas4mjsg3uf32hhr338159 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678125567567812748e9','aut678120911067812748a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135728.9586 6ei0nas4mjsg3uf32hhr338159 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135728.9601 6ei0nas4mjsg3uf32hhr338159 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135728.9657 6ei0nas4mjsg3uf32hhr338159 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut678125567567812748e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut678120911067812748a9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135728.9911 6ei0nas4mjsg3uf32hhr338159 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut678120911067812748a9','2500272','wait',39,'adm09112754980.682000002')
20250110@135728.9995 6ei0nas4mjsg3uf32hhr338159 Query : use flama_phc
20250110@135728.9999 6ei0nas4mjsg3uf32hhr338159 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135729.7300 6ei0nas4mjsg3uf32hhr338159 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4484';
20250110@135729.1500 6ei0nas4mjsg3uf32hhr338159 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4484';
20250110@135729.2040 6ei0nas4mjsg3uf32hhr338159 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4484';
20250110@135729.2840 6ei0nas4mjsg3uf32hhr338159 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4484';
20250110@135729.7950 o315avj18egqj97pn63grfl66r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135729.8090 o315avj18egqj97pn63grfl66r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135729.9010 o315avj18egqj97pn63grfl66r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4485';
20250110@135729.9720 o315avj18egqj97pn63grfl66r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4485';
20250110@135729.1037 o315avj18egqj97pn63grfl66r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4485';
20250110@135729.1073 o315avj18egqj97pn63grfl66r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4485';
20250110@135729.1142 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.1146 o315avj18egqj97pn63grfl66r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135729.1249 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.1252 o315avj18egqj97pn63grfl66r Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135729.1312 o315avj18egqj97pn63grfl66r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20250110@135729.1470 o315avj18egqj97pn63grfl66r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500273 and bi.ref ='324.4965.00.1' and bi.lordem =1
20250110@135729.1773 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.1777 o315avj18egqj97pn63grfl66r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135729.1814 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.1817 o315avj18egqj97pn63grfl66r Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135729.1852 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.1856 o315avj18egqj97pn63grfl66r 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')
20250110@135729.1885 o315avj18egqj97pn63grfl66r 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
20250110@135729.1924 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.1927 o315avj18egqj97pn63grfl66r Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135729.1959 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.1962 o315avj18egqj97pn63grfl66r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135729.2005 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.2008 o315avj18egqj97pn63grfl66r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135729.2058 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.2062 o315avj18egqj97pn63grfl66r Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135729.2108 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.2111 o315avj18egqj97pn63grfl66r Query : select 1 valor from td where ndoc = 39
20250110@135729.2124 o315avj18egqj97pn63grfl66r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135729.2141 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.2159 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135729.2179 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.2194 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135729.2225 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.2241 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135729.2254 o315avj18egqj97pn63grfl66r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135729.2361 o315avj18egqj97pn63grfl66r Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135729.2375 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.2391 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135729.2408 o315avj18egqj97pn63grfl66r Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812341106781274937' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135729.2580 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.2599 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135729.2637 o315avj18egqj97pn63grfl66r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135729.2649 o315avj18egqj97pn63grfl66r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135729.2661 o315avj18egqj97pn63grfl66r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135729.2673 o315avj18egqj97pn63grfl66r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135729.2685 o315avj18egqj97pn63grfl66r Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135729.2699 o315avj18egqj97pn63grfl66r Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135729.2712 o315avj18egqj97pn63grfl66r Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812341106781274937',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135729.2961 o315avj18egqj97pn63grfl66r Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135729.2994 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.3012 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135729.3034 o315avj18egqj97pn63grfl66r Query : select 'normal' from dummy
20250110@135729.3051 o315avj18egqj97pn63grfl66r Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812341106781274937',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2918,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135729.3493 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.3503 o315avj18egqj97pn63grfl66r Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20250110@135729.3780 o315avj18egqj97pn63grfl66r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20250110@135729.3926 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.3944 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135729.3972 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.3989 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135729.4028 o315avj18egqj97pn63grfl66r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135729.4041 o315avj18egqj97pn63grfl66r Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301278300a'
20250110@135729.4055 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.4070 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135729.4082 o315avj18egqj97pn63grfl66r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812726606781274963','aut67812341106781274937' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135729.4116 o315avj18egqj97pn63grfl66r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.4134 o315avj18egqj97pn63grfl66r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135729.4162 o315avj18egqj97pn63grfl66r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812726606781274963',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut67812341106781274937' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135729.4443 o315avj18egqj97pn63grfl66r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812341106781274937','2500273','wait',39,'adm09112754980.682000002')
20250110@135729.4593 o315avj18egqj97pn63grfl66r Query : use flama_phc
20250110@135729.4623 o315avj18egqj97pn63grfl66r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135729.4775 o315avj18egqj97pn63grfl66r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4485';
20250110@135729.4843 o315avj18egqj97pn63grfl66r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4485';
20250110@135729.4906 o315avj18egqj97pn63grfl66r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4485';
20250110@135729.4949 o315avj18egqj97pn63grfl66r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4485';
20250110@135729.6676 djmsurhtj93h0jtge1stunsf0h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135729.6688 djmsurhtj93h0jtge1stunsf0h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135729.6775 djmsurhtj93h0jtge1stunsf0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4486';
20250110@135729.6836 djmsurhtj93h0jtge1stunsf0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4486';
20250110@135729.6908 djmsurhtj93h0jtge1stunsf0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4486';
20250110@135729.6940 djmsurhtj93h0jtge1stunsf0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4486';
20250110@135729.6997 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.7000 djmsurhtj93h0jtge1stunsf0h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135729.7064 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.7067 djmsurhtj93h0jtge1stunsf0h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135729.7112 djmsurhtj93h0jtge1stunsf0h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20250110@135729.7271 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500274 and bi.ref ='324.4966.00.1' and bi.lordem =1
20250110@135729.7585 djmsurhtj93h0jtge1stunsf0h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20250110@135729.7605 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500274 and bi.ref ='324.4966.00.1' and bi.lordem =1
20250110@135729.7625 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.7629 djmsurhtj93h0jtge1stunsf0h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135729.7662 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.7777 djmsurhtj93h0jtge1stunsf0h Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135729.7860 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.7864 djmsurhtj93h0jtge1stunsf0h 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')
20250110@135729.7904 djmsurhtj93h0jtge1stunsf0h 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
20250110@135729.7946 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.7949 djmsurhtj93h0jtge1stunsf0h Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135729.7979 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.7982 djmsurhtj93h0jtge1stunsf0h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135729.8011 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.8014 djmsurhtj93h0jtge1stunsf0h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135729.8052 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.8055 djmsurhtj93h0jtge1stunsf0h Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135729.8099 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.8102 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from td where ndoc = 39
20250110@135729.8114 djmsurhtj93h0jtge1stunsf0h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135729.8128 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.8144 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135729.8162 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.8177 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135729.8206 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.8222 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135729.8234 djmsurhtj93h0jtge1stunsf0h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135729.8342 djmsurhtj93h0jtge1stunsf0h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135729.8356 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.8373 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135729.8392 djmsurhtj93h0jtge1stunsf0h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut678128504967812749c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135729.8582 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.8603 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135729.8642 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135729.8655 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135729.8668 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135729.8681 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135729.8693 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135729.8704 djmsurhtj93h0jtge1stunsf0h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135729.8716 djmsurhtj93h0jtge1stunsf0h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut678128504967812749c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135729.9001 djmsurhtj93h0jtge1stunsf0h Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135729.9034 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.9050 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135729.9081 djmsurhtj93h0jtge1stunsf0h Query : select 'normal' from dummy
20250110@135729.9101 djmsurhtj93h0jtge1stunsf0h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut678128504967812749c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2919,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135729.9506 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135729.9509 djmsurhtj93h0jtge1stunsf0h Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20250110@135729.9531 djmsurhtj93h0jtge1stunsf0h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20250110@135729.9673 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.9690 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135729.9718 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.9733 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135729.9742 djmsurhtj93h0jtge1stunsf0h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135729.9755 djmsurhtj93h0jtge1stunsf0h Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301278400a'
20250110@135729.9769 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.9785 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135729.9797 djmsurhtj93h0jtge1stunsf0h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678125133067812749ee','aut678128504967812749c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135729.9801 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135729.9818 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135729.9849 djmsurhtj93h0jtge1stunsf0h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut678125133067812749ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut678128504967812749c9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135730.1110 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135730.1150 djmsurhtj93h0jtge1stunsf0h Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20250110@135730.1370 djmsurhtj93h0jtge1stunsf0h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4966.00.1'
20250110@135730.1520 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.1680 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135730.1980 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.2130 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135730.2230 djmsurhtj93h0jtge1stunsf0h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135730.2370 djmsurhtj93h0jtge1stunsf0h Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301278400a'
20250110@135730.2500 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.3310 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135730.3460 djmsurhtj93h0jtge1stunsf0h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812240996781274a06','aut678128504967812749c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135730.3500 djmsurhtj93h0jtge1stunsf0h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.3670 djmsurhtj93h0jtge1stunsf0h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135730.3990 djmsurhtj93h0jtge1stunsf0h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812240996781274a06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut678128504967812749c9' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250110@135730.6540 djmsurhtj93h0jtge1stunsf0h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut678128504967812749c9','2500274','wait',39,'adm09112754980.682000002')
20250110@135730.7270 djmsurhtj93h0jtge1stunsf0h Query : use flama_phc
20250110@135730.7310 djmsurhtj93h0jtge1stunsf0h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135730.7660 djmsurhtj93h0jtge1stunsf0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4486';
20250110@135730.8100 djmsurhtj93h0jtge1stunsf0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4486';
20250110@135730.8680 djmsurhtj93h0jtge1stunsf0h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4486';
20250110@135730.9070 djmsurhtj93h0jtge1stunsf0h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4486';
20250110@135730.1432 6c926a5ubtljr1ai8c0ob150sa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135730.1444 6c926a5ubtljr1ai8c0ob150sa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135730.1516 6c926a5ubtljr1ai8c0ob150sa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4487';
20250110@135730.1584 6c926a5ubtljr1ai8c0ob150sa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4487';
20250110@135730.1648 6c926a5ubtljr1ai8c0ob150sa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4487';
20250110@135730.1703 6c926a5ubtljr1ai8c0ob150sa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4487';
20250110@135730.1781 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.1785 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135730.1855 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.1858 6c926a5ubtljr1ai8c0ob150sa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135730.1908 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20250110@135730.2064 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500275 and bi.ref ='324.938.00.01' and bi.lordem =1
20250110@135730.2367 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2371 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135730.2406 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2409 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135730.2442 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2445 6c926a5ubtljr1ai8c0ob150sa 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')
20250110@135730.2478 6c926a5ubtljr1ai8c0ob150sa 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
20250110@135730.2515 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2518 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135730.2551 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2553 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135730.2585 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2588 6c926a5ubtljr1ai8c0ob150sa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135730.2638 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2641 6c926a5ubtljr1ai8c0ob150sa Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135730.2699 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.2702 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from td where ndoc = 39
20250110@135730.2717 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135730.2735 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.2754 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135730.2776 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.2793 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135730.2824 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.2841 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135730.2855 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135730.3102 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135730.3118 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.3136 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135730.3154 6c926a5ubtljr1ai8c0ob150sa Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812094456781274a45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135730.3394 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.3469 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135730.3511 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135730.3526 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135730.3539 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135730.3560 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135730.3576 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135730.3590 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135730.3617 6c926a5ubtljr1ai8c0ob150sa Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812094456781274a45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135730.4017 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135730.4051 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.4068 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135730.4093 6c926a5ubtljr1ai8c0ob150sa Query : select 'normal' from dummy
20250110@135730.4177 6c926a5ubtljr1ai8c0ob150sa Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812094456781274a45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2920,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135730.4467 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.4471 6c926a5ubtljr1ai8c0ob150sa Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20250110@135730.4493 6c926a5ubtljr1ai8c0ob150sa 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.938.00.01'
20250110@135730.4669 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.4685 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135730.4711 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.4725 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135730.4734 6c926a5ubtljr1ai8c0ob150sa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135730.4751 6c926a5ubtljr1ai8c0ob150sa Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2400003200a'
20250110@135730.4765 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.4779 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135730.4791 6c926a5ubtljr1ai8c0ob150sa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812477346781274a74','aut67812094456781274a45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135730.4813 6c926a5ubtljr1ai8c0ob150sa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.4830 6c926a5ubtljr1ai8c0ob150sa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135730.4920 6c926a5ubtljr1ai8c0ob150sa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812477346781274a74',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut67812094456781274a45' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135730.5190 6c926a5ubtljr1ai8c0ob150sa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812094456781274a45','2500275','wait',39,'adm09112754980.682000002')
20250110@135730.5264 6c926a5ubtljr1ai8c0ob150sa Query : use flama_phc
20250110@135730.5267 6c926a5ubtljr1ai8c0ob150sa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135730.5296 6c926a5ubtljr1ai8c0ob150sa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4487';
20250110@135730.5339 6c926a5ubtljr1ai8c0ob150sa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4487';
20250110@135730.6933 6c926a5ubtljr1ai8c0ob150sa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4487';
20250110@135730.6978 6c926a5ubtljr1ai8c0ob150sa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4487';
20250110@135730.7459 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135730.7470 2bbe0cnb1cs5vq8cdcj2bref0v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135730.7542 2bbe0cnb1cs5vq8cdcj2bref0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4488';
20250110@135730.7610 2bbe0cnb1cs5vq8cdcj2bref0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4488';
20250110@135730.7680 2bbe0cnb1cs5vq8cdcj2bref0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4488';
20250110@135730.7716 2bbe0cnb1cs5vq8cdcj2bref0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4488';
20250110@135730.7776 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.7779 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135730.7845 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.7848 2bbe0cnb1cs5vq8cdcj2bref0v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135730.7897 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20250110@135730.8055 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500276 and bi.ref ='324.948.00.01' and bi.lordem =1
20250110@135730.8507 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20250110@135730.8531 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500276 and bi.ref ='324.948.00.01' and bi.lordem =1
20250110@135730.8548 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20250110@135730.8571 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500276 and bi.ref ='324.948.00.01' and bi.lordem =1
20250110@135730.8589 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8592 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135730.8629 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8632 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135730.8661 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8663 2bbe0cnb1cs5vq8cdcj2bref0v 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')
20250110@135730.8691 2bbe0cnb1cs5vq8cdcj2bref0v 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
20250110@135730.8730 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8733 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135730.8765 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8769 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135730.8801 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8804 2bbe0cnb1cs5vq8cdcj2bref0v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135730.8857 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8860 2bbe0cnb1cs5vq8cdcj2bref0v Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135730.8909 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135730.8911 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from td where ndoc = 39
20250110@135730.8924 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135730.8938 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.8954 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135730.8973 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.8988 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135730.9019 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.9034 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135730.9046 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135730.9181 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135730.9194 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.9209 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135730.9226 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812775646781274adc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135730.9400 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.9418 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135730.9455 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135730.9469 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135730.9482 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135730.9495 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135730.9508 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135730.9521 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135730.9547 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812775646781274adc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135730.9793 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135730.9890 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135730.9907 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135730.9937 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 'normal' from dummy
20250110@135730.9987 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812775646781274adc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2921,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135731.2910 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135731.2940 2bbe0cnb1cs5vq8cdcj2bref0v Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20250110@135731.3180 2bbe0cnb1cs5vq8cdcj2bref0v 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.948.00.01'
20250110@135731.4600 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.4760 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.5020 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.5170 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.5260 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.5390 2bbe0cnb1cs5vq8cdcj2bref0v Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2400703100a'
20250110@135731.5540 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.5690 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.5820 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812665916781274b0d','aut67812775646781274adc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.5860 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.6590 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.6910 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812665916781274b0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67812775646781274adc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135731.9500 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135731.9540 2bbe0cnb1cs5vq8cdcj2bref0v Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20250110@135731.9740 2bbe0cnb1cs5vq8cdcj2bref0v 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.948.00.01'
20250110@135731.9880 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1005 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.1032 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1046 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.1056 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.1068 2bbe0cnb1cs5vq8cdcj2bref0v Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2400703100a'
20250110@135731.1081 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1096 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.1109 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812057296781274b1a','aut67812775646781274adc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.1114 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1129 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.1190 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812057296781274b1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut67812775646781274adc' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250110@135731.1476 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135731.1479 2bbe0cnb1cs5vq8cdcj2bref0v Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20250110@135731.1529 2bbe0cnb1cs5vq8cdcj2bref0v 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.948.00.01'
20250110@135731.1544 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1563 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.1592 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1608 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.1617 2bbe0cnb1cs5vq8cdcj2bref0v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.1630 2bbe0cnb1cs5vq8cdcj2bref0v Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2400703100a'
20250110@135731.1643 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1659 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.1672 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812031546781274b28','aut67812775646781274adc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.1676 2bbe0cnb1cs5vq8cdcj2bref0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.1691 2bbe0cnb1cs5vq8cdcj2bref0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.1722 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812031546781274b28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut67812775646781274adc' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250110@135731.1980 2bbe0cnb1cs5vq8cdcj2bref0v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812775646781274adc','2500276','wait',39,'adm09112754980.682000002')
20250110@135731.2055 2bbe0cnb1cs5vq8cdcj2bref0v Query : use flama_phc
20250110@135731.2059 2bbe0cnb1cs5vq8cdcj2bref0v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135731.2090 2bbe0cnb1cs5vq8cdcj2bref0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4488';
20250110@135731.2167 2bbe0cnb1cs5vq8cdcj2bref0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4488';
20250110@135731.2224 2bbe0cnb1cs5vq8cdcj2bref0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4488';
20250110@135731.2265 2bbe0cnb1cs5vq8cdcj2bref0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4488';
20250110@135731.2783 sp2v70da8nj7po887c23nn5irf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135731.2796 sp2v70da8nj7po887c23nn5irf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135731.2870 sp2v70da8nj7po887c23nn5irf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4489';
20250110@135731.2934 sp2v70da8nj7po887c23nn5irf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4489';
20250110@135731.2999 sp2v70da8nj7po887c23nn5irf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4489';
20250110@135731.3036 sp2v70da8nj7po887c23nn5irf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4489';
20250110@135731.3094 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.3098 sp2v70da8nj7po887c23nn5irf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135731.3195 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.3198 sp2v70da8nj7po887c23nn5irf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135731.3244 sp2v70da8nj7po887c23nn5irf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250110@135731.3405 sp2v70da8nj7po887c23nn5irf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500277 and bi.ref ='324.692.00.01' and bi.lordem =1
20250110@135731.3858 sp2v70da8nj7po887c23nn5irf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250110@135731.3883 sp2v70da8nj7po887c23nn5irf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500277 and bi.ref ='324.692.00.01' and bi.lordem =2
20250110@135731.4192 sp2v70da8nj7po887c23nn5irf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250110@135731.4216 sp2v70da8nj7po887c23nn5irf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500277 and bi.ref ='324.692.00.01' and bi.lordem =2
20250110@135731.4240 sp2v70da8nj7po887c23nn5irf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250110@135731.4262 sp2v70da8nj7po887c23nn5irf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500277 and bi.ref ='324.692.00.01' and bi.lordem =2
20250110@135731.4280 sp2v70da8nj7po887c23nn5irf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250110@135731.4394 sp2v70da8nj7po887c23nn5irf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500277 and bi.ref ='324.692.00.01' and bi.lordem =2
20250110@135731.4548 sp2v70da8nj7po887c23nn5irf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250110@135731.4657 sp2v70da8nj7po887c23nn5irf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500277 and bi.ref ='324.692.00.01' and bi.lordem =3
20250110@135731.4999 sp2v70da8nj7po887c23nn5irf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250110@135731.5023 sp2v70da8nj7po887c23nn5irf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500277 and bi.ref ='324.692.00.01' and bi.lordem =3
20250110@135731.5042 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5045 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135731.5081 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5084 sp2v70da8nj7po887c23nn5irf Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135731.5112 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5115 sp2v70da8nj7po887c23nn5irf 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')
20250110@135731.5143 sp2v70da8nj7po887c23nn5irf 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
20250110@135731.5177 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5180 sp2v70da8nj7po887c23nn5irf Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135731.5213 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5216 sp2v70da8nj7po887c23nn5irf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135731.5248 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5250 sp2v70da8nj7po887c23nn5irf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135731.5291 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5294 sp2v70da8nj7po887c23nn5irf Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135731.5346 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.5349 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from td where ndoc = 39
20250110@135731.5361 sp2v70da8nj7po887c23nn5irf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135731.5376 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.5392 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135731.5410 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.5424 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135731.5450 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.5465 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135731.5478 sp2v70da8nj7po887c23nn5irf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135731.5621 sp2v70da8nj7po887c23nn5irf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135731.5636 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.5655 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135731.5671 sp2v70da8nj7po887c23nn5irf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135731.5850 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.5867 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135731.5910 sp2v70da8nj7po887c23nn5irf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135731.5930 sp2v70da8nj7po887c23nn5irf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135731.5942 sp2v70da8nj7po887c23nn5irf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135731.5953 sp2v70da8nj7po887c23nn5irf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135731.5965 sp2v70da8nj7po887c23nn5irf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135731.5980 sp2v70da8nj7po887c23nn5irf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135731.5996 sp2v70da8nj7po887c23nn5irf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812999596781274b85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135731.6366 sp2v70da8nj7po887c23nn5irf Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135731.6399 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.6415 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135731.6437 sp2v70da8nj7po887c23nn5irf Query : select 'normal' from dummy
20250110@135731.6451 sp2v70da8nj7po887c23nn5irf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812999596781274b85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2922,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135731.6752 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.6755 sp2v70da8nj7po887c23nn5irf Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20250110@135731.6779 sp2v70da8nj7po887c23nn5irf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20250110@135731.6922 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.6937 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.6962 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7123 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.7136 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.7150 sp2v70da8nj7po887c23nn5irf Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400210100a'
20250110@135731.7166 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7184 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.7196 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812957326781274bae','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.7200 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7217 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.7246 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812957326781274bae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67812999596781274b85' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135731.7510 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7526 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.7550 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7565 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.7573 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.7585 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7599 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.7611 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812136216781274bb9','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.7615 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7629 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.7659 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812136216781274bb9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812999596781274b85' ,0,0 ,2,23.00,20000,?,?,?)
20250110@135731.7914 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.7917 sp2v70da8nj7po887c23nn5irf Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20250110@135731.7935 sp2v70da8nj7po887c23nn5irf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20250110@135731.7948 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.7998 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.8023 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8037 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.8046 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.8088 sp2v70da8nj7po887c23nn5irf Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400211200a'
20250110@135731.8101 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8116 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.8130 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812180356781274bc5','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.8134 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8148 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.8176 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812180356781274bc5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67812999596781274b85' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250110@135731.8469 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8494 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.8527 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8541 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.8550 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.8562 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8576 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.8589 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812070506781274bd1','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.8593 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8607 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.8635 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812070506781274bd1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812999596781274b85' ,0,0 ,2,23.00,50000,?,?,?)
20250110@135731.8910 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.8914 sp2v70da8nj7po887c23nn5irf Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20250110@135731.8934 sp2v70da8nj7po887c23nn5irf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20250110@135731.8948 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.8965 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.8992 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9007 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.9016 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.9028 sp2v70da8nj7po887c23nn5irf Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400211200a'
20250110@135731.9041 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9056 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.9073 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812223166781274bdc','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.9078 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9093 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.9151 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812223166781274bdc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67812999596781274b85' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250110@135731.9412 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9428 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.9456 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9470 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.9478 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.9490 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9503 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.9515 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812716906781274be7','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135731.9520 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9536 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.9568 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812716906781274be7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812999596781274b85' ,0,0 ,2,23.00,80000,?,?,?)
20250110@135731.9850 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135731.9853 sp2v70da8nj7po887c23nn5irf Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20250110@135731.9874 sp2v70da8nj7po887c23nn5irf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20250110@135731.9889 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9906 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135731.9935 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135731.9950 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135731.9959 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135731.9972 sp2v70da8nj7po887c23nn5irf Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400211200a'
20250110@135731.9985 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.0000 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.1300 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812057186781274bf3','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.1700 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.3600 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.6600 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812057186781274bf3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67812999596781274b85' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20250110@135732.4160 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4360 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.4640 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4820 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.4910 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135732.5050 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.5560 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.5710 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812044226781274c0c','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.5760 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.5930 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.6250 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812044226781274c0c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812999596781274b85' ,0,0 ,2,23.00,110000,?,?,?)
20250110@135732.9040 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135732.9090 sp2v70da8nj7po887c23nn5irf Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20250110@135732.9380 sp2v70da8nj7po887c23nn5irf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20250110@135732.9580 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.9760 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.1004 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1021 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.1030 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135732.1043 sp2v70da8nj7po887c23nn5irf Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400211200a'
20250110@135732.1057 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1072 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.1084 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812883736781274c19','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.1088 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1102 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.1130 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812883736781274c19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67812999596781274b85' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20250110@135732.1401 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1420 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.1447 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1462 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.1472 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135732.1484 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1499 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.1513 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812232156781274c24','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.1519 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1536 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.1567 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812232156781274c24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812999596781274b85' ,0,0 ,2,23.00,140000,?,?,?)
20250110@135732.1864 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135732.1868 sp2v70da8nj7po887c23nn5irf Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20250110@135732.1888 sp2v70da8nj7po887c23nn5irf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20250110@135732.1904 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1924 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.1952 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.1969 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.1982 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135732.1996 sp2v70da8nj7po887c23nn5irf Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400837300a'
20250110@135732.2011 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.2027 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.2071 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812198676781274c31','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.2076 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.3169 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.3201 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812198676781274c31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut67812999596781274b85' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20250110@135732.3495 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.3514 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.3543 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.3559 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.3569 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135732.3583 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.3600 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.3614 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812960806781274c57','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.3619 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.3636 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.3670 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812960806781274c57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812999596781274b85' ,0,0 ,2,23.00,170000,?,?,?)
20250110@135732.4118 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135732.4122 sp2v70da8nj7po887c23nn5irf Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20250110@135732.4261 sp2v70da8nj7po887c23nn5irf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20250110@135732.4277 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4294 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.4320 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4338 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.4347 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135732.4360 sp2v70da8nj7po887c23nn5irf Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400837300a'
20250110@135732.4373 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4387 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.4398 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812336456781274c6a','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.4402 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4419 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.4480 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812336456781274c6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67812999596781274b85' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20250110@135732.4767 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4793 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.4826 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4844 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.4855 sp2v70da8nj7po887c23nn5irf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135732.4871 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4887 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135732.4930 sp2v70da8nj7po887c23nn5irf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812228936781274c76','aut67812999596781274b85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135732.4934 sp2v70da8nj7po887c23nn5irf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135732.4951 sp2v70da8nj7po887c23nn5irf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135732.4983 sp2v70da8nj7po887c23nn5irf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67812228936781274c76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67812999596781274b85' ,0,0 ,2,23.00,200000,?,?,?)
20250110@135732.5263 sp2v70da8nj7po887c23nn5irf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812999596781274b85','2500277','wait',39,'adm09112754980.682000002')
20250110@135732.5340 sp2v70da8nj7po887c23nn5irf Query : use flama_phc
20250110@135732.5344 sp2v70da8nj7po887c23nn5irf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135732.5379 sp2v70da8nj7po887c23nn5irf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4489';
20250110@135732.5458 sp2v70da8nj7po887c23nn5irf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4489';
20250110@135732.5515 sp2v70da8nj7po887c23nn5irf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4489';
20250110@135732.5563 sp2v70da8nj7po887c23nn5irf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4489';
20250110@135732.7960 dq4k81brlr76rctmjhlnes4v5v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135732.7972 dq4k81brlr76rctmjhlnes4v5v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135732.8059 dq4k81brlr76rctmjhlnes4v5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4490';
20250110@135732.8488 dq4k81brlr76rctmjhlnes4v5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4490';
20250110@135732.8835 dq4k81brlr76rctmjhlnes4v5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4490';
20250110@135732.9148 dq4k81brlr76rctmjhlnes4v5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4490';
20250110@135732.9340 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135732.9344 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135732.9411 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135732.9415 dq4k81brlr76rctmjhlnes4v5v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250110@135732.9468 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20250110@135732.9645 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500278 and bi.ref ='324.4988.00.1' and bi.lordem =1
20250110@135732.9945 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20250110@135732.9973 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500278 and bi.ref ='324.4988.00.1' and bi.lordem =1
20250110@135732.9993 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20250110@135733.1600 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500278 and bi.ref ='324.4988.00.1' and bi.lordem =1
20250110@135733.3600 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.3900 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250110@135733.7100 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.7400 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 1 valor from td where td.ndoc = 39
20250110@135733.1020 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.1050 dq4k81brlr76rctmjhlnes4v5v 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')
20250110@135733.1310 dq4k81brlr76rctmjhlnes4v5v 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
20250110@135733.1660 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.1690 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250110@135733.2000 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.2030 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250110@135733.2320 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.2350 dq4k81brlr76rctmjhlnes4v5v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135733.2760 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.2790 dq4k81brlr76rctmjhlnes4v5v Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250110@135733.3230 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.3260 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from td where ndoc = 39
20250110@135733.3380 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250110@135733.3520 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.3770 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135733.4030 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.4190 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135733.4470 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.4620 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135733.4740 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135733.5820 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250110@135733.5950 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.6140 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250110@135733.6320 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67812190686781274d0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250110@135733.8280 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.8500 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250110@135733.8880 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250110@135733.9010 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250110@135733.9150 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250110@135733.9280 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250110@135733.9410 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250110@135733.9540 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250110@135733.9660 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67812190686781274d0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250110@135733.1232 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 fno valor from wsftdata order by fno desc
20250110@135733.1270 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.1288 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250110@135733.1313 dq4k81brlr76rctmjhlnes4v5v Query : select 'normal' from dummy
20250110@135733.1329 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67812190686781274d0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2923,100810,0,'2025-01-10',39,'euro',0,0,2025 ,?,?)
20250110@135733.1700 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.1703 dq4k81brlr76rctmjhlnes4v5v Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20250110@135733.1729 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20250110@135733.1884 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.1901 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135733.1928 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.1943 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135733.1952 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135733.1964 dq4k81brlr76rctmjhlnes4v5v Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20250110@135733.1979 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.1994 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135733.2007 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812821566781274d30','aut67812190686781274d0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135733.2011 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2026 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135733.2056 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812821566781274d30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67812190686781274d0b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250110@135733.2306 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.2309 dq4k81brlr76rctmjhlnes4v5v Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20250110@135733.2329 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20250110@135733.2343 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2359 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135733.2387 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2403 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135733.2412 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135733.2424 dq4k81brlr76rctmjhlnes4v5v Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20250110@135733.2436 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2451 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135733.2463 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812414976781274d3b','aut67812190686781274d0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135733.2469 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2485 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135733.2517 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812414976781274d3b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67812190686781274d0b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250110@135733.2769 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.2773 dq4k81brlr76rctmjhlnes4v5v Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20250110@135733.2802 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20250110@135733.2823 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2840 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135733.2868 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2883 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135733.2892 dq4k81brlr76rctmjhlnes4v5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135733.2905 dq4k81brlr76rctmjhlnes4v5v Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20250110@135733.2918 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2936 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250110@135733.2947 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812628076781274d47','aut67812190686781274d0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250110@135733.2951 dq4k81brlr76rctmjhlnes4v5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135733.2966 dq4k81brlr76rctmjhlnes4v5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250110@135733.3006 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67812628076781274d47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut67812190686781274d0b' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250110@135733.3262 dq4k81brlr76rctmjhlnes4v5v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67812190686781274d0b','2500278','wait',39,'adm09112754980.682000002')
20250110@135733.3333 dq4k81brlr76rctmjhlnes4v5v Query : use flama_phc
20250110@135733.3337 dq4k81brlr76rctmjhlnes4v5v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250110@135733.3367 dq4k81brlr76rctmjhlnes4v5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4490';
20250110@135733.3412 dq4k81brlr76rctmjhlnes4v5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4490';
20250110@135733.3462 dq4k81brlr76rctmjhlnes4v5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4490';
20250110@135733.3499 dq4k81brlr76rctmjhlnes4v5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4490';
20250110@135733.3984 iesisnnqa09v188np0pu95sgvt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135733.3997 iesisnnqa09v188np0pu95sgvt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135733.4070 iesisnnqa09v188np0pu95sgvt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4491';
20250110@135733.4301 iesisnnqa09v188np0pu95sgvt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4491';
20250110@135733.4368 iesisnnqa09v188np0pu95sgvt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4491';
20250110@135733.4408 iesisnnqa09v188np0pu95sgvt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4491';
20250110@135733.5310 muh0885hs3npk43e31vfpp5loi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250110@135733.5321 muh0885hs3npk43e31vfpp5loi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250110@135733.5402 muh0885hs3npk43e31vfpp5loi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4492';
20250110@135733.5464 muh0885hs3npk43e31vfpp5loi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4492';
20250110@135733.5525 muh0885hs3npk43e31vfpp5loi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4492';
20250110@135733.5563 muh0885hs3npk43e31vfpp5loi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4492';
20250110@135733.5625 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135733.5629 muh0885hs3npk43e31vfpp5loi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250110@135733.5694 muh0885hs3npk43e31vfpp5loi Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20250110@135733.5779 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1643.00.1'
20250110@135733.5885 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.1643.00.1' and bi.lordem =10000
20250110@135733.6207 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859363.531000001 ' 
20250110@135733.8462 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1684.00.1'
20250110@135733.8834 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.1684.00.1' and bi.lordem =20000
20250110@135733.9135 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859380.152000002 ' 
20250110@135733.9407 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4751.00.1'
20250110@135733.9516 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.4751.00.1' and bi.lordem =30000
20250110@135733.9829 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859387.124000003 ' 
20250110@135734.1280 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4960.00.1'
20250110@135734.2430 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.4960.00.1' and bi.lordem =40000
20250110@135734.5510 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859394.151000004 ' 
20250110@135734.8340 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.958.00.01'
20250110@135734.9430 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.958.00.01' and bi.lordem =70000
20250110@135734.1271 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859414.466000007 ' 
20250110@135734.1559 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.969.00.01'
20250110@135734.1675 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.969.00.01' and bi.lordem =80000
20250110@135734.1980 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859421.623000008 ' 
20250110@135734.2323 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.948.00.01'
20250110@135734.2443 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.948.00.01' and bi.lordem =100000
20250110@135734.2809 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859438.149000010 ' 
20250110@135734.3101 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.681.00.01'
20250110@135734.3208 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.681.00.01' and bi.lordem =130000
20250110@135734.3560 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859459.322000013 ' 
20250110@135734.3855 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.682.00.01'
20250110@135734.3965 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.682.00.01' and bi.lordem =140000
20250110@135734.4448 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859465.555000014 ' 
20250110@135734.5101 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1889.00.1'
20250110@135734.5282 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.1889.00.1' and bi.lordem =150000
20250110@135734.5690 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859473.423000015 ' 
20250110@135734.6162 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2366.00.1'
20250110@135734.6663 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.2366.00.1' and bi.lordem =160000
20250110@135734.7423 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859480.098000016 ' 
20250110@135734.7736 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1824.00.1'
20250110@135734.7851 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.1824.00.1' and bi.lordem =170000
20250110@135734.8154 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859486.832000017 ' 
20250110@135734.8484 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1406.00.1'
20250110@135734.8617 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.1406.00.1' and bi.lordem =180000
20250110@135734.8993 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859493.381000018 ' 
20250110@135734.9451 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2301.00.3'
20250110@135734.9575 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.2301.00.3' and bi.lordem =190000
20250110@135734.9890 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859499.582000019 ' 
20250110@135735.2640 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1705.00.1'
20250110@135735.4660 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.1705.00.1' and bi.lordem =210000
20250110@135735.8640 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859519.395000021 ' 
20250110@135735.1219 muh0885hs3npk43e31vfpp5loi Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1266.00.1'
20250110@135735.1336 muh0885hs3npk43e31vfpp5loi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2025 and bo.obrano = 0000055 and bi.ref ='324.1266.00.1' and bi.lordem =220000
20250110@135735.1639 muh0885hs3npk43e31vfpp5loi Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'av25010859526.376000022 ' 
20250110@135735.1939 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.1944 muh0885hs3npk43e31vfpp5loi Query : select top 1 1 valor from ts where ts.ndos = 5
20250110@135735.2023 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.2026 muh0885hs3npk43e31vfpp5loi 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')
20250110@135735.2056 muh0885hs3npk43e31vfpp5loi Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20250110@135735.2207 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.2210 muh0885hs3npk43e31vfpp5loi Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20250110@135735.2326 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.2329 muh0885hs3npk43e31vfpp5loi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250110@135735.2370 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.2374 muh0885hs3npk43e31vfpp5loi Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20250110@135735.2426 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.2430 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from ts where ndos = 5
20250110@135735.2449 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.2470 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20250110@135735.2487 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.2503 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20250110@135735.2513 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.2529 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20250110@135735.2539 muh0885hs3npk43e31vfpp5loi Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20250110@135735.2715 muh0885hs3npk43e31vfpp5loi Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2025 order by obrano desc
20250110@135735.2872 muh0885hs3npk43e31vfpp5loi Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2025 order by obrano desc
20250110@135735.2964 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.2970 muh0885hs3npk43e31vfpp5loi Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20250110@135735.3055 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.3073 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20250110@135735.3086 muh0885hs3npk43e31vfpp5loi Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67812541066781274f48',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250110@135735.3149 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.3165 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20250110@135735.3179 muh0885hs3npk43e31vfpp5loi Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut67812541066781274f48','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20250110','14:27',?,?)
20250110@135735.3649 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.3714 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20250110@135735.3735 muh0885hs3npk43e31vfpp5loi Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut67812541066781274f48','trf entre armazéns a','2025-01-10',5,10,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20250110@135735.4325 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.4329 muh0885hs3npk43e31vfpp5loi Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20250110@135735.4343 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.4346 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.1643.00.1'
20250110@135735.4441 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.4445 muh0885hs3npk43e31vfpp5loi Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1643.00.1' and sa.armazem = 133 
20250110@135735.4513 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.4516 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.1643.00.1'
20250110@135735.4541 muh0885hs3npk43e31vfpp5loi 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.1643.00.1'
20250110@135735.4741 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.4757 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.4772 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.4788 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.4798 muh0885hs3npk43e31vfpp5loi Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20250110@135735.4818 muh0885hs3npk43e31vfpp5loi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135735.4830 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.4845 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.4858 muh0885hs3npk43e31vfpp5loi Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67812783566781274f75','aut67812541066781274f48',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.5222 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.5240 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.5257 muh0885hs3npk43e31vfpp5loi Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67812783566781274f75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 20.000, 20.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,96,96*200.48,96,96*200.48 ,0,0,'un ','' ,bo.marcada,1 ,96*20.000,96*20.000*200.48 ,40.138000,40.138000*200.48 ,40.138000,40.138000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,96,96*200.48,96*20.000,96*20.000*200.48,'av25010859363.531000001 ',96,96*20.000,96,96*20.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.5673 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.5677 muh0885hs3npk43e31vfpp5loi Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20250110@135735.5695 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.5698 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.1684.00.1'
20250110@135735.5715 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.5717 muh0885hs3npk43e31vfpp5loi Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1684.00.1' and sa.armazem = 133 
20250110@135735.5785 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.5789 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.1684.00.1'
20250110@135735.5809 muh0885hs3npk43e31vfpp5loi 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.1684.00.1'
20250110@135735.5946 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.5963 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.5978 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.5997 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.6703 muh0885hs3npk43e31vfpp5loi Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2400208100a'
20250110@135735.7173 muh0885hs3npk43e31vfpp5loi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135735.7187 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.7203 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.7217 muh0885hs3npk43e31vfpp5loi Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67812165226781274faf','aut67812541066781274f48',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.7373 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.7390 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.7406 muh0885hs3npk43e31vfpp5loi Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67812165226781274faf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,51.2,51.2*200.48,51.2,51.2*200.48 ,0,0,'un ','' ,bo.marcada,1 ,51.2*4.000,51.2*4.000*200.48 ,17.955000,17.955000*200.48 ,17.955000,17.955000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,51.2,51.2*200.48,51.2*4.000,51.2*4.000*200.48,'av25010859380.152000002 ',51.2,51.2*4.000,51.2,51.2*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.7727 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.7732 muh0885hs3npk43e31vfpp5loi Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20250110@135735.7760 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.7764 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.4751.00.1'
20250110@135735.7788 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.7791 muh0885hs3npk43e31vfpp5loi Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4751.00.1' and sa.armazem = 133 
20250110@135735.7863 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.7866 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.4751.00.1'
20250110@135735.7886 muh0885hs3npk43e31vfpp5loi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20250110@135735.7901 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.7917 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.7930 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.7946 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.7955 muh0885hs3npk43e31vfpp5loi Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20250110@135735.7970 muh0885hs3npk43e31vfpp5loi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135735.7983 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.7997 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.8010 muh0885hs3npk43e31vfpp5loi Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67812616016781274fc2','aut67812541066781274f48',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.8149 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.8165 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.8181 muh0885hs3npk43e31vfpp5loi Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67812616016781274fc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,44.8,44.8*200.48,44.8,44.8*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,44.8*4.000,44.8*4.000*200.48 ,17.464000,17.464000*200.48 ,17.464000,17.464000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,44.8,44.8*200.48,44.8*4.000,44.8*4.000*200.48,'av25010859387.124000003 ',44.8,44.8*4.000,44.8,44.8*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.8493 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.8498 muh0885hs3npk43e31vfpp5loi Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20250110@135735.8512 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.8515 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.4960.00.1'
20250110@135735.8532 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.8535 muh0885hs3npk43e31vfpp5loi Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4960.00.1' and sa.armazem = 133 
20250110@135735.8604 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.8607 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.4960.00.1'
20250110@135735.8628 muh0885hs3npk43e31vfpp5loi 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.4960.00.1'
20250110@135735.8642 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.8658 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.8702 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.8719 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.8728 muh0885hs3npk43e31vfpp5loi Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20250110@135735.8741 muh0885hs3npk43e31vfpp5loi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135735.8754 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.8769 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.8782 muh0885hs3npk43e31vfpp5loi Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67812418956781274fd5','aut67812541066781274f48',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.8925 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.8942 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.8958 muh0885hs3npk43e31vfpp5loi Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67812418956781274fd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,19.2,19.2*200.48,19.2,19.2*200.48 ,0,0,'un ','' ,bo.marcada,1 ,19.2*6.000,19.2*6.000*200.48 ,6.102000,6.102000*200.48 ,6.102000,6.102000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,19.2,19.2*200.48,19.2*6.000,19.2*6.000*200.48,'av25010859394.151000004 ',19.2,19.2*6.000,19.2,19.2*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.9267 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.9271 muh0885hs3npk43e31vfpp5loi Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250110@135735.9286 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.9289 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.958.00.01'
20250110@135735.9337 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.9340 muh0885hs3npk43e31vfpp5loi Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.958.00.01' and sa.armazem = 133 
20250110@135735.9427 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135735.9430 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.958.00.01'
20250110@135735.9449 muh0885hs3npk43e31vfpp5loi 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.958.00.01'
20250110@135735.9589 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.9605 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.9618 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.9635 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.9644 muh0885hs3npk43e31vfpp5loi Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250110@135735.9660 muh0885hs3npk43e31vfpp5loi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135735.9675 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.9691 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135735.9703 muh0885hs3npk43e31vfpp5loi Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67812317866781274fec','aut67812541066781274f48',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135735.9840 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135735.9858 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135735.9874 muh0885hs3npk43e31vfpp5loi Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut67812317866781274fec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,19.2,19.2*200.48,19.2,19.2*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,19.2*8.000,19.2*8.000*200.48 ,8.220000,8.220000*200.48 ,8.220000,8.220000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,19.2,19.2*200.48,19.2*8.000,19.2*8.000*200.48,'av25010859414.466000007 ',19.2,19.2*8.000,19.2,19.2*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135736.1860 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.1910 muh0885hs3npk43e31vfpp5loi Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20250110@135736.2070 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.2110 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.969.00.01'
20250110@135736.2290 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.2320 muh0885hs3npk43e31vfpp5loi Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.969.00.01' and sa.armazem = 133 
20250110@135736.3020 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.3050 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.969.00.01'
20250110@135736.3260 muh0885hs3npk43e31vfpp5loi 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.969.00.01'
20250110@135736.5120 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135736.5310 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135736.5470 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135736.5640 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135736.5760 muh0885hs3npk43e31vfpp5loi Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20250110@135736.6020 muh0885hs3npk43e31vfpp5loi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135736.6180 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135736.6330 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135736.6460 muh0885hs3npk43e31vfpp5loi Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6781295066678127500f','aut67812541066781274f48',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135736.7890 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135736.8090 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135736.8260 muh0885hs3npk43e31vfpp5loi Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut6781295066678127500f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,35.2,35.2*200.48,35.2,35.2*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,35.2*6.000,35.2*6.000*200.48 ,15.817000,15.817000*200.48 ,15.817000,15.817000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,35.2,35.2*200.48,35.2*6.000,35.2*6.000*200.48,'av25010859421.623000008 ',35.2,35.2*6.000,35.2,35.2*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
20250110@135736.1121 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.1125 muh0885hs3npk43e31vfpp5loi Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20250110@135736.1139 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.1142 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.948.00.01'
20250110@135736.1159 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.1161 muh0885hs3npk43e31vfpp5loi Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.948.00.01' and sa.armazem = 133 
20250110@135736.1233 muh0885hs3npk43e31vfpp5loi Query : use flama_phc
20250110@135736.1236 muh0885hs3npk43e31vfpp5loi Query : select st.stns valor from st where st.ref = '324.948.00.01'
20250110@135736.1262 muh0885hs3npk43e31vfpp5loi 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.948.00.01'
20250110@135736.1283 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135736.1299 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20250110@135736.1316 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135736.1331 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135736.1340 muh0885hs3npk43e31vfpp5loi Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2400703100a'
20250110@135736.1354 muh0885hs3npk43e31vfpp5loi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250110@135736.1367 muh0885hs3npk43e31vfpp5loi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250110@135736.1382 muh0885hs3npk43e31vfpp5loi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20250110@135736.1393 muh0885hs3npk43e31vfpp5loi Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67812572606781275021','aut67812541066781274f48',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut67812541066781274f48'
