20241219@193400.4698 hboiojsmg9a82ovilrch8qjv6l INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241219@193400.4696 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20241219@193400.4729 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408735 and bi.ref ='304.4320.00.1' and bi.lordem =2
20241219@193400.4759 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.4763 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193400.4801 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.4805 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193400.4842 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.4846 hboiojsmg9a82ovilrch8qjv6l 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')
20241219@193400.4880 hboiojsmg9a82ovilrch8qjv6l 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
20241219@193400.4924 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.4928 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193400.4964 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.4968 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193400.5002 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.5006 hboiojsmg9a82ovilrch8qjv6l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193400.5066 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.5070 hboiojsmg9a82ovilrch8qjv6l Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193400.5155 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.5159 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from td where ndoc = 39
20241219@193400.5175 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193400.5428 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.5451 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193400.5505 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.5526 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193400.5573 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.5598 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193400.5617 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193400.5685 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193400.5706 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.5729 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193400.5764 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647624686764752889' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193400.5964 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.5986 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193400.6026 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193400.6041 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193400.6059 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193400.6076 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193400.6091 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193400.6105 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193400.6120 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647624686764752889',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193400.6414 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193400.6464 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.6486 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193400.6517 hboiojsmg9a82ovilrch8qjv6l Query : select 'normal' from dummy
20241219@193400.6533 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647624686764752889',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2586,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193400.6928 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.6932 hboiojsmg9a82ovilrch8qjv6l Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241219@193400.6957 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241219@193400.7122 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7140 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.7175 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7192 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.7201 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193400.7216 hboiojsmg9a82ovilrch8qjv6l Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241219@193400.7238 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7253 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.7265 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676476948767647528b0','aut67647624686764752889' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193400.7269 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7284 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.7314 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676476948767647528b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67647624686764752889' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193400.7577 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.7580 hboiojsmg9a82ovilrch8qjv6l Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241219@193400.7603 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241219@193400.7618 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7636 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.7666 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7687 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.7698 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193400.7714 hboiojsmg9a82ovilrch8qjv6l Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241219@193400.7728 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7743 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.7755 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676477119767647528bc','aut67647624686764752889' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193400.7760 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.7777 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.7807 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676477119767647528bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',68.000 ,'aut67647624686764752889' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193400.8068 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.8072 hboiojsmg9a82ovilrch8qjv6l Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241219@193400.8097 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241219@193400.8115 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8134 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.8165 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8182 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.8191 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193400.8204 hboiojsmg9a82ovilrch8qjv6l Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241219@193400.8218 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8233 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.8246 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676474798367647528c8','aut67647624686764752889' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193400.8253 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8268 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.8298 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676474798367647528c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut67647624686764752889' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193400.8605 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.8609 hboiojsmg9a82ovilrch8qjv6l Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241219@193400.8631 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241219@193400.8645 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8665 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.8692 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8709 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.8718 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193400.8731 hboiojsmg9a82ovilrch8qjv6l Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241219@193400.8744 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8760 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.8773 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676478720267647528d5','aut67647624686764752889' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193400.8777 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.8793 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.8828 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676478720267647528d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67647624686764752889' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193400.9176 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.9180 hboiojsmg9a82ovilrch8qjv6l Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241219@193400.9205 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241219@193400.9222 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.9240 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.9269 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.9284 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.9293 hboiojsmg9a82ovilrch8qjv6l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193400.9308 hboiojsmg9a82ovilrch8qjv6l Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241219@193400.9323 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.9339 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193400.9354 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676470865567647528e3','aut67647624686764752889' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193400.9359 hboiojsmg9a82ovilrch8qjv6l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193400.9380 hboiojsmg9a82ovilrch8qjv6l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193400.9415 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676470865567647528e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut67647624686764752889' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241219@193400.9672 hboiojsmg9a82ovilrch8qjv6l Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647624686764752889','2408735','wait',39,'adm09112754980.682000002')
20241219@193400.9750 hboiojsmg9a82ovilrch8qjv6l Query : use flama_phc
20241219@193400.9754 hboiojsmg9a82ovilrch8qjv6l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193400.9790 hboiojsmg9a82ovilrch8qjv6l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4134';
20241219@193400.9839 hboiojsmg9a82ovilrch8qjv6l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4134';
20241219@193400.9900 hboiojsmg9a82ovilrch8qjv6l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4134';
20241219@193400.9935 hboiojsmg9a82ovilrch8qjv6l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4134';
20241219@193401.6270 5j0f4mkca46d2c4ohljttn17ef Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193401.6380 5j0f4mkca46d2c4ohljttn17ef Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193401.7970 5j0f4mkca46d2c4ohljttn17ef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4135';
20241219@193401.8750 5j0f4mkca46d2c4ohljttn17ef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4135';
20241219@193401.9460 5j0f4mkca46d2c4ohljttn17ef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4135';
20241219@193401.9870 5j0f4mkca46d2c4ohljttn17ef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4135';
20241219@193401.1052 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.1057 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193401.1128 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.1131 5j0f4mkca46d2c4ohljttn17ef Query : select no, estab,szadrsdesc from szadrs where u_coddest=1761
20241219@193401.1221 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193401.1373 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408745 and bi.ref ='324.1816.00.1' and bi.lordem =1
20241219@193401.1718 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193401.1750 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408745 and bi.ref ='324.1816.00.1' and bi.lordem =1
20241219@193401.1769 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193401.1791 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408745 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241219@193401.2142 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2146 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193401.2194 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2197 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193401.2229 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2231 5j0f4mkca46d2c4ohljttn17ef 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')
20241219@193401.2264 5j0f4mkca46d2c4ohljttn17ef 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
20241219@193401.2306 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2309 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 ~inactivo valor from cl where no = '101828' and estab = 0 order by inactivo desc
20241219@193401.2423 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2427 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193401.2489 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2493 5j0f4mkca46d2c4ohljttn17ef Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193401.2554 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2561 5j0f4mkca46d2c4ohljttn17ef Query : select szadrsstamp valor from szadrs where szadrsdesc='electrocortes, lda'
20241219@193401.2611 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.2614 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from td where ndoc = 39
20241219@193401.2626 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193401.2639 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.2657 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193401.2681 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.2698 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193401.2745 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.2767 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193401.2782 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193401.2838 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193401.2853 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.2875 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193401.2893 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647794086764752943' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193401.3060 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.3078 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193401.3124 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193401.3144 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193401.3156 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193401.3168 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193401.3180 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193401.3192 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193401.3205 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647794086764752943',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193401.3433 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193401.3469 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.3485 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193401.3518 5j0f4mkca46d2c4ohljttn17ef Query : select 'normal' from dummy
20241219@193401.3535 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647794086764752943',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2587,101828,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193401.3814 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.3817 5j0f4mkca46d2c4ohljttn17ef Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241219@193401.3849 5j0f4mkca46d2c4ohljttn17ef 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.1816.00.1'
20241219@193401.3992 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4016 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.4049 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4081 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.4091 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193401.4105 5j0f4mkca46d2c4ohljttn17ef Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241219@193401.4121 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4137 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.4149 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647536956764752964','aut67647794086764752943' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193401.4155 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4171 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.4219 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647536956764752964',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut67647794086764752943' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193401.4462 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4481 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.4511 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4527 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.4537 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193401.4563 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4586 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.4599 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764724570676475296f','aut67647794086764752943' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193401.4604 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4621 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.4657 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764724570676475296f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647794086764752943' ,0,0 ,2,23.00,20000,?,?,?)
20241219@193401.4890 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.4894 5j0f4mkca46d2c4ohljttn17ef Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241219@193401.4919 5j0f4mkca46d2c4ohljttn17ef 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.1816.00.1'
20241219@193401.4934 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.4952 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.4992 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5012 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.5022 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193401.5037 5j0f4mkca46d2c4ohljttn17ef Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241219@193401.5050 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5066 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.5079 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764759316676475297b','aut67647794086764752943' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193401.5084 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5105 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.5136 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764759316676475297b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67647794086764752943' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193401.5373 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5399 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.5437 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5457 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.5467 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193401.5482 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5499 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.5513 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647746416764752985','aut67647794086764752943' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193401.5518 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5539 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.5571 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647746416764752985',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647794086764752943' ,0,0 ,2,23.00,50000,?,?,?)
20241219@193401.5847 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.5851 5j0f4mkca46d2c4ohljttn17ef Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241219@193401.5875 5j0f4mkca46d2c4ohljttn17ef 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.1816.00.1'
20241219@193401.5891 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5912 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.5939 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.5955 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.5966 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193401.5983 5j0f4mkca46d2c4ohljttn17ef Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241219@193401.5996 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.6011 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.6022 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647814616764752992','aut67647794086764752943' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193401.6027 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.6053 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.6089 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647814616764752992',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67647794086764752943' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@193401.6372 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.6390 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.6420 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.6435 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.6444 5j0f4mkca46d2c4ohljttn17ef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193401.6460 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.6481 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193401.6494 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764725061676475299d','aut67647794086764752943' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193401.6499 5j0f4mkca46d2c4ohljttn17ef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193401.6515 5j0f4mkca46d2c4ohljttn17ef Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193401.6568 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764725061676475299d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647794086764752943' ,0,0 ,2,23.00,80000,?,?,?)
20241219@193401.6834 5j0f4mkca46d2c4ohljttn17ef Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647794086764752943','2408745','wait',39,'adm09112754980.682000002')
20241219@193401.6943 5j0f4mkca46d2c4ohljttn17ef Query : use flama_phc
20241219@193401.6948 5j0f4mkca46d2c4ohljttn17ef Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193401.6993 5j0f4mkca46d2c4ohljttn17ef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4135';
20241219@193401.7038 5j0f4mkca46d2c4ohljttn17ef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4135';
20241219@193401.8379 5j0f4mkca46d2c4ohljttn17ef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4135';
20241219@193401.8473 5j0f4mkca46d2c4ohljttn17ef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4135';
20241219@193401.9122 o4omcc6mn972q52laa4iomqujh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193401.9137 o4omcc6mn972q52laa4iomqujh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193401.9219 o4omcc6mn972q52laa4iomqujh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4136';
20241219@193401.9322 o4omcc6mn972q52laa4iomqujh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4136';
20241219@193401.9398 o4omcc6mn972q52laa4iomqujh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4136';
20241219@193401.9454 o4omcc6mn972q52laa4iomqujh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4136';
20241219@193401.9555 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193401.9559 o4omcc6mn972q52laa4iomqujh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193401.9651 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193401.9672 o4omcc6mn972q52laa4iomqujh Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241219@193401.9775 o4omcc6mn972q52laa4iomqujh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20241219@193401.9923 o4omcc6mn972q52laa4iomqujh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408746 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241219@193402.2630 o4omcc6mn972q52laa4iomqujh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20241219@193402.2950 o4omcc6mn972q52laa4iomqujh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408746 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241219@193402.3140 o4omcc6mn972q52laa4iomqujh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20241219@193402.3430 o4omcc6mn972q52laa4iomqujh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408746 and bi.ref ='324.1831.00.2' and bi.lordem =1
20241219@193402.3640 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.3680 o4omcc6mn972q52laa4iomqujh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193402.4060 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.4100 o4omcc6mn972q52laa4iomqujh Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193402.4470 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.4660 o4omcc6mn972q52laa4iomqujh 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')
20241219@193402.5260 o4omcc6mn972q52laa4iomqujh 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
20241219@193402.5750 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.5800 o4omcc6mn972q52laa4iomqujh Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241219@193402.7300 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.7340 o4omcc6mn972q52laa4iomqujh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193402.8090 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.8140 o4omcc6mn972q52laa4iomqujh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193402.8710 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.8940 o4omcc6mn972q52laa4iomqujh Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241219@193402.1014 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.1019 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from td where ndoc = 39
20241219@193402.1035 o4omcc6mn972q52laa4iomqujh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193402.1053 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.1093 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193402.1124 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.1144 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193402.1226 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.1250 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193402.1294 o4omcc6mn972q52laa4iomqujh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193402.1394 o4omcc6mn972q52laa4iomqujh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193402.1413 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.1434 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193402.1454 o4omcc6mn972q52laa4iomqujh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647695146764752a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193402.1669 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.1692 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193402.1738 o4omcc6mn972q52laa4iomqujh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193402.1754 o4omcc6mn972q52laa4iomqujh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193402.1768 o4omcc6mn972q52laa4iomqujh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193402.1783 o4omcc6mn972q52laa4iomqujh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193402.1797 o4omcc6mn972q52laa4iomqujh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193402.1812 o4omcc6mn972q52laa4iomqujh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193402.1827 o4omcc6mn972q52laa4iomqujh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647695146764752a1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193402.2107 o4omcc6mn972q52laa4iomqujh Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193402.2143 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.2164 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193402.2191 o4omcc6mn972q52laa4iomqujh Query : select 'normal' from dummy
20241219@193402.2209 o4omcc6mn972q52laa4iomqujh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647695146764752a1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2588,102943,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193402.2534 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.2538 o4omcc6mn972q52laa4iomqujh Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241219@193402.2565 o4omcc6mn972q52laa4iomqujh 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.1831.00.2'
20241219@193402.2735 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.2755 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.2784 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.2804 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.2815 o4omcc6mn972q52laa4iomqujh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193402.2829 o4omcc6mn972q52laa4iomqujh Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400922200a'
20241219@193402.2845 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.2866 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.2895 o4omcc6mn972q52laa4iomqujh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647495586764752a45','aut67647695146764752a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193402.2902 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.2991 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.3105 o4omcc6mn972q52laa4iomqujh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647495586764752a45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67647695146764752a1f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193402.3434 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.3460 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.3534 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.3568 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.3592 o4omcc6mn972q52laa4iomqujh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193402.3610 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.3643 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.3659 o4omcc6mn972q52laa4iomqujh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647131886764752a58','aut67647695146764752a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193402.3665 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.3687 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.3741 o4omcc6mn972q52laa4iomqujh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647131886764752a58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647695146764752a1f' ,0,0 ,2,23.00,20000,?,?,?)
20241219@193402.5425 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.5440 o4omcc6mn972q52laa4iomqujh Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241219@193402.5467 o4omcc6mn972q52laa4iomqujh 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.1831.00.2'
20241219@193402.5486 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.5521 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.5559 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.5581 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.5595 o4omcc6mn972q52laa4iomqujh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193402.5618 o4omcc6mn972q52laa4iomqujh Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400922200a'
20241219@193402.5633 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.5656 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.5673 o4omcc6mn972q52laa4iomqujh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647154926764752a89','aut67647695146764752a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193402.5679 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.5698 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.5748 o4omcc6mn972q52laa4iomqujh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647154926764752a89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67647695146764752a1f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193402.6074 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6094 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.6129 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6157 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.6168 o4omcc6mn972q52laa4iomqujh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193402.6183 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6205 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.6220 o4omcc6mn972q52laa4iomqujh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647391936764752a96','aut67647695146764752a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193402.6225 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6245 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.6281 o4omcc6mn972q52laa4iomqujh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647391936764752a96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647695146764752a1f' ,0,0 ,2,23.00,50000,?,?,?)
20241219@193402.6590 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.6595 o4omcc6mn972q52laa4iomqujh Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241219@193402.6622 o4omcc6mn972q52laa4iomqujh 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.1831.00.2'
20241219@193402.6639 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6660 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.6691 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6712 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.6724 o4omcc6mn972q52laa4iomqujh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193402.6740 o4omcc6mn972q52laa4iomqujh Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400922200a'
20241219@193402.6756 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6776 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.6791 o4omcc6mn972q52laa4iomqujh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647541446764752aa4','aut67647695146764752a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193402.6797 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.6817 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.6854 o4omcc6mn972q52laa4iomqujh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647541446764752aa4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67647695146764752a1f' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@193402.7145 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.7173 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.7205 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.7223 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.7234 o4omcc6mn972q52laa4iomqujh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193402.7249 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.7271 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193402.7286 o4omcc6mn972q52laa4iomqujh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647735846764752ab0','aut67647695146764752a1f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193402.7292 o4omcc6mn972q52laa4iomqujh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193402.7313 o4omcc6mn972q52laa4iomqujh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193402.7348 o4omcc6mn972q52laa4iomqujh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647735846764752ab0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647695146764752a1f' ,0,0 ,2,23.00,80000,?,?,?)
20241219@193402.7651 o4omcc6mn972q52laa4iomqujh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647695146764752a1f','2408746','wait',39,'adm09112754980.682000002')
20241219@193402.7736 o4omcc6mn972q52laa4iomqujh Query : use flama_phc
20241219@193402.7741 o4omcc6mn972q52laa4iomqujh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193402.7774 o4omcc6mn972q52laa4iomqujh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4136';
20241219@193402.7826 o4omcc6mn972q52laa4iomqujh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4136';
20241219@193402.7893 o4omcc6mn972q52laa4iomqujh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4136';
20241219@193402.7940 o4omcc6mn972q52laa4iomqujh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4136';
20241219@193402.8643 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193402.8691 4ijnnmrc4otdqmjqp0ge6qpdff Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193402.9514 4ijnnmrc4otdqmjqp0ge6qpdff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4137';
20241219@193402.9602 4ijnnmrc4otdqmjqp0ge6qpdff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4137';
20241219@193403.1010 4ijnnmrc4otdqmjqp0ge6qpdff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4137';
20241219@193403.1550 4ijnnmrc4otdqmjqp0ge6qpdff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4137';
20241219@193403.2320 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.2370 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193403.3080 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.3120 4ijnnmrc4otdqmjqp0ge6qpdff Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193403.3690 4ijnnmrc4otdqmjqp0ge6qpdff 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'
20241219@193403.5900 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408755 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241219@193403.9440 4ijnnmrc4otdqmjqp0ge6qpdff 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'
20241219@193403.9670 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408755 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241219@193403.9850 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.9890 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193403.1026 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.1030 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193403.1073 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.1077 4ijnnmrc4otdqmjqp0ge6qpdff 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')
20241219@193403.1117 4ijnnmrc4otdqmjqp0ge6qpdff 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
20241219@193403.1155 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.1159 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193403.1193 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.1197 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193403.1227 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.1230 4ijnnmrc4otdqmjqp0ge6qpdff Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193403.1268 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.1271 4ijnnmrc4otdqmjqp0ge6qpdff Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193403.1315 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.1318 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from td where ndoc = 39
20241219@193403.1331 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193403.1345 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.1363 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193403.1383 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.1399 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193403.1428 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.1444 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193403.1460 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193403.1544 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193403.1560 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.1581 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193403.1600 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647074216764752b23' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193403.1783 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.1813 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193403.1851 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193403.1869 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193403.1888 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193403.1902 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193403.1930 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193403.1945 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193403.1965 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647074216764752b23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193403.2275 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193403.2341 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.2370 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193403.2396 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 'normal' from dummy
20241219@193403.2427 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647074216764752b23',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2589,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193403.2742 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.2747 4ijnnmrc4otdqmjqp0ge6qpdff Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241219@193403.2784 4ijnnmrc4otdqmjqp0ge6qpdff 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'
20241219@193403.3033 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3076 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.3155 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3192 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.3205 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193403.3245 4ijnnmrc4otdqmjqp0ge6qpdff Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241219@193403.3284 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3311 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.3325 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647938186764752b50','aut67647074216764752b23' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193403.3331 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3352 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.3390 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647938186764752b50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut67647074216764752b23' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193403.3726 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3746 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.3779 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3805 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.3816 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193403.3830 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3848 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.3863 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647182626764752b5d','aut67647074216764752b23' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193403.3868 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.3929 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.3970 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647182626764752b5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647074216764752b23' ,0,0 ,2,23.00,20000,?,?,?)
20241219@193403.4243 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.4251 4ijnnmrc4otdqmjqp0ge6qpdff Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241219@193403.4283 4ijnnmrc4otdqmjqp0ge6qpdff 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'
20241219@193403.4299 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.4317 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.4874 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.4905 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.4915 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193403.4928 4ijnnmrc4otdqmjqp0ge6qpdff Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241219@193403.4954 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.4976 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.4993 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647997056764752b78','aut67647074216764752b23' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193403.4998 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.5019 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.5050 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647997056764752b78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut67647074216764752b23' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193403.5468 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.5493 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.5526 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.5545 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.5555 4ijnnmrc4otdqmjqp0ge6qpdff Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193403.5570 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.5589 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193403.5605 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647229046764752b87','aut67647074216764752b23' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193403.5611 4ijnnmrc4otdqmjqp0ge6qpdff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.5628 4ijnnmrc4otdqmjqp0ge6qpdff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193403.5660 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647229046764752b87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647074216764752b23' ,0,0 ,2,23.00,50000,?,?,?)
20241219@193403.5919 4ijnnmrc4otdqmjqp0ge6qpdff Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647074216764752b23','2408755','wait',39,'adm09112754980.682000002')
20241219@193403.6005 4ijnnmrc4otdqmjqp0ge6qpdff Query : use flama_phc
20241219@193403.6009 4ijnnmrc4otdqmjqp0ge6qpdff Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193403.6044 4ijnnmrc4otdqmjqp0ge6qpdff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4137';
20241219@193403.6099 4ijnnmrc4otdqmjqp0ge6qpdff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4137';
20241219@193403.6165 4ijnnmrc4otdqmjqp0ge6qpdff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4137';
20241219@193403.6217 4ijnnmrc4otdqmjqp0ge6qpdff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4137';
20241219@193403.6799 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193403.6815 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193403.6890 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4138';
20241219@193403.6968 u4m9gvl0ht4sov98nk0k2h9kl7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4138';
20241219@193403.7049 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4138';
20241219@193403.7090 u4m9gvl0ht4sov98nk0k2h9kl7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4138';
20241219@193403.7164 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.7168 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193403.7247 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.7250 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241219@193403.7374 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241219@193403.7542 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408759 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241219@193403.7886 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.7890 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193403.7932 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.7935 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193403.7973 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.7976 u4m9gvl0ht4sov98nk0k2h9kl7 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')
20241219@193403.8004 u4m9gvl0ht4sov98nk0k2h9kl7 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
20241219@193403.8041 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.8044 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193403.8076 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.8078 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193403.8113 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.8116 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193403.8157 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.8160 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241219@193403.8206 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193403.8209 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from td where ndoc = 39
20241219@193403.8224 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193403.8240 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193403.9465 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193404.2490 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.2670 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193404.2960 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3520 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193404.5950 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193404.6510 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193404.6660 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.7240 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193404.2361 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647392216764752c0e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193404.2544 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.2562 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193404.2598 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193404.2611 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193404.2623 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193404.2634 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193404.2645 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193404.2658 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193404.2669 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647392216764752c0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193404.2906 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193404.2939 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.2957 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193404.2985 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 'normal' from dummy
20241219@193404.3001 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647392216764752c0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2590,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193404.3283 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193404.3287 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241219@193404.3311 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241219@193404.3450 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3469 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193404.3498 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3514 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193404.3523 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193404.3535 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241219@193404.3551 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3567 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193404.3581 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647494336764752c56','aut67647392216764752c0e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193404.3586 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3602 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193404.3634 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647494336764752c56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67647392216764752c0e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193404.3885 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3905 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193404.3937 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3954 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193404.3966 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193404.3981 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.3997 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193404.4010 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647377406764752c61','aut67647392216764752c0e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193404.4015 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.4030 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193404.4061 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647377406764752c61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647392216764752c0e' ,0,0 ,2,23.00,20000,?,?,?)
20241219@193404.4304 u4m9gvl0ht4sov98nk0k2h9kl7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647392216764752c0e','2408759','wait',39,'adm09112754980.682000002')
20241219@193404.4376 u4m9gvl0ht4sov98nk0k2h9kl7 Query : use flama_phc
20241219@193404.4379 u4m9gvl0ht4sov98nk0k2h9kl7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193404.4409 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4138';
20241219@193404.4451 u4m9gvl0ht4sov98nk0k2h9kl7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4138';
20241219@193404.4505 u4m9gvl0ht4sov98nk0k2h9kl7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4138';
20241219@193404.4537 u4m9gvl0ht4sov98nk0k2h9kl7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4138';
20241219@193404.5062 0jlgnmuaikom27bmqqnq3fgc6i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193404.5073 0jlgnmuaikom27bmqqnq3fgc6i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193404.5143 0jlgnmuaikom27bmqqnq3fgc6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4139';
20241219@193404.5210 0jlgnmuaikom27bmqqnq3fgc6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4139';
20241219@193404.5275 0jlgnmuaikom27bmqqnq3fgc6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4139';
20241219@193404.5308 0jlgnmuaikom27bmqqnq3fgc6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4139';
20241219@193404.5369 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.5373 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193404.5440 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.5443 0jlgnmuaikom27bmqqnq3fgc6i Query : select no, estab,szadrsdesc from szadrs where u_coddest=743
20241219@193404.5552 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193404.5689 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408767 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193404.6017 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20241219@193404.6161 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408767 and bi.ref ='324.691.00.01' and bi.lordem =2
20241219@193404.6499 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20241219@193404.6644 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408767 and bi.ref ='324.5501.00.1' and bi.lordem =3
20241219@193404.6978 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20241219@193404.7121 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408767 and bi.ref ='323.367.09.00' and bi.lordem =4
20241219@193404.7453 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7457 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193404.7491 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7494 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193404.7526 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7530 0jlgnmuaikom27bmqqnq3fgc6i 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')
20241219@193404.7559 0jlgnmuaikom27bmqqnq3fgc6i 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
20241219@193404.7596 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7599 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 ~inactivo valor from cl where no = '100497' and estab = 0 order by inactivo desc
20241219@193404.7714 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7717 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193404.7749 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7752 0jlgnmuaikom27bmqqnq3fgc6i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193404.7793 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7796 0jlgnmuaikom27bmqqnq3fgc6i Query : select szadrsstamp valor from szadrs where szadrsdesc='utilar-utilidades para o lar, lda.'
20241219@193404.7842 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.7845 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from td where ndoc = 39
20241219@193404.7858 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193404.7873 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.7891 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193404.7913 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.7929 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193404.7960 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.7975 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193404.7989 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193404.8045 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193404.8059 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.8074 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193404.8089 0jlgnmuaikom27bmqqnq3fgc6i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647341116764752cc3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193404.8269 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.8291 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193404.8327 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193404.8340 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193404.8355 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193404.8369 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193404.8381 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193404.8392 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193404.8403 0jlgnmuaikom27bmqqnq3fgc6i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647341116764752cc3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193404.8646 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193404.8678 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.8697 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193404.8722 0jlgnmuaikom27bmqqnq3fgc6i Query : select 'normal' from dummy
20241219@193404.8740 0jlgnmuaikom27bmqqnq3fgc6i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647341116764752cc3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2591,100497,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193404.9033 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.9036 0jlgnmuaikom27bmqqnq3fgc6i Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193404.9062 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193404.9204 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.9222 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193404.9249 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.9265 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193404.9276 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193404.9290 0jlgnmuaikom27bmqqnq3fgc6i Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193404.9306 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.9321 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193404.9333 0jlgnmuaikom27bmqqnq3fgc6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647836116764752ce3','aut67647341116764752cc3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193404.9337 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193404.9351 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193404.9379 0jlgnmuaikom27bmqqnq3fgc6i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647836116764752ce3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67647341116764752cc3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193404.9680 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193404.9763 0jlgnmuaikom27bmqqnq3fgc6i Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241219@193404.9984 0jlgnmuaikom27bmqqnq3fgc6i 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.691.00.01'
20241219@193405.3430 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.3610 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193405.3870 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.4030 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193405.4120 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193405.5890 0jlgnmuaikom27bmqqnq3fgc6i Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400837300a'
20241219@193405.1426 0jlgnmuaikom27bmqqnq3fgc6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.1611 0jlgnmuaikom27bmqqnq3fgc6i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193405.1623 0jlgnmuaikom27bmqqnq3fgc6i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647397436764752d22','aut67647341116764752cc3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193405.1641 0jlgnmuaikom27bmqqnq3fgc6i Query : use flama_phc
20241219@193405.1644 0jlgnmuaikom27bmqqnq3fgc6i Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@193405.2297 0jlgnmuaikom27bmqqnq3fgc6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4139';
20241219@193405.2339 0jlgnmuaikom27bmqqnq3fgc6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4139';
20241219@193405.2876 i86022119bt32ns6kghe2svhfn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193405.2887 i86022119bt32ns6kghe2svhfn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193405.2968 i86022119bt32ns6kghe2svhfn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4140';
20241219@193405.3500 i86022119bt32ns6kghe2svhfn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4140';
20241219@193405.3586 i86022119bt32ns6kghe2svhfn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4140';
20241219@193405.3628 i86022119bt32ns6kghe2svhfn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4140';
20241219@193405.3709 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.3713 i86022119bt32ns6kghe2svhfn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193405.3797 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.3801 i86022119bt32ns6kghe2svhfn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193405.3852 i86022119bt32ns6kghe2svhfn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241219@193405.4010 i86022119bt32ns6kghe2svhfn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408784 and bi.ref ='324.2222.00.1' and bi.lordem =1
20241219@193405.4337 i86022119bt32ns6kghe2svhfn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241219@193405.4361 i86022119bt32ns6kghe2svhfn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408784 and bi.ref ='324.2222.00.1' and bi.lordem =1
20241219@193405.4379 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4382 i86022119bt32ns6kghe2svhfn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193405.4417 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4420 i86022119bt32ns6kghe2svhfn Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193405.4449 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4452 i86022119bt32ns6kghe2svhfn 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')
20241219@193405.4479 i86022119bt32ns6kghe2svhfn 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
20241219@193405.4513 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4516 i86022119bt32ns6kghe2svhfn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193405.4546 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4549 i86022119bt32ns6kghe2svhfn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193405.4579 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4582 i86022119bt32ns6kghe2svhfn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193405.4621 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4624 i86022119bt32ns6kghe2svhfn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193405.4668 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.4671 i86022119bt32ns6kghe2svhfn Query : select 1 valor from td where ndoc = 39
20241219@193405.4683 i86022119bt32ns6kghe2svhfn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193405.4697 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.4717 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193405.4737 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.4752 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193405.4779 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.4793 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193405.4810 i86022119bt32ns6kghe2svhfn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193405.4873 i86022119bt32ns6kghe2svhfn Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193405.4888 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.4913 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193405.4931 i86022119bt32ns6kghe2svhfn Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647667426764752d75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193405.5102 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.5122 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193405.5159 i86022119bt32ns6kghe2svhfn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193405.5171 i86022119bt32ns6kghe2svhfn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193405.5183 i86022119bt32ns6kghe2svhfn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193405.5195 i86022119bt32ns6kghe2svhfn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193405.5210 i86022119bt32ns6kghe2svhfn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193405.5223 i86022119bt32ns6kghe2svhfn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193405.5234 i86022119bt32ns6kghe2svhfn Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647667426764752d75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193405.5460 i86022119bt32ns6kghe2svhfn Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193405.5494 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.5514 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193405.5536 i86022119bt32ns6kghe2svhfn Query : select 'normal' from dummy
20241219@193405.5552 i86022119bt32ns6kghe2svhfn Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647667426764752d75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2591,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193405.5836 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.5840 i86022119bt32ns6kghe2svhfn Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241219@193405.5868 i86022119bt32ns6kghe2svhfn 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.2222.00.1'
20241219@193405.6021 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6038 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193405.6064 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6079 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193405.6088 i86022119bt32ns6kghe2svhfn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193405.6100 i86022119bt32ns6kghe2svhfn Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301280100a'
20241219@193405.6146 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6164 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193405.6177 i86022119bt32ns6kghe2svhfn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647918156764752d96','aut67647667426764752d75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193405.6182 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6197 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193405.6225 i86022119bt32ns6kghe2svhfn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647918156764752d96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut67647667426764752d75' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193405.6499 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.6503 i86022119bt32ns6kghe2svhfn Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241219@193405.6525 i86022119bt32ns6kghe2svhfn 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.2222.00.1'
20241219@193405.6541 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6559 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193405.6586 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6603 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193405.6615 i86022119bt32ns6kghe2svhfn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193405.6630 i86022119bt32ns6kghe2svhfn Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301280100a'
20241219@193405.6643 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6662 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193405.6676 i86022119bt32ns6kghe2svhfn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647402166764752da2','aut67647667426764752d75' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193405.6681 i86022119bt32ns6kghe2svhfn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.6697 i86022119bt32ns6kghe2svhfn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193405.6730 i86022119bt32ns6kghe2svhfn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647402166764752da2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut67647667426764752d75' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193405.6975 i86022119bt32ns6kghe2svhfn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647667426764752d75','2408784','wait',39,'adm09112754980.682000002')
20241219@193405.7048 i86022119bt32ns6kghe2svhfn Query : use flama_phc
20241219@193405.7053 i86022119bt32ns6kghe2svhfn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193405.7087 i86022119bt32ns6kghe2svhfn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4140';
20241219@193405.7134 i86022119bt32ns6kghe2svhfn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4140';
20241219@193405.7191 i86022119bt32ns6kghe2svhfn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4140';
20241219@193405.7230 i86022119bt32ns6kghe2svhfn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4140';
20241219@193405.7747 mbickss22h46mo6bagcgka7li3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193405.7760 mbickss22h46mo6bagcgka7li3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193405.7830 mbickss22h46mo6bagcgka7li3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4141';
20241219@193405.7904 mbickss22h46mo6bagcgka7li3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4141';
20241219@193405.7975 mbickss22h46mo6bagcgka7li3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4141';
20241219@193405.8011 mbickss22h46mo6bagcgka7li3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4141';
20241219@193405.8085 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.8088 mbickss22h46mo6bagcgka7li3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193405.8151 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.8154 mbickss22h46mo6bagcgka7li3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193405.8201 mbickss22h46mo6bagcgka7li3 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'
20241219@193405.8222 mbickss22h46mo6bagcgka7li3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408785 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241219@193405.8802 mbickss22h46mo6bagcgka7li3 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'
20241219@193405.8851 mbickss22h46mo6bagcgka7li3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408785 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241219@193405.8868 mbickss22h46mo6bagcgka7li3 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'
20241219@193405.8890 mbickss22h46mo6bagcgka7li3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408785 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241219@193405.8910 mbickss22h46mo6bagcgka7li3 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'
20241219@193405.8930 mbickss22h46mo6bagcgka7li3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408785 and bi.ref ='324.1416.00.1' and bi.lordem =1
20241219@193405.8948 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.8951 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193405.8991 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.8994 mbickss22h46mo6bagcgka7li3 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193405.9026 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.9030 mbickss22h46mo6bagcgka7li3 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')
20241219@193405.9061 mbickss22h46mo6bagcgka7li3 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
20241219@193405.9099 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.9102 mbickss22h46mo6bagcgka7li3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193405.9134 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.9138 mbickss22h46mo6bagcgka7li3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193405.9170 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.9174 mbickss22h46mo6bagcgka7li3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193405.9256 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.9298 mbickss22h46mo6bagcgka7li3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193405.9502 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193405.9507 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from td where ndoc = 39
20241219@193405.9523 mbickss22h46mo6bagcgka7li3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193405.9556 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.9576 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193405.9597 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.9614 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193405.9646 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.9664 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193405.9678 mbickss22h46mo6bagcgka7li3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193405.9735 mbickss22h46mo6bagcgka7li3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193405.9747 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193405.9763 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193405.9779 mbickss22h46mo6bagcgka7li3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193406.6600 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.2272 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193406.2309 mbickss22h46mo6bagcgka7li3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193406.2323 mbickss22h46mo6bagcgka7li3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193406.2337 mbickss22h46mo6bagcgka7li3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193406.2351 mbickss22h46mo6bagcgka7li3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193406.2365 mbickss22h46mo6bagcgka7li3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193406.2381 mbickss22h46mo6bagcgka7li3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193406.2394 mbickss22h46mo6bagcgka7li3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647735096764752dec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193406.2795 mbickss22h46mo6bagcgka7li3 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193406.2831 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.2888 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193406.4077 mbickss22h46mo6bagcgka7li3 Query : select 'normal' from dummy
20241219@193406.4095 mbickss22h46mo6bagcgka7li3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647735096764752dec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2592,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193406.4386 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193406.4390 mbickss22h46mo6bagcgka7li3 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241219@193406.4416 mbickss22h46mo6bagcgka7li3 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'
20241219@193406.4432 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.4450 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.4487 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.4501 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.4510 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.4523 mbickss22h46mo6bagcgka7li3 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241219@193406.4536 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.4551 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.4563 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647398386764752e6e','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.4569 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.4584 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.4611 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647398386764752e6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67647735096764752dec' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193406.4880 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.4898 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.4927 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.4943 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.4954 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.4970 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.4985 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.4999 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647795706764752e79','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.5004 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.5020 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.5050 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647795706764752e79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647735096764752dec' ,0,0 ,2,23.00,20000,?,?,?)
20241219@193406.5311 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193406.5314 mbickss22h46mo6bagcgka7li3 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241219@193406.5337 mbickss22h46mo6bagcgka7li3 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'
20241219@193406.5352 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.5369 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.5395 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.5412 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.5422 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.5435 mbickss22h46mo6bagcgka7li3 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241219@193406.5449 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.5464 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.5477 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647883736764752e85','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.5482 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.5498 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.5529 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647883736764752e85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67647735096764752dec' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193406.6049 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6069 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.6096 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6112 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.6121 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.6134 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6149 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.6162 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647570646764752e95','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.6167 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6184 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.6215 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647570646764752e95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647735096764752dec' ,0,0 ,2,23.00,50000,?,?,?)
20241219@193406.6546 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193406.6589 mbickss22h46mo6bagcgka7li3 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241219@193406.6717 mbickss22h46mo6bagcgka7li3 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'
20241219@193406.6732 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6749 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.6775 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6789 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.6797 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.6810 mbickss22h46mo6bagcgka7li3 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241219@193406.6822 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6836 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.6847 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647775536764752ea6','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.6851 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.6867 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.6893 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647775536764752ea6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut67647735096764752dec' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@193406.7175 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7222 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.7250 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7267 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.7276 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.7288 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7305 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.7318 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647869336764752eb1','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.7322 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7337 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.7366 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647869336764752eb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647735096764752dec' ,0,0 ,2,23.00,80000,?,?,?)
20241219@193406.7607 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193406.7610 mbickss22h46mo6bagcgka7li3 Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20241219@193406.7632 mbickss22h46mo6bagcgka7li3 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'
20241219@193406.7647 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7664 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.7691 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7711 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.7721 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.7733 mbickss22h46mo6bagcgka7li3 Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20241219@193406.7747 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7763 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.7775 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647059246764752ebd','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.7780 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.7795 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.7824 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647059246764752ebd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut67647735096764752dec' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241219@193406.8087 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.8107 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.8140 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.8158 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.8171 mbickss22h46mo6bagcgka7li3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193406.8185 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.8201 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193406.8214 mbickss22h46mo6bagcgka7li3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647018246764752ec7','aut67647735096764752dec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193406.8219 mbickss22h46mo6bagcgka7li3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193406.8234 mbickss22h46mo6bagcgka7li3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193406.8263 mbickss22h46mo6bagcgka7li3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647018246764752ec7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647735096764752dec' ,0,0 ,2,23.00,110000,?,?,?)
20241219@193406.8522 mbickss22h46mo6bagcgka7li3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647735096764752dec','2408785','wait',39,'adm09112754980.682000002')
20241219@193406.8600 mbickss22h46mo6bagcgka7li3 Query : use flama_phc
20241219@193406.8604 mbickss22h46mo6bagcgka7li3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193406.8646 mbickss22h46mo6bagcgka7li3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4141';
20241219@193406.8698 mbickss22h46mo6bagcgka7li3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4141';
20241219@193406.8781 mbickss22h46mo6bagcgka7li3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4141';
20241219@193406.8845 mbickss22h46mo6bagcgka7li3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4141';
20241219@193406.9497 jeddb23lklq9o3ills61fhn37i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193406.9509 jeddb23lklq9o3ills61fhn37i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193406.9583 jeddb23lklq9o3ills61fhn37i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4142';
20241219@193406.9647 jeddb23lklq9o3ills61fhn37i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4142';
20241219@193406.9722 jeddb23lklq9o3ills61fhn37i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4142';
20241219@193406.9756 jeddb23lklq9o3ills61fhn37i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4142';
20241219@193406.9824 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193406.9827 jeddb23lklq9o3ills61fhn37i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193406.9900 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193406.9903 jeddb23lklq9o3ills61fhn37i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193406.9951 jeddb23lklq9o3ills61fhn37i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241219@193407.1040 jeddb23lklq9o3ills61fhn37i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408786 and bi.ref ='324.1833.00.2' and bi.lordem =1
20241219@193407.4590 jeddb23lklq9o3ills61fhn37i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241219@193407.4800 jeddb23lklq9o3ills61fhn37i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408786 and bi.ref ='324.1833.00.2' and bi.lordem =1
20241219@193407.4960 jeddb23lklq9o3ills61fhn37i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241219@193407.5160 jeddb23lklq9o3ills61fhn37i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408786 and bi.ref ='324.1833.00.2' and bi.lordem =1
20241219@193407.5330 jeddb23lklq9o3ills61fhn37i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241219@193407.5540 jeddb23lklq9o3ills61fhn37i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408786 and bi.ref ='324.1833.00.2' and bi.lordem =2
20241219@193407.8980 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.9020 jeddb23lklq9o3ills61fhn37i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193407.9390 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.9420 jeddb23lklq9o3ills61fhn37i Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193407.9750 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.9780 jeddb23lklq9o3ills61fhn37i 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')
20241219@193407.1009 jeddb23lklq9o3ills61fhn37i 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
20241219@193407.1050 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.1053 jeddb23lklq9o3ills61fhn37i Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193407.1092 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.1095 jeddb23lklq9o3ills61fhn37i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193407.1130 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.1133 jeddb23lklq9o3ills61fhn37i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193407.1190 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.1193 jeddb23lklq9o3ills61fhn37i Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193407.1246 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.1249 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from td where ndoc = 39
20241219@193407.1265 jeddb23lklq9o3ills61fhn37i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193407.1279 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.1301 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193407.1322 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.1347 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193407.1378 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.1393 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193407.1410 jeddb23lklq9o3ills61fhn37i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193407.1484 jeddb23lklq9o3ills61fhn37i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193407.1635 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.2169 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193407.2190 jeddb23lklq9o3ills61fhn37i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647700576764752f22' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193407.2377 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.2401 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193407.2443 jeddb23lklq9o3ills61fhn37i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193407.2475 jeddb23lklq9o3ills61fhn37i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193407.2487 jeddb23lklq9o3ills61fhn37i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193407.2506 jeddb23lklq9o3ills61fhn37i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193407.2519 jeddb23lklq9o3ills61fhn37i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193407.2533 jeddb23lklq9o3ills61fhn37i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193407.2546 jeddb23lklq9o3ills61fhn37i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647700576764752f22',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193407.2850 jeddb23lklq9o3ills61fhn37i Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193407.2903 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.2924 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193407.2952 jeddb23lklq9o3ills61fhn37i Query : select 'normal' from dummy
20241219@193407.2970 jeddb23lklq9o3ills61fhn37i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647700576764752f22',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2593,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193407.3720 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.3723 jeddb23lklq9o3ills61fhn37i Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241219@193407.3780 jeddb23lklq9o3ills61fhn37i 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.1833.00.2'
20241219@193407.3946 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.3967 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.3995 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.4013 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.4022 jeddb23lklq9o3ills61fhn37i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193407.4035 jeddb23lklq9o3ills61fhn37i Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241219@193407.4050 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.4070 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.4082 jeddb23lklq9o3ills61fhn37i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647877056764752f62','aut67647700576764752f22' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193407.4087 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.4104 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.4136 jeddb23lklq9o3ills61fhn37i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647877056764752f62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67647700576764752f22' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193407.4765 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.4768 jeddb23lklq9o3ills61fhn37i Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241219@193407.4790 jeddb23lklq9o3ills61fhn37i 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.1833.00.2'
20241219@193407.4806 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.4824 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.4855 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.4872 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.4881 jeddb23lklq9o3ills61fhn37i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193407.4896 jeddb23lklq9o3ills61fhn37i Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2400287100a'
20241219@193407.4917 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.4934 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.4947 jeddb23lklq9o3ills61fhn37i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647310126764752f78','aut67647700576764752f22' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193407.4972 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.4996 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.5245 jeddb23lklq9o3ills61fhn37i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647310126764752f78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67647700576764752f22' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193407.5558 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.5562 jeddb23lklq9o3ills61fhn37i Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241219@193407.5671 jeddb23lklq9o3ills61fhn37i 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.1833.00.2'
20241219@193407.5686 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.5719 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.5752 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.5771 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.5783 jeddb23lklq9o3ills61fhn37i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193407.5796 jeddb23lklq9o3ills61fhn37i Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2400287100a'
20241219@193407.5809 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.5834 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.5846 jeddb23lklq9o3ills61fhn37i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647425086764752f8d','aut67647700576764752f22' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193407.5851 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.5885 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.5918 jeddb23lklq9o3ills61fhn37i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647425086764752f8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67647700576764752f22' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193407.6208 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.6212 jeddb23lklq9o3ills61fhn37i Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241219@193407.6242 jeddb23lklq9o3ills61fhn37i 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.1833.00.2'
20241219@193407.6278 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.6301 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.6337 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.6359 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.6369 jeddb23lklq9o3ills61fhn37i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193407.6383 jeddb23lklq9o3ills61fhn37i Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2400287100a'
20241219@193407.6396 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.6423 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193407.6656 jeddb23lklq9o3ills61fhn37i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647314736764752f9c','aut67647700576764752f22' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193407.6662 jeddb23lklq9o3ills61fhn37i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.6688 jeddb23lklq9o3ills61fhn37i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193407.6937 jeddb23lklq9o3ills61fhn37i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647314736764752f9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut67647700576764752f22' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193407.7207 jeddb23lklq9o3ills61fhn37i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647700576764752f22','2408786','wait',39,'adm09112754980.682000002')
20241219@193407.7408 jeddb23lklq9o3ills61fhn37i Query : use flama_phc
20241219@193407.7413 jeddb23lklq9o3ills61fhn37i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193407.7454 jeddb23lklq9o3ills61fhn37i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4142';
20241219@193407.7499 jeddb23lklq9o3ills61fhn37i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4142';
20241219@193407.7574 jeddb23lklq9o3ills61fhn37i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4142';
20241219@193407.7612 jeddb23lklq9o3ills61fhn37i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4142';
20241219@193407.8135 pocouvge1rlf999viv2hqkcfga Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193407.8149 pocouvge1rlf999viv2hqkcfga Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193407.8236 pocouvge1rlf999viv2hqkcfga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4143';
20241219@193407.8317 pocouvge1rlf999viv2hqkcfga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4143';
20241219@193407.8407 pocouvge1rlf999viv2hqkcfga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4143';
20241219@193407.8452 pocouvge1rlf999viv2hqkcfga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4143';
20241219@193407.8536 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.8540 pocouvge1rlf999viv2hqkcfga Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193407.8632 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.8635 pocouvge1rlf999viv2hqkcfga Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193407.8687 pocouvge1rlf999viv2hqkcfga Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@193407.8834 pocouvge1rlf999viv2hqkcfga Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408787 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@193407.9164 pocouvge1rlf999viv2hqkcfga Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@193407.9191 pocouvge1rlf999viv2hqkcfga Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408787 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@193407.9212 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9215 pocouvge1rlf999viv2hqkcfga Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193407.9258 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9261 pocouvge1rlf999viv2hqkcfga Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193407.9303 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9306 pocouvge1rlf999viv2hqkcfga 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')
20241219@193407.9348 pocouvge1rlf999viv2hqkcfga 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
20241219@193407.9391 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9394 pocouvge1rlf999viv2hqkcfga Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193407.9433 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9436 pocouvge1rlf999viv2hqkcfga Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193407.9476 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9479 pocouvge1rlf999viv2hqkcfga Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193407.9527 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9530 pocouvge1rlf999viv2hqkcfga Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193407.9586 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193407.9590 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from td where ndoc = 39
20241219@193407.9604 pocouvge1rlf999viv2hqkcfga Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193407.9621 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.9640 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193407.9662 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.9679 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193407.9710 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.9726 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193407.9740 pocouvge1rlf999viv2hqkcfga Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193407.9797 pocouvge1rlf999viv2hqkcfga Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193407.9812 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193407.9830 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193407.9847 pocouvge1rlf999viv2hqkcfga Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647228516764752fed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193408.3100 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.5000 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193408.8700 pocouvge1rlf999viv2hqkcfga Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193408.1030 pocouvge1rlf999viv2hqkcfga Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193408.1160 pocouvge1rlf999viv2hqkcfga Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193408.1290 pocouvge1rlf999viv2hqkcfga Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193408.1430 pocouvge1rlf999viv2hqkcfga Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193408.1580 pocouvge1rlf999viv2hqkcfga Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193408.1710 pocouvge1rlf999viv2hqkcfga Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647228516764752fed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193408.4260 pocouvge1rlf999viv2hqkcfga Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193408.4600 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.4770 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193408.5000 pocouvge1rlf999viv2hqkcfga Query : select 'normal' from dummy
20241219@193408.5150 pocouvge1rlf999viv2hqkcfga Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647228516764752fed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2594,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193408.8070 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193408.8110 pocouvge1rlf999viv2hqkcfga Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@193408.8350 pocouvge1rlf999viv2hqkcfga Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@193408.9710 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.9870 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193408.1016 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.1031 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.1039 pocouvge1rlf999viv2hqkcfga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193408.1051 pocouvge1rlf999viv2hqkcfga Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2400469200a'
20241219@193408.1065 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.1080 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.1091 pocouvge1rlf999viv2hqkcfga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764752975676475301a','aut67647228516764752fed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193408.1095 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.1112 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193408.1140 pocouvge1rlf999viv2hqkcfga Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764752975676475301a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut67647228516764752fed' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193408.1386 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193408.1389 pocouvge1rlf999viv2hqkcfga Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@193408.1411 pocouvge1rlf999viv2hqkcfga Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@193408.1426 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.1442 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193408.1470 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.1485 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.1493 pocouvge1rlf999viv2hqkcfga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193408.1506 pocouvge1rlf999viv2hqkcfga Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r210058480'
20241219@193408.1516 pocouvge1rlf999viv2hqkcfga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.1532 pocouvge1rlf999viv2hqkcfga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.1543 pocouvge1rlf999viv2hqkcfga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647103666764753025','aut67647228516764752fed' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193408.1561 pocouvge1rlf999viv2hqkcfga Query : use flama_phc
20241219@193408.1564 pocouvge1rlf999viv2hqkcfga Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@193408.1597 pocouvge1rlf999viv2hqkcfga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4143';
20241219@193408.1639 pocouvge1rlf999viv2hqkcfga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4143';
20241219@193408.2174 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193408.2185 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193408.2254 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4144';
20241219@193408.2342 c9ruo1vpdc0mh1ql1mjnus4mpp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4144';
20241219@193408.2412 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4144';
20241219@193408.2449 c9ruo1vpdc0mh1ql1mjnus4mpp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4144';
20241219@193408.2514 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.2517 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193408.2579 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.2582 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193408.2631 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241219@193408.3943 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408790 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241219@193408.4392 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241219@193408.4413 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408790 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241219@193408.4431 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4434 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193408.4468 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4472 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193408.4502 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4505 c9ruo1vpdc0mh1ql1mjnus4mpp 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')
20241219@193408.4534 c9ruo1vpdc0mh1ql1mjnus4mpp 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
20241219@193408.4568 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4571 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193408.4600 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4604 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193408.4634 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4636 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193408.4675 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4678 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193408.4721 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.4724 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from td where ndoc = 39
20241219@193408.4736 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193408.4749 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.4766 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193408.4785 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.4799 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193408.4826 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.4840 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193408.4852 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193408.4906 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193408.4919 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.4933 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193408.4948 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647550596764753076' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193408.5123 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.5141 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193408.5174 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193408.5185 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193408.5197 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193408.5212 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193408.5224 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193408.5236 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193408.5247 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647550596764753076',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193408.5475 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193408.5507 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.5524 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193408.5548 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 'normal' from dummy
20241219@193408.5564 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647550596764753076',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2594,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193408.5875 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.5878 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241219@193408.5902 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241219@193408.6056 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6073 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193408.6101 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6117 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.6126 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193408.6138 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2301141275a'
20241219@193408.6160 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6175 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.6187 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647625166764753096','aut67647550596764753076' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193408.6192 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6208 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193408.6238 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647625166764753096',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut67647550596764753076' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193408.6484 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.6487 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241219@193408.6508 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241219@193408.6523 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6540 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193408.6567 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6582 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.6591 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193408.6603 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2301141275a'
20241219@193408.6617 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6633 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193408.6645 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676475408467647530a1','aut67647550596764753076' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193408.6649 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.6666 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193408.6695 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676475408467647530a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut67647550596764753076' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193408.6938 c9ruo1vpdc0mh1ql1mjnus4mpp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647550596764753076','2408790','wait',39,'adm09112754980.682000002')
20241219@193408.7015 c9ruo1vpdc0mh1ql1mjnus4mpp Query : use flama_phc
20241219@193408.7018 c9ruo1vpdc0mh1ql1mjnus4mpp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193408.7049 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4144';
20241219@193408.7093 c9ruo1vpdc0mh1ql1mjnus4mpp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4144';
20241219@193408.7174 c9ruo1vpdc0mh1ql1mjnus4mpp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4144';
20241219@193408.7209 c9ruo1vpdc0mh1ql1mjnus4mpp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4144';
20241219@193408.7786 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193408.7798 0kupdlf8bgtjcj676sfs7qqh7e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193408.7871 0kupdlf8bgtjcj676sfs7qqh7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4145';
20241219@193408.7940 0kupdlf8bgtjcj676sfs7qqh7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4145';
20241219@193408.8006 0kupdlf8bgtjcj676sfs7qqh7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4145';
20241219@193408.8038 0kupdlf8bgtjcj676sfs7qqh7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4145';
20241219@193408.8095 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8098 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193408.8166 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8169 0kupdlf8bgtjcj676sfs7qqh7e Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193408.8216 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241219@193408.8237 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408791 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241219@193408.8582 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241219@193408.8603 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408791 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241219@193408.8621 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20241219@193408.8641 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408791 and bi.ref ='324.2231.00.2' and bi.lordem =1
20241219@193408.8660 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8663 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193408.8696 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8699 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193408.8731 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8734 0kupdlf8bgtjcj676sfs7qqh7e 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')
20241219@193408.8766 0kupdlf8bgtjcj676sfs7qqh7e 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
20241219@193408.8803 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8806 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193408.8838 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8841 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193408.8874 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8878 0kupdlf8bgtjcj676sfs7qqh7e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193408.8921 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8924 0kupdlf8bgtjcj676sfs7qqh7e Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193408.8974 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193408.8977 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from td where ndoc = 39
20241219@193408.8989 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193408.9004 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.9024 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193408.9045 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.9062 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193408.9091 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.9108 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193408.9122 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193408.9177 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193408.9190 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.9207 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193408.9223 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut676478447467647530de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193408.9395 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.9416 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193408.9453 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193408.9465 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193408.9479 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193408.9508 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193408.9521 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193408.9535 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193408.9550 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut676478447467647530de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193408.9810 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193408.9844 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193408.9864 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193408.9891 0kupdlf8bgtjcj676sfs7qqh7e Query : select 'normal' from dummy
20241219@193408.9909 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut676478447467647530de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2595,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193409.2850 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193409.2880 0kupdlf8bgtjcj676sfs7qqh7e Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241219@193409.1182 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241219@193409.2336 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2358 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.2383 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2399 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.2410 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193409.2423 0kupdlf8bgtjcj676sfs7qqh7e Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2301141275a'
20241219@193409.2436 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2450 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.2464 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764743066676475313b','aut676478447467647530de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193409.2469 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2483 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.2513 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764743066676475313b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut676478447467647530de' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193409.2769 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193409.2773 0kupdlf8bgtjcj676sfs7qqh7e Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241219@193409.2793 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241219@193409.2808 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2826 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.2852 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2868 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.2877 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193409.2890 0kupdlf8bgtjcj676sfs7qqh7e Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2301141275a'
20241219@193409.2903 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2920 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.2931 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647895496764753146','aut676478447467647530de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193409.2936 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.2951 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.3298 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647895496764753146',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut676478447467647530de' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193409.3572 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193409.3575 0kupdlf8bgtjcj676sfs7qqh7e Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241219@193409.3594 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241219@193409.3608 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.3623 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.3647 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.3662 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.3670 0kupdlf8bgtjcj676sfs7qqh7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193409.3681 0kupdlf8bgtjcj676sfs7qqh7e Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2301141275a'
20241219@193409.3693 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.3708 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.3719 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764798415676475315a','aut676478447467647530de' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193409.3723 0kupdlf8bgtjcj676sfs7qqh7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.3737 0kupdlf8bgtjcj676sfs7qqh7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.3764 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764798415676475315a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut676478447467647530de' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193409.4142 0kupdlf8bgtjcj676sfs7qqh7e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut676478447467647530de','2408791','wait',39,'adm09112754980.682000002')
20241219@193409.4254 0kupdlf8bgtjcj676sfs7qqh7e Query : use flama_phc
20241219@193409.4258 0kupdlf8bgtjcj676sfs7qqh7e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193409.4311 0kupdlf8bgtjcj676sfs7qqh7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4145';
20241219@193409.4361 0kupdlf8bgtjcj676sfs7qqh7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4145';
20241219@193409.4440 0kupdlf8bgtjcj676sfs7qqh7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4145';
20241219@193409.4486 0kupdlf8bgtjcj676sfs7qqh7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4145';
20241219@193409.5051 qbictcje6h06mnlget9p8oo408 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193409.5067 qbictcje6h06mnlget9p8oo408 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193409.5151 qbictcje6h06mnlget9p8oo408 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4146';
20241219@193409.5228 qbictcje6h06mnlget9p8oo408 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4146';
20241219@193409.5313 qbictcje6h06mnlget9p8oo408 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4146';
20241219@193409.5354 qbictcje6h06mnlget9p8oo408 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4146';
20241219@193409.5430 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.5433 qbictcje6h06mnlget9p8oo408 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193409.5524 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.5527 qbictcje6h06mnlget9p8oo408 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193409.5578 qbictcje6h06mnlget9p8oo408 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193409.5603 qbictcje6h06mnlget9p8oo408 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408792 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193409.5963 qbictcje6h06mnlget9p8oo408 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193409.5994 qbictcje6h06mnlget9p8oo408 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408792 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193409.6015 qbictcje6h06mnlget9p8oo408 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193409.6041 qbictcje6h06mnlget9p8oo408 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408792 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193409.6063 qbictcje6h06mnlget9p8oo408 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193409.6088 qbictcje6h06mnlget9p8oo408 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408792 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193409.6111 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6114 qbictcje6h06mnlget9p8oo408 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193409.6156 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6159 qbictcje6h06mnlget9p8oo408 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193409.6197 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6201 qbictcje6h06mnlget9p8oo408 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')
20241219@193409.6244 qbictcje6h06mnlget9p8oo408 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
20241219@193409.6287 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6290 qbictcje6h06mnlget9p8oo408 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193409.6332 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6335 qbictcje6h06mnlget9p8oo408 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193409.6376 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6379 qbictcje6h06mnlget9p8oo408 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193409.6440 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6444 qbictcje6h06mnlget9p8oo408 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193409.6510 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.6513 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from td where ndoc = 39
20241219@193409.6525 qbictcje6h06mnlget9p8oo408 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193409.6541 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.6558 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193409.6578 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.6593 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193409.6623 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.6638 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193409.6650 qbictcje6h06mnlget9p8oo408 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193409.6707 qbictcje6h06mnlget9p8oo408 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193409.6721 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.6736 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193409.6752 qbictcje6h06mnlget9p8oo408 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut676476256267647531a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193409.6918 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.6936 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193409.6969 qbictcje6h06mnlget9p8oo408 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193409.6981 qbictcje6h06mnlget9p8oo408 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193409.6993 qbictcje6h06mnlget9p8oo408 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193409.7006 qbictcje6h06mnlget9p8oo408 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193409.7018 qbictcje6h06mnlget9p8oo408 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193409.7029 qbictcje6h06mnlget9p8oo408 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193409.7040 qbictcje6h06mnlget9p8oo408 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut676476256267647531a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193409.7275 qbictcje6h06mnlget9p8oo408 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193409.7308 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.7325 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193409.7352 qbictcje6h06mnlget9p8oo408 Query : select 'normal' from dummy
20241219@193409.7368 qbictcje6h06mnlget9p8oo408 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut676476256267647531a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2596,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193409.7650 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.7654 qbictcje6h06mnlget9p8oo408 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193409.7677 qbictcje6h06mnlget9p8oo408 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193409.7692 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.7715 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.7745 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.7765 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.7776 qbictcje6h06mnlget9p8oo408 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193409.7789 qbictcje6h06mnlget9p8oo408 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193409.7805 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.7822 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.7834 qbictcje6h06mnlget9p8oo408 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676478346667647531be','aut676476256267647531a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193409.7840 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.7857 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.7891 qbictcje6h06mnlget9p8oo408 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676478346667647531be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut676476256267647531a2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193409.8214 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.8219 qbictcje6h06mnlget9p8oo408 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193409.8245 qbictcje6h06mnlget9p8oo408 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193409.8262 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8283 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.8312 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8331 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.8340 qbictcje6h06mnlget9p8oo408 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193409.8353 qbictcje6h06mnlget9p8oo408 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193409.8368 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8385 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.8398 qbictcje6h06mnlget9p8oo408 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676473502067647531cc','aut676476256267647531a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193409.8404 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8422 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.8457 qbictcje6h06mnlget9p8oo408 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676473502067647531cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut676476256267647531a2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193409.8741 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.8745 qbictcje6h06mnlget9p8oo408 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193409.8771 qbictcje6h06mnlget9p8oo408 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193409.8787 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8805 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.8833 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8848 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.8857 qbictcje6h06mnlget9p8oo408 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193409.8871 qbictcje6h06mnlget9p8oo408 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193409.8883 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8899 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.8911 qbictcje6h06mnlget9p8oo408 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676472632467647531d8','aut676476256267647531a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193409.8916 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.8931 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.8963 qbictcje6h06mnlget9p8oo408 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676472632467647531d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut676476256267647531a2' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193409.9207 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.9212 qbictcje6h06mnlget9p8oo408 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193409.9233 qbictcje6h06mnlget9p8oo408 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193409.9247 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.9268 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.9295 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.9311 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.9320 qbictcje6h06mnlget9p8oo408 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193409.9333 qbictcje6h06mnlget9p8oo408 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193409.9346 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.9361 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193409.9373 qbictcje6h06mnlget9p8oo408 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676478628367647531e4','aut676476256267647531a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193409.9377 qbictcje6h06mnlget9p8oo408 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193409.9391 qbictcje6h06mnlget9p8oo408 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193409.9418 qbictcje6h06mnlget9p8oo408 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676478628367647531e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut676476256267647531a2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193409.9666 qbictcje6h06mnlget9p8oo408 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut676476256267647531a2','2408792','wait',39,'adm09112754980.682000002')
20241219@193409.9747 qbictcje6h06mnlget9p8oo408 Query : use flama_phc
20241219@193409.9750 qbictcje6h06mnlget9p8oo408 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193409.9790 qbictcje6h06mnlget9p8oo408 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4146';
20241219@193409.9832 qbictcje6h06mnlget9p8oo408 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4146';
20241219@193409.9893 qbictcje6h06mnlget9p8oo408 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4146';
20241219@193409.9928 qbictcje6h06mnlget9p8oo408 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4146';
20241219@193410.4690 bgavs261uhf2oc29lsb1shetsn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193410.4820 bgavs261uhf2oc29lsb1shetsn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193410.5580 bgavs261uhf2oc29lsb1shetsn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4147';
20241219@193410.6590 bgavs261uhf2oc29lsb1shetsn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4147';
20241219@193410.7330 bgavs261uhf2oc29lsb1shetsn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4147';
20241219@193410.7710 bgavs261uhf2oc29lsb1shetsn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4147';
20241219@193410.8340 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.8370 bgavs261uhf2oc29lsb1shetsn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193410.9140 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.9170 bgavs261uhf2oc29lsb1shetsn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193410.9650 bgavs261uhf2oc29lsb1shetsn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193410.9880 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408793 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193410.1321 bgavs261uhf2oc29lsb1shetsn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193410.1345 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408793 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193410.1364 bgavs261uhf2oc29lsb1shetsn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193410.1385 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408793 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193410.1404 bgavs261uhf2oc29lsb1shetsn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193410.1428 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408793 and bi.ref ='324.4970.00.1' and bi.lordem =1
20241219@193410.1446 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1449 bgavs261uhf2oc29lsb1shetsn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193410.1492 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1495 bgavs261uhf2oc29lsb1shetsn Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193410.1533 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1536 bgavs261uhf2oc29lsb1shetsn 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')
20241219@193410.1566 bgavs261uhf2oc29lsb1shetsn 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
20241219@193410.1605 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1609 bgavs261uhf2oc29lsb1shetsn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193410.1643 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1647 bgavs261uhf2oc29lsb1shetsn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193410.1685 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1689 bgavs261uhf2oc29lsb1shetsn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193410.1734 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1737 bgavs261uhf2oc29lsb1shetsn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193410.1788 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.1792 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from td where ndoc = 39
20241219@193410.1805 bgavs261uhf2oc29lsb1shetsn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193410.1820 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.1837 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193410.1857 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.1872 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193410.1900 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.1916 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193410.1928 bgavs261uhf2oc29lsb1shetsn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193410.1983 bgavs261uhf2oc29lsb1shetsn Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193410.1997 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.2015 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193410.2032 bgavs261uhf2oc29lsb1shetsn Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764779970676475322f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193410.2199 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.2218 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193410.2251 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193410.2264 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193410.2276 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193410.2288 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193410.2300 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193410.2313 bgavs261uhf2oc29lsb1shetsn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193410.2326 bgavs261uhf2oc29lsb1shetsn Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764779970676475322f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193410.2574 bgavs261uhf2oc29lsb1shetsn Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193410.2613 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.2630 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193410.2654 bgavs261uhf2oc29lsb1shetsn Query : select 'normal' from dummy
20241219@193410.2670 bgavs261uhf2oc29lsb1shetsn Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764779970676475322f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2597,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193410.2954 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.2957 bgavs261uhf2oc29lsb1shetsn Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193410.2979 bgavs261uhf2oc29lsb1shetsn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193410.2992 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3010 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.3035 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3050 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.3059 bgavs261uhf2oc29lsb1shetsn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193410.3071 bgavs261uhf2oc29lsb1shetsn Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193410.3083 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3097 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.3109 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764748739676475324b','aut6764779970676475322f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193410.3113 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3128 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.3157 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764748739676475324b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6764779970676475322f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193410.3405 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.3409 bgavs261uhf2oc29lsb1shetsn Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193410.3430 bgavs261uhf2oc29lsb1shetsn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193410.3445 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3462 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.3488 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3503 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.3512 bgavs261uhf2oc29lsb1shetsn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193410.3524 bgavs261uhf2oc29lsb1shetsn Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193410.3537 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3552 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.3564 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647113376764753256','aut6764779970676475322f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193410.3569 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3584 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.3613 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647113376764753256',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6764779970676475322f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193410.3862 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.3865 bgavs261uhf2oc29lsb1shetsn Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193410.3885 bgavs261uhf2oc29lsb1shetsn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193410.3900 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3919 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.3946 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.3966 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.3976 bgavs261uhf2oc29lsb1shetsn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193410.3989 bgavs261uhf2oc29lsb1shetsn Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193410.4002 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.4016 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.4029 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647503606764753261','aut6764779970676475322f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193410.4033 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.4047 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.4076 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647503606764753261',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6764779970676475322f' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193410.4315 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.4318 bgavs261uhf2oc29lsb1shetsn Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241219@193410.4339 bgavs261uhf2oc29lsb1shetsn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241219@193410.4353 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.4370 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.4397 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.4489 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.4499 bgavs261uhf2oc29lsb1shetsn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193410.4513 bgavs261uhf2oc29lsb1shetsn Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241219@193410.4526 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.4544 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193410.4557 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764765904676475326e','aut6764779970676475322f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193410.4561 bgavs261uhf2oc29lsb1shetsn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.4577 bgavs261uhf2oc29lsb1shetsn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193410.4605 bgavs261uhf2oc29lsb1shetsn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764765904676475326e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut6764779970676475322f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193410.4986 bgavs261uhf2oc29lsb1shetsn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6764779970676475322f','2408793','wait',39,'adm09112754980.682000002')
20241219@193410.5100 bgavs261uhf2oc29lsb1shetsn Query : use flama_phc
20241219@193410.5103 bgavs261uhf2oc29lsb1shetsn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193410.5135 bgavs261uhf2oc29lsb1shetsn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4147';
20241219@193410.5216 bgavs261uhf2oc29lsb1shetsn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4147';
20241219@193410.5558 bgavs261uhf2oc29lsb1shetsn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4147';
20241219@193410.5599 bgavs261uhf2oc29lsb1shetsn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4147';
20241219@193410.6858 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193410.6870 k0oh5iqc8vsc0dr8tgjsc42skn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193410.6940 k0oh5iqc8vsc0dr8tgjsc42skn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4148';
20241219@193410.7003 k0oh5iqc8vsc0dr8tgjsc42skn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4148';
20241219@193410.7071 k0oh5iqc8vsc0dr8tgjsc42skn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4148';
20241219@193410.7103 k0oh5iqc8vsc0dr8tgjsc42skn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4148';
20241219@193410.7159 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.7163 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193410.7226 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.7230 k0oh5iqc8vsc0dr8tgjsc42skn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193410.7280 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193410.7424 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408795 and bi.ref ='324.4966.00.1' and bi.lordem =1
20241219@193410.7759 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193410.7790 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408795 and bi.ref ='324.4966.00.1' and bi.lordem =1
20241219@193410.7814 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193410.7839 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408795 and bi.ref ='324.4966.00.1' and bi.lordem =1
20241219@193410.7860 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193410.7883 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408795 and bi.ref ='324.4966.00.1' and bi.lordem =1
20241219@193410.7904 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.7908 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193410.7951 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.7958 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193410.7995 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.7998 k0oh5iqc8vsc0dr8tgjsc42skn 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')
20241219@193410.8030 k0oh5iqc8vsc0dr8tgjsc42skn 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
20241219@193410.8073 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.8076 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193410.8116 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.8119 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193410.8161 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.8164 k0oh5iqc8vsc0dr8tgjsc42skn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193410.8216 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.8220 k0oh5iqc8vsc0dr8tgjsc42skn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193410.8279 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193410.8282 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from td where ndoc = 39
20241219@193410.8295 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193410.8310 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.8328 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193410.8348 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.8392 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193410.8422 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.8438 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193410.8451 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193410.8508 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193410.8523 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.8541 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193410.8558 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut676474575567647532ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193410.8755 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.8777 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193410.8811 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193410.8864 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193410.9076 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193410.9131 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193410.9144 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193410.9158 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193410.9171 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut676474575567647532ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193410.9413 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193410.9446 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193410.9465 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193410.9488 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 'normal' from dummy
20241219@193410.9504 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut676474575567647532ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2598,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193411.3200 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193411.3700 k0oh5iqc8vsc0dr8tgjsc42skn Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20241219@193411.6300 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193411.2150 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.2320 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.2580 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.2730 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.2810 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.2930 k0oh5iqc8vsc0dr8tgjsc42skn Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20241219@193411.3070 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.3210 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.3330 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647523326764753307','aut676474575567647532ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.3380 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.3520 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.3830 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647523326764753307',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut676474575567647532ce' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193411.6340 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193411.6370 k0oh5iqc8vsc0dr8tgjsc42skn Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20241219@193411.6580 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193411.6720 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6880 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.7220 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.7370 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.7450 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.7570 k0oh5iqc8vsc0dr8tgjsc42skn Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301278400a'
20241219@193411.7720 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.7860 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.7970 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647364646764753312','aut676474575567647532ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.8020 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.8180 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.8450 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647364646764753312',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut676474575567647532ce' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193411.1094 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193411.1097 k0oh5iqc8vsc0dr8tgjsc42skn Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20241219@193411.1118 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193411.1132 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1149 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.1173 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1187 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.1195 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.1207 k0oh5iqc8vsc0dr8tgjsc42skn Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2300825100a'
20241219@193411.1219 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1233 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.1244 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764707577676475331d','aut676474575567647532ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.1248 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1263 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.1290 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764707577676475331d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut676474575567647532ce' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193411.1539 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193411.1542 k0oh5iqc8vsc0dr8tgjsc42skn Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20241219@193411.1562 k0oh5iqc8vsc0dr8tgjsc42skn 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'
20241219@193411.1576 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1592 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.1618 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1632 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.1640 k0oh5iqc8vsc0dr8tgjsc42skn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.1653 k0oh5iqc8vsc0dr8tgjsc42skn Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301278400a'
20241219@193411.1668 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1683 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.1696 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647991726764753328','aut676474575567647532ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.1701 k0oh5iqc8vsc0dr8tgjsc42skn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.1716 k0oh5iqc8vsc0dr8tgjsc42skn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.1745 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647991726764753328',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut676474575567647532ce' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193411.1994 k0oh5iqc8vsc0dr8tgjsc42skn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut676474575567647532ce','2408795','wait',39,'adm09112754980.682000002')
20241219@193411.2101 k0oh5iqc8vsc0dr8tgjsc42skn Query : use flama_phc
20241219@193411.2105 k0oh5iqc8vsc0dr8tgjsc42skn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193411.2144 k0oh5iqc8vsc0dr8tgjsc42skn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4148';
20241219@193411.2191 k0oh5iqc8vsc0dr8tgjsc42skn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4148';
20241219@193411.2255 k0oh5iqc8vsc0dr8tgjsc42skn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4148';
20241219@193411.2288 k0oh5iqc8vsc0dr8tgjsc42skn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4148';
20241219@193411.3183 hudatto87trjpprpirsbhtdafb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193411.3196 hudatto87trjpprpirsbhtdafb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193411.3267 hudatto87trjpprpirsbhtdafb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4149';
20241219@193411.3376 hudatto87trjpprpirsbhtdafb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4149';
20241219@193411.3443 hudatto87trjpprpirsbhtdafb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4149';
20241219@193411.3478 hudatto87trjpprpirsbhtdafb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4149';
20241219@193411.3536 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.3540 hudatto87trjpprpirsbhtdafb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193411.3607 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.3610 hudatto87trjpprpirsbhtdafb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193411.3656 hudatto87trjpprpirsbhtdafb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193411.3799 hudatto87trjpprpirsbhtdafb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408796 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193411.4123 hudatto87trjpprpirsbhtdafb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193411.4143 hudatto87trjpprpirsbhtdafb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408796 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193411.4160 hudatto87trjpprpirsbhtdafb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193411.4179 hudatto87trjpprpirsbhtdafb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408796 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193411.4195 hudatto87trjpprpirsbhtdafb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193411.4215 hudatto87trjpprpirsbhtdafb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408796 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193411.4232 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4235 hudatto87trjpprpirsbhtdafb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193411.4267 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4270 hudatto87trjpprpirsbhtdafb Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193411.4299 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4302 hudatto87trjpprpirsbhtdafb 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')
20241219@193411.4331 hudatto87trjpprpirsbhtdafb 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
20241219@193411.4366 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4369 hudatto87trjpprpirsbhtdafb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193411.4397 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4400 hudatto87trjpprpirsbhtdafb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193411.4431 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4434 hudatto87trjpprpirsbhtdafb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193411.4474 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4477 hudatto87trjpprpirsbhtdafb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193411.4531 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.4536 hudatto87trjpprpirsbhtdafb Query : select 1 valor from td where ndoc = 39
20241219@193411.4548 hudatto87trjpprpirsbhtdafb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193411.4561 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.4577 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193411.4596 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.4610 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193411.4637 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.4651 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193411.4664 hudatto87trjpprpirsbhtdafb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193411.4723 hudatto87trjpprpirsbhtdafb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193411.4736 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.4752 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193411.4769 hudatto87trjpprpirsbhtdafb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647423896764753371' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193411.4933 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.4955 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193411.4990 hudatto87trjpprpirsbhtdafb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193411.5002 hudatto87trjpprpirsbhtdafb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193411.5015 hudatto87trjpprpirsbhtdafb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193411.5026 hudatto87trjpprpirsbhtdafb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193411.5041 hudatto87trjpprpirsbhtdafb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193411.5053 hudatto87trjpprpirsbhtdafb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193411.5065 hudatto87trjpprpirsbhtdafb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647423896764753371',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193411.5309 hudatto87trjpprpirsbhtdafb Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193411.5341 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.5360 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193411.5387 hudatto87trjpprpirsbhtdafb Query : select 'normal' from dummy
20241219@193411.5404 hudatto87trjpprpirsbhtdafb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647423896764753371',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2599,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193411.5691 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.5695 hudatto87trjpprpirsbhtdafb Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193411.5720 hudatto87trjpprpirsbhtdafb 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.2388.00.1'
20241219@193411.5866 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.5883 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.5912 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.5928 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.5937 hudatto87trjpprpirsbhtdafb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.5949 hudatto87trjpprpirsbhtdafb Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193411.5964 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.5982 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.5995 hudatto87trjpprpirsbhtdafb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647817026764753391','aut67647423896764753371' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.6000 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6016 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.6047 hudatto87trjpprpirsbhtdafb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647817026764753391',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut67647423896764753371' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193411.6293 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.6296 hudatto87trjpprpirsbhtdafb Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193411.6318 hudatto87trjpprpirsbhtdafb 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.2388.00.1'
20241219@193411.6333 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6350 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.6379 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6395 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.6404 hudatto87trjpprpirsbhtdafb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.6421 hudatto87trjpprpirsbhtdafb Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193411.6436 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6453 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.6469 hudatto87trjpprpirsbhtdafb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764798940676475339d','aut67647423896764753371' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.6474 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6489 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.6520 hudatto87trjpprpirsbhtdafb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764798940676475339d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67647423896764753371' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193411.6778 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.6781 hudatto87trjpprpirsbhtdafb Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193411.6803 hudatto87trjpprpirsbhtdafb 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.2388.00.1'
20241219@193411.6818 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6834 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.6864 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6882 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.6893 hudatto87trjpprpirsbhtdafb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.6909 hudatto87trjpprpirsbhtdafb Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193411.6925 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.6941 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.6980 hudatto87trjpprpirsbhtdafb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676470861967647533a9','aut67647423896764753371' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.6986 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.7007 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.7041 hudatto87trjpprpirsbhtdafb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676470861967647533a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut67647423896764753371' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193411.7308 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193411.7312 hudatto87trjpprpirsbhtdafb Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193411.9395 hudatto87trjpprpirsbhtdafb 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.2388.00.1'
20241219@193411.9415 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.9439 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.9472 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.9491 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.9501 hudatto87trjpprpirsbhtdafb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193411.9514 hudatto87trjpprpirsbhtdafb Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193411.9527 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.9543 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193411.9558 hudatto87trjpprpirsbhtdafb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676476225567647533e8','aut67647423896764753371' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193411.9564 hudatto87trjpprpirsbhtdafb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193411.9579 hudatto87trjpprpirsbhtdafb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193411.9612 hudatto87trjpprpirsbhtdafb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676476225567647533e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut67647423896764753371' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193412.3400 hudatto87trjpprpirsbhtdafb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647423896764753371','2408796','wait',39,'adm09112754980.682000002')
20241219@193412.1170 hudatto87trjpprpirsbhtdafb Query : use flama_phc
20241219@193412.1210 hudatto87trjpprpirsbhtdafb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193412.1530 hudatto87trjpprpirsbhtdafb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4149';
20241219@193412.1980 hudatto87trjpprpirsbhtdafb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4149';
20241219@193412.2590 hudatto87trjpprpirsbhtdafb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4149';
20241219@193412.3010 hudatto87trjpprpirsbhtdafb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4149';
20241219@193412.1053 7ogc67qturkorb33lavllicu3f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193412.1068 7ogc67qturkorb33lavllicu3f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193412.1139 7ogc67qturkorb33lavllicu3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4150';
20241219@193412.1209 7ogc67qturkorb33lavllicu3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4150';
20241219@193412.1288 7ogc67qturkorb33lavllicu3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4150';
20241219@193412.1326 7ogc67qturkorb33lavllicu3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4150';
20241219@193412.1399 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.1405 7ogc67qturkorb33lavllicu3f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193412.1509 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.1512 7ogc67qturkorb33lavllicu3f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193412.1568 7ogc67qturkorb33lavllicu3f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193412.1596 7ogc67qturkorb33lavllicu3f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408798 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193412.1971 7ogc67qturkorb33lavllicu3f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193412.1998 7ogc67qturkorb33lavllicu3f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408798 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193412.2022 7ogc67qturkorb33lavllicu3f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193412.2049 7ogc67qturkorb33lavllicu3f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408798 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193412.2071 7ogc67qturkorb33lavllicu3f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@193412.2098 7ogc67qturkorb33lavllicu3f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408798 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@193412.2122 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2125 7ogc67qturkorb33lavllicu3f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193412.2170 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2174 7ogc67qturkorb33lavllicu3f Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193412.2214 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2217 7ogc67qturkorb33lavllicu3f 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')
20241219@193412.2252 7ogc67qturkorb33lavllicu3f 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
20241219@193412.2296 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2299 7ogc67qturkorb33lavllicu3f Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193412.2342 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2345 7ogc67qturkorb33lavllicu3f Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193412.2385 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2388 7ogc67qturkorb33lavllicu3f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193412.2441 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2444 7ogc67qturkorb33lavllicu3f Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193412.2507 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.2510 7ogc67qturkorb33lavllicu3f Query : select 1 valor from td where ndoc = 39
20241219@193412.2522 7ogc67qturkorb33lavllicu3f Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193412.2537 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.2556 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193412.2575 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.2589 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193412.2618 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.2632 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193412.2655 7ogc67qturkorb33lavllicu3f Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193412.2725 7ogc67qturkorb33lavllicu3f Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193412.2741 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.2758 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193412.2775 7ogc67qturkorb33lavllicu3f Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647794706764753440' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193412.2937 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.2955 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193412.2988 7ogc67qturkorb33lavllicu3f Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193412.3001 7ogc67qturkorb33lavllicu3f Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193412.3013 7ogc67qturkorb33lavllicu3f Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193412.3025 7ogc67qturkorb33lavllicu3f Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193412.3040 7ogc67qturkorb33lavllicu3f Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193412.3054 7ogc67qturkorb33lavllicu3f Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193412.3067 7ogc67qturkorb33lavllicu3f Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647794706764753440',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193412.3308 7ogc67qturkorb33lavllicu3f Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193412.3340 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.3359 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193412.3383 7ogc67qturkorb33lavllicu3f Query : select 'normal' from dummy
20241219@193412.3400 7ogc67qturkorb33lavllicu3f Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647794706764753440',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2600,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193412.3699 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.3702 7ogc67qturkorb33lavllicu3f Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193412.3725 7ogc67qturkorb33lavllicu3f 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.2388.00.1'
20241219@193412.3739 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.3758 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.3785 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.3802 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.3811 7ogc67qturkorb33lavllicu3f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193412.3822 7ogc67qturkorb33lavllicu3f Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193412.3835 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.3851 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.3864 7ogc67qturkorb33lavllicu3f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764721440676475345d','aut67647794706764753440' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193412.3869 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.3884 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.3913 7ogc67qturkorb33lavllicu3f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764721440676475345d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13.000 ,'aut67647794706764753440' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193412.4176 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.4180 7ogc67qturkorb33lavllicu3f Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193412.4202 7ogc67qturkorb33lavllicu3f 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.2388.00.1'
20241219@193412.4217 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4235 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.4266 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4282 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.4291 7ogc67qturkorb33lavllicu3f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193412.4305 7ogc67qturkorb33lavllicu3f Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193412.4321 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4337 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.4350 7ogc67qturkorb33lavllicu3f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647462756764753469','aut67647794706764753440' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193412.4356 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4373 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.4405 7ogc67qturkorb33lavllicu3f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647462756764753469',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut67647794706764753440' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193412.4676 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.4680 7ogc67qturkorb33lavllicu3f Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193412.4702 7ogc67qturkorb33lavllicu3f 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.2388.00.1'
20241219@193412.4717 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4734 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.4763 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4781 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.4791 7ogc67qturkorb33lavllicu3f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193412.4806 7ogc67qturkorb33lavllicu3f Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193412.4820 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4838 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.4850 7ogc67qturkorb33lavllicu3f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647153286764753475','aut67647794706764753440' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193412.4858 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.4881 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.4908 7ogc67qturkorb33lavllicu3f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647153286764753475',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut67647794706764753440' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193412.5166 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.5170 7ogc67qturkorb33lavllicu3f Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@193412.5196 7ogc67qturkorb33lavllicu3f 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.2388.00.1'
20241219@193412.5217 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.5238 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.5270 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.5287 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.5297 7ogc67qturkorb33lavllicu3f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193412.5339 7ogc67qturkorb33lavllicu3f Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@193412.5355 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.5375 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.5391 7ogc67qturkorb33lavllicu3f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647364776764753482','aut67647794706764753440' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193412.5396 7ogc67qturkorb33lavllicu3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.5414 7ogc67qturkorb33lavllicu3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.5443 7ogc67qturkorb33lavllicu3f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647364776764753482',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut67647794706764753440' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193412.5701 7ogc67qturkorb33lavllicu3f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647794706764753440','2408798','wait',39,'adm09112754980.682000002')
20241219@193412.5780 7ogc67qturkorb33lavllicu3f Query : use flama_phc
20241219@193412.5785 7ogc67qturkorb33lavllicu3f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193412.5817 7ogc67qturkorb33lavllicu3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4150';
20241219@193412.5867 7ogc67qturkorb33lavllicu3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4150';
20241219@193412.5923 7ogc67qturkorb33lavllicu3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4150';
20241219@193412.5960 7ogc67qturkorb33lavllicu3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4150';
20241219@193412.6529 oavgaq5at2nt9crsgalqg0sja0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193412.6542 oavgaq5at2nt9crsgalqg0sja0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193412.6631 oavgaq5at2nt9crsgalqg0sja0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4151';
20241219@193412.6723 oavgaq5at2nt9crsgalqg0sja0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4151';
20241219@193412.6794 oavgaq5at2nt9crsgalqg0sja0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4151';
20241219@193412.6831 oavgaq5at2nt9crsgalqg0sja0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4151';
20241219@193412.6893 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.6896 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193412.6968 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.6971 oavgaq5at2nt9crsgalqg0sja0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193412.7023 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4967.00.1'
20241219@193412.7236 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408799 and bi.ref ='324.4967.00.1' and bi.lordem =1
20241219@193412.7573 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.7578 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193412.7619 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.7624 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193412.7662 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.7666 oavgaq5at2nt9crsgalqg0sja0 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')
20241219@193412.7702 oavgaq5at2nt9crsgalqg0sja0 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
20241219@193412.7858 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.7901 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193412.7966 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.7970 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193412.8003 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.8009 oavgaq5at2nt9crsgalqg0sja0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193412.8056 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.8059 oavgaq5at2nt9crsgalqg0sja0 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193412.8114 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.8118 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from td where ndoc = 39
20241219@193412.8132 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193412.8147 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.8166 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193412.8187 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.8203 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193412.8234 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.8249 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193412.8264 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193412.8322 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193412.8337 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.8354 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193412.8372 oavgaq5at2nt9crsgalqg0sja0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut676470029867647534c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193412.8617 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.8642 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193412.8683 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193412.8698 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193412.8713 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193412.8726 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193412.8739 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193412.8753 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193412.8765 oavgaq5at2nt9crsgalqg0sja0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut676470029867647534c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193412.9030 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193412.9066 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.9088 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193412.9116 oavgaq5at2nt9crsgalqg0sja0 Query : select 'normal' from dummy
20241219@193412.9134 oavgaq5at2nt9crsgalqg0sja0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut676470029867647534c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2601,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193412.9472 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193412.9477 oavgaq5at2nt9crsgalqg0sja0 Query : select st.usalote valor from st where st.ref = '324.4967.00.1'
20241219@193412.9508 oavgaq5at2nt9crsgalqg0sja0 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.4967.00.1'
20241219@193412.9662 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.9682 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.9714 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.9730 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.9739 oavgaq5at2nt9crsgalqg0sja0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193412.9753 oavgaq5at2nt9crsgalqg0sja0 Query : select sestamp valor from se where ref ='324.4967.00.1' and lote = 'r2300825100a'
20241219@193412.9769 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.9786 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193412.9799 oavgaq5at2nt9crsgalqg0sja0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676472575467647534ee','aut676470029867647534c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193412.9804 oavgaq5at2nt9crsgalqg0sja0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193412.9820 oavgaq5at2nt9crsgalqg0sja0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193412.9853 oavgaq5at2nt9crsgalqg0sja0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676472575467647534ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut676470029867647534c9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193413.1030 oavgaq5at2nt9crsgalqg0sja0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut676470029867647534c9','2408799','wait',39,'adm09112754980.682000002')
20241219@193413.1790 oavgaq5at2nt9crsgalqg0sja0 Query : use flama_phc
20241219@193413.1850 oavgaq5at2nt9crsgalqg0sja0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193413.2200 oavgaq5at2nt9crsgalqg0sja0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4151';
20241219@193413.2660 oavgaq5at2nt9crsgalqg0sja0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4151';
20241219@193413.3230 oavgaq5at2nt9crsgalqg0sja0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4151';
20241219@193413.3540 oavgaq5at2nt9crsgalqg0sja0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4151';
20241219@193413.9140 g0qudto3esb3e0mbos4vre9pjf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193413.9250 g0qudto3esb3e0mbos4vre9pjf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193413.9970 g0qudto3esb3e0mbos4vre9pjf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4152';
20241219@193413.1064 g0qudto3esb3e0mbos4vre9pjf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4152';
20241219@193413.1131 g0qudto3esb3e0mbos4vre9pjf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4152';
20241219@193413.1167 g0qudto3esb3e0mbos4vre9pjf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4152';
20241219@193413.1227 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.1230 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193413.1296 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.1299 g0qudto3esb3e0mbos4vre9pjf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193413.1349 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.1505 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.1843 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.1867 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.1886 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.1907 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.1925 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.1946 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.1964 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.1985 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2003 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2025 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2042 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2065 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2083 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2108 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2126 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2147 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2165 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2186 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2204 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2225 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2243 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2279 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2297 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2318 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2335 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2355 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2373 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2394 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2411 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2432 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2449 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2469 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2486 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20241219@193413.2506 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408800 and bi.ref ='324.657.00.01' and bi.lordem =1
20241219@193413.2524 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2527 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193413.2562 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2565 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193413.2599 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2603 g0qudto3esb3e0mbos4vre9pjf 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')
20241219@193413.2636 g0qudto3esb3e0mbos4vre9pjf 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
20241219@193413.2676 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2679 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193413.2712 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2715 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193413.2747 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2750 g0qudto3esb3e0mbos4vre9pjf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193413.2793 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2796 g0qudto3esb3e0mbos4vre9pjf Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193413.2845 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.2848 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from td where ndoc = 39
20241219@193413.2862 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193413.2877 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.2896 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193413.2920 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.2938 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193413.2967 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.2982 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193413.2995 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193413.3051 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193413.3065 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.3081 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193413.3098 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193413.3258 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.3355 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193413.3394 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193413.3408 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193413.3422 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193413.3436 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193413.3449 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193413.3463 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193413.3476 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647104536764753549',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193413.3716 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193413.3750 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.3768 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193413.3793 g0qudto3esb3e0mbos4vre9pjf Query : select 'normal' from dummy
20241219@193413.3811 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647104536764753549',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2602,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193413.5027 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.5033 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193413.5063 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193413.5444 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.5462 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.5492 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.5508 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.5517 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.5531 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193413.5548 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.5563 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.5575 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647136456764753587','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.5580 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.5594 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.5626 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647136456764753587',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193413.5911 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.5929 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.5957 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.5972 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.5981 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.5993 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.6009 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.6020 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647608756764753592','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.6024 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.6039 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.6067 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647608756764753592',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,20000,?,?,?)
20241219@193413.6321 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.6325 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193413.6464 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193413.6519 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.6538 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.6568 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.6585 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.6595 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.6609 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193413.6624 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.6641 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.6654 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676479151467647535a1','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.6661 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.6677 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.6708 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676479151467647535a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193413.6955 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.6973 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.7003 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7019 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.7029 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.7043 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7060 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.7074 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676476946367647535ab','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.7079 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7096 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.7131 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676476946367647535ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,50000,?,?,?)
20241219@193413.7395 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.7399 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193413.7421 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193413.7438 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7455 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.7482 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7499 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.7509 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.7522 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193413.7535 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7550 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.7563 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676475108267647535b7','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.7568 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7583 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.7613 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676475108267647535b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@193413.7876 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7894 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.7921 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7937 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.7946 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.7960 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.7975 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.7987 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676472331367647535c2','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.7992 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8008 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.8041 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676472331367647535c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,80000,?,?,?)
20241219@193413.8283 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.8287 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193413.8307 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193413.8322 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8339 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.8367 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8383 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.8391 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.8404 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193413.8417 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8431 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.8461 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676470801567647535cd','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.8466 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8483 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.8516 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676470801567647535cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241219@193413.8767 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8784 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.8810 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8824 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.8833 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193413.8845 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8861 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193413.8875 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676472341267647535d7','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193413.8880 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.8896 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193413.8929 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676472341267647535d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,110000,?,?,?)
20241219@193413.9177 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193413.9180 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193413.9202 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193413.9218 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193413.9235 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.4260 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4470 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.4570 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.4690 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.4820 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4970 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.5090 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764730851676475360b','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.5130 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5280 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.5590 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764730851676475360b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241219@193414.8120 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.8300 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.8550 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.8700 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.8790 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.8920 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.9070 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.9190 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647743166764753615','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.9230 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.9380 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.9690 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647743166764753615',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,140000,?,?,?)
20241219@193414.1229 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.1232 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.1256 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.1270 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1289 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.1324 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1340 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.1352 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.1365 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.1406 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1423 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.1435 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647002796764753622','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.1440 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1455 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.1489 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647002796764753622',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241219@193414.1755 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1773 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.1799 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1818 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.1827 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.1839 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1855 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.1867 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764713018676475362c','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.1872 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.1887 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.1919 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764713018676475362c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,170000,?,?,?)
20241219@193414.2194 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.2236 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.2408 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.2426 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.2446 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.2475 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.2489 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.2499 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.2513 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.2527 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.2543 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.2560 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764781277676475363d','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.2565 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.2582 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.2616 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764781277676475363d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241219@193414.2875 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.2895 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.2924 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.2940 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.2949 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.2964 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.2980 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.2993 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647056656764753648','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.2998 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3015 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.3045 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647056656764753648',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,200000,?,?,?)
20241219@193414.3286 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.3289 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.3310 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.3323 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3340 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.3369 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3386 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.3395 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.3409 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.3447 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3462 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.3473 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647407686764753654','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.3477 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3492 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.3533 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647407686764753654',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241219@193414.3807 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3829 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.3857 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3874 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.3884 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.3898 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3914 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.3927 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764770270676475365f','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.3933 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.3948 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.3981 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764770270676475365f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,230000,?,?,?)
20241219@193414.4244 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.4247 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.4268 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.4282 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4298 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.4323 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4337 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.4345 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.4358 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.4372 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4386 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.4397 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764763554676475366a','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.4402 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4425 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.4455 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764763554676475366a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241219@193414.4706 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4726 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.4754 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4769 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.4778 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.4790 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4804 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.4816 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647089696764753674','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.4821 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.4834 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.4862 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647089696764753674',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,260000,?,?,?)
20241219@193414.5131 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.5134 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.5157 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.5171 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5187 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.5217 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5231 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.5240 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.5253 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.5267 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5282 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.5295 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647128926764753680','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.5300 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5316 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.5346 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647128926764753680',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241219@193414.5619 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5647 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.5677 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5693 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.5703 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.5716 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5732 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.5745 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764771767676475368b','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.5749 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.5764 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.5796 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764771767676475368b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,290000,?,?,?)
20241219@193414.6072 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.6075 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.6096 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.6110 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6127 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.6154 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6169 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.6178 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.6190 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.6204 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6219 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.6230 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647270216764753697','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.6235 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6249 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.6277 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647270216764753697',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241219@193414.6534 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6551 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.6808 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6826 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.6836 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.6848 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6864 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.6875 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676471482267647536a7','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.6880 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.6895 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.6924 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676471482267647536a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,320000,?,?,?)
20241219@193414.7205 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.7247 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.7426 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.7441 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7459 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.7484 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7498 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.7507 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.7519 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.7532 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7547 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.7559 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676478556567647536b7','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.7564 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7579 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.7610 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676478556567647536b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20241219@193414.7864 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7881 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.7907 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7921 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.7930 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.7942 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7958 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.7970 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676476964867647536c1','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.7974 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.7989 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.8016 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676476964867647536c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,350000,?,?,?)
20241219@193414.8260 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193414.8263 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193414.8283 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193414.8297 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.8314 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193414.8338 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.8354 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.8363 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193414.8375 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193414.8387 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193414.8401 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193414.8416 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676479223567647536cc','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193414.8451 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3890 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.4210 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676479223567647536cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20241219@193415.6900 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.7080 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.7330 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.7480 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.7580 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.7700 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.7840 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.7950 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647313896764753712','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.8000 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.8140 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.8420 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647313896764753712',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,380000,?,?,?)
20241219@193415.1095 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193415.1098 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193415.1119 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193415.1133 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1150 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.1177 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1192 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.1200 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.1213 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193415.1226 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1240 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.1251 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764751565676475371d','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.1256 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1270 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.1302 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764751565676475371d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20241219@193415.1554 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1571 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.1597 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1613 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.1623 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.1636 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1656 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.1668 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647585036764753727','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.1673 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.1688 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.1716 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647585036764753727',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,410000,?,?,?)
20241219@193415.1948 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193415.1952 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193415.1971 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193415.1986 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2003 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.2032 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2046 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.2055 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.2068 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193415.2080 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2335 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.2348 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647331306764753732','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.2354 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2371 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.2401 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647331306764753732',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20241219@193415.2644 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2663 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.2690 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2705 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.2718 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.2730 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2745 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.2757 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647706536764753742','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.2762 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.2776 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.2804 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647706536764753742',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,440000,?,?,?)
20241219@193415.3042 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193415.3046 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193415.3066 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193415.3080 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3098 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.3128 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3142 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.3151 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.3163 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193415.3176 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3190 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.3202 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764757334676475374d','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.3207 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3221 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.3249 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764757334676475374d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67647104536764753549' ,0,0 ,2,23.00,460000,?,?,?,?,?)
20241219@193415.3525 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3543 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.3570 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3585 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.3594 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.3606 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3621 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.3632 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647866526764753758','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.3637 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3651 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.3679 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647866526764753758',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647104536764753549' ,0,0 ,2,23.00,470000,?,?,?)
20241219@193415.3928 g0qudto3esb3e0mbos4vre9pjf Query : use flama_phc
20241219@193415.3931 g0qudto3esb3e0mbos4vre9pjf Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241219@193415.3952 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20241219@193415.3969 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.3985 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193415.4011 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.4026 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.4034 g0qudto3esb3e0mbos4vre9pjf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193415.4046 g0qudto3esb3e0mbos4vre9pjf Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241219@193415.4059 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193415.4074 g0qudto3esb3e0mbos4vre9pjf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193415.4085 g0qudto3esb3e0mbos4vre9pjf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647893356764753763','aut67647104536764753549' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193415.4090 g0qudto3esb3e0mbos4vre9pjf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
