20240809@113738.5530 oe588ibad03hnd4ui2kuehbm9f INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240809@113738.5529 oe588ibad03hnd4ui2kuehbm9f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113738.5568 oe588ibad03hnd4ui2kuehbm9f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f7033566b5f17285',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f9787366b5f171a1' ,0,0 ,2,23.00,60000,?,?,?)
20240809@113738.5929 oe588ibad03hnd4ui2kuehbm9f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f9787366b5f171a1','2405288','wait',39,'adm09112754980.682000002')
20240809@113738.6034 oe588ibad03hnd4ui2kuehbm9f Query : use flama_phc
20240809@113738.6038 oe588ibad03hnd4ui2kuehbm9f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113738.6074 oe588ibad03hnd4ui2kuehbm9f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1448';
20240809@113738.6105 oe588ibad03hnd4ui2kuehbm9f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1448';
20240809@113738.6147 oe588ibad03hnd4ui2kuehbm9f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1448';
20240809@113738.6172 oe588ibad03hnd4ui2kuehbm9f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1448';
20240809@113738.6855 lt25e2vitu8knfq928o6t6r5da Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@113738.6867 lt25e2vitu8knfq928o6t6r5da Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@113738.6932 lt25e2vitu8knfq928o6t6r5da Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240809@113738.7005 lt25e2vitu8knfq928o6t6r5da Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240809@113738.7059 lt25e2vitu8knfq928o6t6r5da Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240809@113738.7086 lt25e2vitu8knfq928o6t6r5da Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240809@113738.7182 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.7187 lt25e2vitu8knfq928o6t6r5da Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@113738.7266 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.7270 lt25e2vitu8knfq928o6t6r5da Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@113738.7394 lt25e2vitu8knfq928o6t6r5da 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'
20240809@113738.7420 lt25e2vitu8knfq928o6t6r5da 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'
20240809@113738.7446 lt25e2vitu8knfq928o6t6r5da 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'
20240809@113738.7520 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.7525 lt25e2vitu8knfq928o6t6r5da Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@113738.7571 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.7574 lt25e2vitu8knfq928o6t6r5da Query : select top 1 1 valor from td where td.ndoc = 39
20240809@113738.7614 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.7619 lt25e2vitu8knfq928o6t6r5da 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')
20240809@113738.7655 lt25e2vitu8knfq928o6t6r5da 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
20240809@113738.7705 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.7709 lt25e2vitu8knfq928o6t6r5da Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@113738.7909 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.7913 lt25e2vitu8knfq928o6t6r5da Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@113738.8070 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.8074 lt25e2vitu8knfq928o6t6r5da Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@113738.8124 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.8129 lt25e2vitu8knfq928o6t6r5da Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@113738.8191 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.8195 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from td where ndoc = 39
20240809@113738.8212 lt25e2vitu8knfq928o6t6r5da Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@113738.8228 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.8250 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113738.8274 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.8310 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113738.8348 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.8366 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113738.8381 lt25e2vitu8knfq928o6t6r5da Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113738.8456 lt25e2vitu8knfq928o6t6r5da Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113738.8471 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.8489 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113738.8510 lt25e2vitu8knfq928o6t6r5da Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b5f9810366b5f172cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@113738.8708 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.8727 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113738.8775 lt25e2vitu8knfq928o6t6r5da Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@113738.8790 lt25e2vitu8knfq928o6t6r5da Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@113738.8804 lt25e2vitu8knfq928o6t6r5da Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@113738.8818 lt25e2vitu8knfq928o6t6r5da Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@113738.8832 lt25e2vitu8knfq928o6t6r5da Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@113738.8857 lt25e2vitu8knfq928o6t6r5da Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@113738.8871 lt25e2vitu8knfq928o6t6r5da Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b5f9810366b5f172cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@113738.9145 lt25e2vitu8knfq928o6t6r5da Query : select top 1 fno valor from wsftdata order by fno desc
20240809@113738.9164 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.9187 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113738.9218 lt25e2vitu8knfq928o6t6r5da Query : select 'normal' from dummy
20240809@113738.9240 lt25e2vitu8knfq928o6t6r5da Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b5f9810366b5f172cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',269,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@113738.9661 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113738.9666 lt25e2vitu8knfq928o6t6r5da Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240809@113738.9694 lt25e2vitu8knfq928o6t6r5da Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@113738.9715 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.9740 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113738.9787 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.9808 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113738.9818 lt25e2vitu8knfq928o6t6r5da Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113738.9834 lt25e2vitu8knfq928o6t6r5da Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240809@113738.9853 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.9891 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113738.9906 lt25e2vitu8knfq928o6t6r5da Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f7075166b5f172f0','aut66b5f9810366b5f172cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113738.9914 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113738.9965 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.6000 lt25e2vitu8knfq928o6t6r5da Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f7075166b5f172f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66b5f9810366b5f172cc' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@113739.2890 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113739.2930 lt25e2vitu8knfq928o6t6r5da Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240809@113739.3160 lt25e2vitu8knfq928o6t6r5da Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@113739.3340 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.3530 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.3830 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.4010 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.4110 lt25e2vitu8knfq928o6t6r5da Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113739.4260 lt25e2vitu8knfq928o6t6r5da Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240809@113739.4430 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.4620 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.4840 lt25e2vitu8knfq928o6t6r5da Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0758866b5f1730a','aut66b5f9810366b5f172cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113739.4910 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.5100 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.5460 lt25e2vitu8knfq928o6t6r5da Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f0758866b5f1730a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66b5f9810366b5f172cc' ,0,0 ,2,23.00,20000,?,?,?,?)
20240809@113739.8650 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113739.8700 lt25e2vitu8knfq928o6t6r5da Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240809@113739.8940 lt25e2vitu8knfq928o6t6r5da Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@113739.9110 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.9320 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.9650 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.9830 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.9930 lt25e2vitu8knfq928o6t6r5da Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113739.1011 lt25e2vitu8knfq928o6t6r5da Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240809@113739.1027 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.1045 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.1060 lt25e2vitu8knfq928o6t6r5da Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f3374866b5f17319','aut66b5f9810366b5f172cc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113739.1066 lt25e2vitu8knfq928o6t6r5da Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.1083 lt25e2vitu8knfq928o6t6r5da Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.1121 lt25e2vitu8knfq928o6t6r5da Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f3374866b5f17319',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66b5f9810366b5f172cc' ,0,0 ,2,23.00,30000,?,?,?,?)
20240809@113739.1434 lt25e2vitu8knfq928o6t6r5da Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f9810366b5f172cc','2405289','wait',39,'adm09112754980.682000002')
20240809@113739.1516 lt25e2vitu8knfq928o6t6r5da Query : use flama_phc
20240809@113739.1521 lt25e2vitu8knfq928o6t6r5da Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113739.1556 lt25e2vitu8knfq928o6t6r5da Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240809@113739.1590 lt25e2vitu8knfq928o6t6r5da Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240809@113739.1629 lt25e2vitu8knfq928o6t6r5da Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1449';
20240809@113739.1654 lt25e2vitu8knfq928o6t6r5da Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1449';
20240809@113739.3369 iqibfdutflq147cnna1885l3ga Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@113739.3381 iqibfdutflq147cnna1885l3ga Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@113739.3437 iqibfdutflq147cnna1885l3ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240809@113739.3502 iqibfdutflq147cnna1885l3ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240809@113739.3554 iqibfdutflq147cnna1885l3ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240809@113739.3583 iqibfdutflq147cnna1885l3ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240809@113739.3645 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.3649 iqibfdutflq147cnna1885l3ga Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@113739.3734 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.3738 iqibfdutflq147cnna1885l3ga Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240809@113739.3843 iqibfdutflq147cnna1885l3ga Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240809@113739.4074 iqibfdutflq147cnna1885l3ga Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240809@113739.4261 iqibfdutflq147cnna1885l3ga Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20240809@113739.4471 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4474 iqibfdutflq147cnna1885l3ga Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@113739.4513 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4517 iqibfdutflq147cnna1885l3ga Query : select top 1 1 valor from td where td.ndoc = 39
20240809@113739.4552 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4556 iqibfdutflq147cnna1885l3ga 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')
20240809@113739.4590 iqibfdutflq147cnna1885l3ga 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
20240809@113739.4628 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4632 iqibfdutflq147cnna1885l3ga Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240809@113739.4797 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4802 iqibfdutflq147cnna1885l3ga Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@113739.4838 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4842 iqibfdutflq147cnna1885l3ga Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@113739.4889 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4893 iqibfdutflq147cnna1885l3ga Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240809@113739.4944 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.4948 iqibfdutflq147cnna1885l3ga Query : select 1 valor from td where ndoc = 39
20240809@113739.4964 iqibfdutflq147cnna1885l3ga Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@113739.4981 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.5001 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113739.5027 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.5044 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113739.5079 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.5097 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113739.5112 iqibfdutflq147cnna1885l3ga Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113739.5235 iqibfdutflq147cnna1885l3ga Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113739.5251 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.5269 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113739.5287 iqibfdutflq147cnna1885l3ga Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b5f0283866b5f1737c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@113739.5495 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.5515 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113739.5554 iqibfdutflq147cnna1885l3ga Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@113739.5569 iqibfdutflq147cnna1885l3ga Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@113739.5585 iqibfdutflq147cnna1885l3ga Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@113739.5601 iqibfdutflq147cnna1885l3ga Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@113739.5617 iqibfdutflq147cnna1885l3ga Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@113739.5631 iqibfdutflq147cnna1885l3ga Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@113739.5647 iqibfdutflq147cnna1885l3ga Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b5f0283866b5f1737c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@113739.5928 iqibfdutflq147cnna1885l3ga Query : select top 1 fno valor from wsftdata order by fno desc
20240809@113739.5949 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.5969 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113739.6000 iqibfdutflq147cnna1885l3ga Query : select 'normal' from dummy
20240809@113739.6019 iqibfdutflq147cnna1885l3ga Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b5f0283866b5f1737c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',270,101900,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@113739.6353 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.6356 iqibfdutflq147cnna1885l3ga Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240809@113739.6393 iqibfdutflq147cnna1885l3ga Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240809@113739.6576 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.6611 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.6647 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.6666 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.6676 iqibfdutflq147cnna1885l3ga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113739.6692 iqibfdutflq147cnna1885l3ga Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240809@113739.6717 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.6735 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.6750 iqibfdutflq147cnna1885l3ga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f6406266b5f173a4','aut66b5f0283866b5f1737c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113739.6755 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.6773 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.6812 iqibfdutflq147cnna1885l3ga Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f6406266b5f173a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b5f0283866b5f1737c' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@113739.7130 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.7134 iqibfdutflq147cnna1885l3ga Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240809@113739.7159 iqibfdutflq147cnna1885l3ga Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240809@113739.7325 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.7347 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.7404 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.7424 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.7435 iqibfdutflq147cnna1885l3ga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113739.7451 iqibfdutflq147cnna1885l3ga Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240809@113739.7467 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.7486 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.7500 iqibfdutflq147cnna1885l3ga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f2007166b5f173b6','aut66b5f0283866b5f1737c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113739.7505 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.7523 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.7558 iqibfdutflq147cnna1885l3ga Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f2007166b5f173b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b5f0283866b5f1737c' ,0,0 ,2,23.00,20000,?,?,?,?)
20240809@113739.7854 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.7874 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.7905 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.7923 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.7935 iqibfdutflq147cnna1885l3ga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113739.7951 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.7968 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.7994 iqibfdutflq147cnna1885l3ga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0882966b5f173c2','aut66b5f0283866b5f1737c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113739.8007 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.8026 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.8205 iqibfdutflq147cnna1885l3ga Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f0882966b5f173c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f0283866b5f1737c' ,0,0 ,2,23.00,30000,?,?,?)
20240809@113739.8505 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.8509 iqibfdutflq147cnna1885l3ga Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240809@113739.8531 iqibfdutflq147cnna1885l3ga Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240809@113739.8701 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.8726 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.8758 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.8776 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.8789 iqibfdutflq147cnna1885l3ga Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113739.8814 iqibfdutflq147cnna1885l3ga Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240809@113739.8846 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.8864 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113739.8880 iqibfdutflq147cnna1885l3ga Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f3997266b5f173d7','aut66b5f0283866b5f1737c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113739.8885 iqibfdutflq147cnna1885l3ga Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113739.8906 iqibfdutflq147cnna1885l3ga Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113739.8940 iqibfdutflq147cnna1885l3ga Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f3997266b5f173d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut66b5f0283866b5f1737c' ,0,0 ,2,23.00,50000,?,?,?,?)
20240809@113739.9212 iqibfdutflq147cnna1885l3ga Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f0283866b5f1737c','2405290','wait',39,'adm09112754980.682000002')
20240809@113739.9289 iqibfdutflq147cnna1885l3ga Query : use flama_phc
20240809@113739.9293 iqibfdutflq147cnna1885l3ga Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113739.9326 iqibfdutflq147cnna1885l3ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240809@113739.9358 iqibfdutflq147cnna1885l3ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240809@113739.9398 iqibfdutflq147cnna1885l3ga Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1450';
20240809@113739.9424 iqibfdutflq147cnna1885l3ga Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1450';
20240809@113740.5400 3p2706v2si4811gsu47tlt5a05 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@113740.7200 3p2706v2si4811gsu47tlt5a05 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@113740.1360 3p2706v2si4811gsu47tlt5a05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240809@113740.2160 3p2706v2si4811gsu47tlt5a05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240809@113740.2690 3p2706v2si4811gsu47tlt5a05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240809@113740.2950 3p2706v2si4811gsu47tlt5a05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240809@113740.3550 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.3590 3p2706v2si4811gsu47tlt5a05 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@113740.4340 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.4370 3p2706v2si4811gsu47tlt5a05 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20240809@113740.5470 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240809@113740.5940 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240809@113740.6180 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20240809@113740.8140 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240809@113740.1427 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240809@113740.1456 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240809@113740.1656 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240809@113740.1832 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1426.00.1'
20240809@113740.2027 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240809@113740.2219 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240809@113740.2423 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240809@113740.2624 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240809@113740.2648 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240809@113740.2830 3p2706v2si4811gsu47tlt5a05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20240809@113740.3009 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.3012 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@113740.3047 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.3050 3p2706v2si4811gsu47tlt5a05 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@113740.3083 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.3086 3p2706v2si4811gsu47tlt5a05 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')
20240809@113740.3121 3p2706v2si4811gsu47tlt5a05 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
20240809@113740.3160 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.3164 3p2706v2si4811gsu47tlt5a05 Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20240809@113740.3309 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.3312 3p2706v2si4811gsu47tlt5a05 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@113740.4488 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.4493 3p2706v2si4811gsu47tlt5a05 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@113740.4540 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.4544 3p2706v2si4811gsu47tlt5a05 Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20240809@113740.4608 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.4611 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from td where ndoc = 39
20240809@113740.4625 3p2706v2si4811gsu47tlt5a05 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@113740.4641 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.4662 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113740.4687 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.4704 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113740.4737 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.4757 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113740.4771 3p2706v2si4811gsu47tlt5a05 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113740.4847 3p2706v2si4811gsu47tlt5a05 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113740.4864 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.4883 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113740.4903 3p2706v2si4811gsu47tlt5a05 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@113740.5109 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.5130 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113740.5169 3p2706v2si4811gsu47tlt5a05 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@113740.5184 3p2706v2si4811gsu47tlt5a05 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@113740.5198 3p2706v2si4811gsu47tlt5a05 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@113740.5213 3p2706v2si4811gsu47tlt5a05 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@113740.5227 3p2706v2si4811gsu47tlt5a05 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@113740.5239 3p2706v2si4811gsu47tlt5a05 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@113740.5252 3p2706v2si4811gsu47tlt5a05 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b5f6963566b5f17474',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@113740.5529 3p2706v2si4811gsu47tlt5a05 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@113740.5548 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.5567 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113740.5592 3p2706v2si4811gsu47tlt5a05 Query : select 'normal' from dummy
20240809@113740.5610 3p2706v2si4811gsu47tlt5a05 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b5f6963566b5f17474',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',271,199510,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@113740.5951 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.5955 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240809@113740.5979 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240809@113740.5998 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6018 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.6048 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6065 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.6074 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113740.6088 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240809@113740.6105 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6122 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.6137 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f8191366b5f17495','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113740.6142 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6160 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.6193 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f8191366b5f17495',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@113740.6549 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6569 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.6603 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6634 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.6655 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113740.6671 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6697 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.6713 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f9363566b5f174a2','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113740.6719 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.6740 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.6779 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f9363566b5f174a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,20000,?,?,?)
20240809@113740.7283 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.7475 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240809@113740.7558 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240809@113740.7577 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.7598 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.7629 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.7647 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.7659 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113740.7674 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240809@113740.7689 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.7708 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.7723 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f8926466b5f174bb','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113740.7728 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.7747 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.7781 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f8926466b5f174bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@113740.8103 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.8129 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.8163 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.8180 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.8315 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113740.8333 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.8357 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.8371 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f5596366b5f174cb','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113740.8377 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.8398 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.8430 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f5596366b5f174cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,50000,?,?,?)
20240809@113740.8710 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.8714 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20240809@113740.8736 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4964.00.1'
20240809@113740.8904 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.8924 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.8956 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.8971 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.8982 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113740.9004 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20240809@113740.9033 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.9053 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.9069 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f6342466b5f174dc','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113740.9074 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.9100 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.9134 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f6342466b5f174dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,70000,?,?,?,?)
20240809@113740.9453 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113740.9458 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240809@113740.9484 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2221.00.1'
20240809@113740.9663 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.9683 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.9716 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.9732 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.9748 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113740.9763 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240809@113740.9788 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.9807 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113740.9822 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0188666b5f174ee','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113740.9828 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113740.9848 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113740.9881 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f0188666b5f174ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,80000,?,?,?,?)
20240809@113741.2410 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.2450 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240809@113741.2710 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2221.00.1'
20240809@113741.2920 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.3120 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.3950 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.4200 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.4310 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.4570 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240809@113741.4760 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.4980 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.5130 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f6693066b5f1750b','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.5180 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.5500 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.5880 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f6693066b5f1750b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,90000,?,?,?,?)
20240809@113741.8930 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.8990 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20240809@113741.9270 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2223.00.1'
20240809@113741.1111 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.1131 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.1164 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.1186 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.1198 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.1214 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301281500a'
20240809@113741.1239 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.1261 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.1275 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f4218866b5f1751e','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.1281 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.1300 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.1352 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f4218866b5f1751e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,100000,?,?,?,?)
20240809@113741.1686 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.1689 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240809@113741.1739 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2224.00.1'
20240809@113741.1915 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.1934 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.1968 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.1986 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.1996 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.2012 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20240809@113741.2030 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.2049 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.2064 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f7977866b5f17531','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.2068 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.2085 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.2122 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f7977866b5f17531',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,110000,?,?,?,?)
20240809@113741.2445 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.2472 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.1426.00.1'
20240809@113741.2505 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1426.00.1'
20240809@113741.2677 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.2699 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.2732 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.2752 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.2763 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.2782 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.1426.00.1' and lote = 'r2100465200a'
20240809@113741.2808 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.2828 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.2843 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f9816766b5f17544','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.2849 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.2868 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.2903 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f9816766b5f17544',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,120000,?,?,?,?)
20240809@113741.3200 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.3222 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.3254 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.3273 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.3285 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.3301 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.3319 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.3333 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f5236866b5f17550','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.3339 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.3357 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.3392 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f5236866b5f17550',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,130000,?,?,?)
20240809@113741.3678 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.3681 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240809@113741.3707 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20240809@113741.5401 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.5425 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.5465 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.5481 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.5491 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.5506 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240809@113741.5529 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.5546 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.5560 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f4015866b5f17586','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.5565 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.5595 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.5631 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f4015866b5f17586',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,150000,?,?,?,?)
20240809@113741.5944 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.5949 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240809@113741.5974 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20240809@113741.5992 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6014 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.6046 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6065 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.6076 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.6092 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240809@113741.6107 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6125 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.6139 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f8759366b5f17595','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.6144 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6160 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.6194 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f8759366b5f17595',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,160000,?,?,?,?)
20240809@113741.6469 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.6473 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240809@113741.6504 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20240809@113741.6522 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6545 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.6581 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6601 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.6611 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.6626 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240809@113741.6642 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6661 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.6679 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f9774466b5f175a2','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.6685 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.6705 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.6742 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f9774466b5f175a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,170000,?,?,?,?)
20240809@113741.7041 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.7045 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240809@113741.7068 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20240809@113741.7085 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7104 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.7139 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7157 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.7169 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.7186 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240809@113741.7205 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7223 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.7237 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f1038166b5f175af','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.7243 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7264 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.7301 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f1038166b5f175af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,180000,?,?,?,?)
20240809@113741.7580 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.7584 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20240809@113741.7610 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20240809@113741.7795 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7815 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.7857 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7874 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.7884 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.7901 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20240809@113741.7926 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7945 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.7961 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f9787266b5f175c1','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.7976 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.7997 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.8032 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f9787266b5f175c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,190000,?,?,?,?)
20240809@113741.8368 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.8410 3p2706v2si4811gsu47tlt5a05 Query : select st.usalote valor from st where st.ref = '324.1417.00.1'
20240809@113741.8513 3p2706v2si4811gsu47tlt5a05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1417.00.1'
20240809@113741.8689 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.8709 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.8739 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.8758 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.8768 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.8783 3p2706v2si4811gsu47tlt5a05 Query : select sestamp valor from se where ref ='324.1417.00.1' and lote = 'r2101088200a'
20240809@113741.8823 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.8853 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.8867 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f3390366b5f175d7','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.8873 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.8891 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.8924 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f3390366b5f175d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,200000,?,?,?,?)
20240809@113741.9196 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.9216 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.9252 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.9268 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.9286 3p2706v2si4811gsu47tlt5a05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113741.9300 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.9317 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113741.9331 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f2040266b5f175e3','aut66b5f6963566b5f17474' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113741.9336 3p2706v2si4811gsu47tlt5a05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113741.9355 3p2706v2si4811gsu47tlt5a05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113741.9390 3p2706v2si4811gsu47tlt5a05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f2040266b5f175e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f6963566b5f17474' ,0,0 ,2,23.00,210000,?,?,?)
20240809@113741.9675 3p2706v2si4811gsu47tlt5a05 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f6963566b5f17474','2405291','wait',39,'adm09112754980.682000002')
20240809@113741.9774 3p2706v2si4811gsu47tlt5a05 Query : use flama_phc
20240809@113741.9778 3p2706v2si4811gsu47tlt5a05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113741.9818 3p2706v2si4811gsu47tlt5a05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240809@113741.9853 3p2706v2si4811gsu47tlt5a05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240809@113741.9901 3p2706v2si4811gsu47tlt5a05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1451';
20240809@113741.9930 3p2706v2si4811gsu47tlt5a05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1451';
20240809@113742.5670 42a7p8ehpemnp757mm66dh772b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@113742.5810 42a7p8ehpemnp757mm66dh772b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@113742.6400 42a7p8ehpemnp757mm66dh772b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240809@113742.7000 42a7p8ehpemnp757mm66dh772b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240809@113742.7610 42a7p8ehpemnp757mm66dh772b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240809@113742.7870 42a7p8ehpemnp757mm66dh772b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240809@113742.8480 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.8520 42a7p8ehpemnp757mm66dh772b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@113742.9340 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.9380 42a7p8ehpemnp757mm66dh772b Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@113742.9850 42a7p8ehpemnp757mm66dh772b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20240809@113742.1173 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1176 42a7p8ehpemnp757mm66dh772b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@113742.1226 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1229 42a7p8ehpemnp757mm66dh772b Query : select top 1 1 valor from td where td.ndoc = 39
20240809@113742.1262 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1265 42a7p8ehpemnp757mm66dh772b 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')
20240809@113742.1297 42a7p8ehpemnp757mm66dh772b 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
20240809@113742.1339 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1343 42a7p8ehpemnp757mm66dh772b Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@113742.1374 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1377 42a7p8ehpemnp757mm66dh772b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@113742.1411 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1417 42a7p8ehpemnp757mm66dh772b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@113742.1462 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1466 42a7p8ehpemnp757mm66dh772b Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@113742.1518 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.1521 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from td where ndoc = 39
20240809@113742.1536 42a7p8ehpemnp757mm66dh772b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@113742.1554 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.1573 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113742.1596 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.1614 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113742.1648 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.1668 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113742.1684 42a7p8ehpemnp757mm66dh772b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113742.1758 42a7p8ehpemnp757mm66dh772b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113742.1773 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.1791 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113742.1809 42a7p8ehpemnp757mm66dh772b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b5f5914166b5f17629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@113742.2025 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.2045 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113742.2086 42a7p8ehpemnp757mm66dh772b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@113742.2101 42a7p8ehpemnp757mm66dh772b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@113742.2116 42a7p8ehpemnp757mm66dh772b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@113742.2160 42a7p8ehpemnp757mm66dh772b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@113742.2175 42a7p8ehpemnp757mm66dh772b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@113742.2191 42a7p8ehpemnp757mm66dh772b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@113742.2205 42a7p8ehpemnp757mm66dh772b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b5f5914166b5f17629',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@113742.2504 42a7p8ehpemnp757mm66dh772b Query : select top 1 fno valor from wsftdata order by fno desc
20240809@113742.2525 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.2547 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113742.2578 42a7p8ehpemnp757mm66dh772b Query : select 'normal' from dummy
20240809@113742.2598 42a7p8ehpemnp757mm66dh772b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b5f5914166b5f17629',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',272,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@113742.2941 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.2945 42a7p8ehpemnp757mm66dh772b Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20240809@113742.2975 42a7p8ehpemnp757mm66dh772b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1406.00.1'
20240809@113742.3182 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.3206 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113742.3241 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.3259 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113742.3270 42a7p8ehpemnp757mm66dh772b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113742.3285 42a7p8ehpemnp757mm66dh772b Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '10/20'
20240809@113742.3314 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.3335 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113742.3349 42a7p8ehpemnp757mm66dh772b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f1852566b5f17650','aut66b5f5914166b5f17629' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113742.3359 42a7p8ehpemnp757mm66dh772b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.3379 42a7p8ehpemnp757mm66dh772b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113742.3416 42a7p8ehpemnp757mm66dh772b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f1852566b5f17650',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66b5f5914166b5f17629' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@113742.3731 42a7p8ehpemnp757mm66dh772b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f5914166b5f17629','2405292','wait',39,'adm09112754980.682000002')
20240809@113742.3819 42a7p8ehpemnp757mm66dh772b Query : use flama_phc
20240809@113742.3823 42a7p8ehpemnp757mm66dh772b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113742.3857 42a7p8ehpemnp757mm66dh772b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240809@113742.3889 42a7p8ehpemnp757mm66dh772b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240809@113742.3931 42a7p8ehpemnp757mm66dh772b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1452';
20240809@113742.3956 42a7p8ehpemnp757mm66dh772b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1452';
20240809@113742.4506 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@113742.4518 31v5k2s4404pf4jnafl4pcpdd7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@113742.4576 31v5k2s4404pf4jnafl4pcpdd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240809@113742.4704 31v5k2s4404pf4jnafl4pcpdd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240809@113742.4759 31v5k2s4404pf4jnafl4pcpdd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240809@113742.4787 31v5k2s4404pf4jnafl4pcpdd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240809@113742.4841 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.4844 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@113742.4918 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.4921 31v5k2s4404pf4jnafl4pcpdd7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240809@113742.5017 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240809@113742.5204 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240809@113742.5384 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240809@113742.5409 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240809@113742.5587 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240809@113742.5611 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240809@113742.5789 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240809@113742.6001 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240809@113742.6025 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6029 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@113742.6067 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6071 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@113742.6108 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6113 31v5k2s4404pf4jnafl4pcpdd7 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')
20240809@113742.6144 31v5k2s4404pf4jnafl4pcpdd7 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
20240809@113742.6185 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6188 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240809@113742.6334 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6337 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@113742.6369 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6372 31v5k2s4404pf4jnafl4pcpdd7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@113742.6416 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6421 31v5k2s4404pf4jnafl4pcpdd7 Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240809@113742.6473 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.6476 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from td where ndoc = 39
20240809@113742.6492 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@113742.6513 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.6534 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113742.6558 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.6576 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113742.6610 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.6626 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113742.6641 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113742.6716 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113742.7510 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.7913 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113742.7929 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@113742.8119 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.8136 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113742.8180 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@113742.8192 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@113742.8205 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@113742.8217 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@113742.8231 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@113742.8243 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@113742.8299 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b5f2980366b5f176a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@113742.8593 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@113742.8687 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.8707 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113742.8745 31v5k2s4404pf4jnafl4pcpdd7 Query : select 'normal' from dummy
20240809@113742.8761 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b5f2980366b5f176a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',273,199800,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@113742.9054 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113742.9056 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240809@113742.9078 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20240809@113742.9225 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9241 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113742.9266 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9280 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113742.9288 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113742.9300 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240809@113742.9313 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9344 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113742.9363 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f8750166b5f176e3','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113742.9367 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9381 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113742.9410 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f8750166b5f176e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@113742.9683 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9699 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113742.9753 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9768 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113742.9777 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113742.9790 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9805 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113742.9817 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0917766b5f176ef','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113742.9821 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113742.9835 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113742.9863 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f0917766b5f176ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,20000,?,?,?)
20240809@113743.1190 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.1220 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240809@113743.1440 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240809@113743.2970 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.3130 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.3400 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.3560 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.3650 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.3770 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240809@113743.4000 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4140 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.4260 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f4633866b5f17709','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.4300 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4440 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.4730 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f4633866b5f17709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@113743.7800 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.7830 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240809@113743.8020 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240809@113743.8150 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.8310 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.8670 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.8880 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.8970 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.9090 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240809@113743.9220 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.9360 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.9480 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0590566b5f17716','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.9520 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.9660 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.1007 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f0590566b5f17716',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,50000,?,?,?,?)
20240809@113743.1261 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.1265 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240809@113743.1286 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240809@113743.1444 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.1460 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.1498 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.1514 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.1527 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.1539 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240809@113743.1562 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.1577 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.1589 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f6720166b5f17726','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.1593 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.1613 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.1641 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f6720166b5f17726',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',26.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,60000,?,?,?,?)
20240809@113743.1906 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.1910 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240809@113743.1929 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240809@113743.1943 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.1984 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.2013 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.2028 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.2036 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.2049 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240809@113743.2063 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.2077 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.2088 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0031966b5f17732','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.2093 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.2109 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.2139 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f0031966b5f17732',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,70000,?,?,?,?)
20240809@113743.2402 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.2405 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240809@113743.2425 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20240809@113743.2569 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.3708 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.3752 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.3773 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.3787 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.3800 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240809@113743.3814 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.3829 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.3840 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f9431366b5f1775d','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.3844 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.3859 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.3887 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f9431366b5f1775d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,80000,?,?,?,?)
20240809@113743.4202 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.4205 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240809@113743.4227 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20240809@113743.4374 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4390 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.4417 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4432 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.4440 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.4453 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240809@113743.4468 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4482 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.4495 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0665966b5f1776d','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.4498 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4513 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.4542 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f0665966b5f1776d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,90000,?,?,?,?)
20240809@113743.4797 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.4800 31v5k2s4404pf4jnafl4pcpdd7 Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240809@113743.4818 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20240809@113743.4832 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4847 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.4874 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4888 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.4896 31v5k2s4404pf4jnafl4pcpdd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.4908 31v5k2s4404pf4jnafl4pcpdd7 Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240809@113743.4920 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4935 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.4947 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f8435466b5f17778','aut66b5f2980366b5f176a2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.4951 31v5k2s4404pf4jnafl4pcpdd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.4968 31v5k2s4404pf4jnafl4pcpdd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.4998 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f8435466b5f17778',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut66b5f2980366b5f176a2' ,0,0 ,2,23.00,100000,?,?,?,?)
20240809@113743.5249 31v5k2s4404pf4jnafl4pcpdd7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f2980366b5f176a2','2405295','wait',39,'adm09112754980.682000002')
20240809@113743.5324 31v5k2s4404pf4jnafl4pcpdd7 Query : use flama_phc
20240809@113743.5327 31v5k2s4404pf4jnafl4pcpdd7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113743.5359 31v5k2s4404pf4jnafl4pcpdd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240809@113743.5386 31v5k2s4404pf4jnafl4pcpdd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240809@113743.5422 31v5k2s4404pf4jnafl4pcpdd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1453';
20240809@113743.5445 31v5k2s4404pf4jnafl4pcpdd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1453';
20240809@113743.6015 knotoe5ieo3bqsu33ijfj0uf1o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@113743.6026 knotoe5ieo3bqsu33ijfj0uf1o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@113743.6072 knotoe5ieo3bqsu33ijfj0uf1o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240809@113743.6123 knotoe5ieo3bqsu33ijfj0uf1o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240809@113743.6208 knotoe5ieo3bqsu33ijfj0uf1o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240809@113743.6231 knotoe5ieo3bqsu33ijfj0uf1o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240809@113743.6277 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6280 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@113743.6340 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6343 knotoe5ieo3bqsu33ijfj0uf1o Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20240809@113743.6383 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240809@113743.6543 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6546 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@113743.6576 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6579 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 1 valor from td where td.ndoc = 39
20240809@113743.6607 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6610 knotoe5ieo3bqsu33ijfj0uf1o 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')
20240809@113743.6638 knotoe5ieo3bqsu33ijfj0uf1o 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
20240809@113743.6672 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6675 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20240809@113743.6703 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6706 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@113743.6736 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6747 knotoe5ieo3bqsu33ijfj0uf1o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@113743.6787 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6790 knotoe5ieo3bqsu33ijfj0uf1o Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20240809@113743.6832 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.6835 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from td where ndoc = 39
20240809@113743.6848 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@113743.6862 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.6879 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113743.6898 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.6912 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113743.6941 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.6955 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113743.6967 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113743.7042 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113743.7058 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.7078 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113743.7097 knotoe5ieo3bqsu33ijfj0uf1o Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b5f5619366b5f177aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@113743.7329 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.7347 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113743.7381 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@113743.7392 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@113743.7404 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@113743.7416 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@113743.7428 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@113743.7440 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@113743.7452 knotoe5ieo3bqsu33ijfj0uf1o Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b5f5619366b5f177aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@113743.7701 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 fno valor from wsftdata order by fno desc
20240809@113743.7718 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.7734 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113743.8036 knotoe5ieo3bqsu33ijfj0uf1o Query : select 'normal' from dummy
20240809@113743.8051 knotoe5ieo3bqsu33ijfj0uf1o Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b5f5619366b5f177aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',274,199510,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@113743.8361 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.8364 knotoe5ieo3bqsu33ijfj0uf1o Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240809@113743.8395 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20240809@113743.8633 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.8654 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.8830 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.8848 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.8868 knotoe5ieo3bqsu33ijfj0uf1o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113743.8883 knotoe5ieo3bqsu33ijfj0uf1o Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240809@113743.8901 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.8920 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113743.8933 knotoe5ieo3bqsu33ijfj0uf1o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f8525866b5f177d9','aut66b5f5619366b5f177aa' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113743.8938 knotoe5ieo3bqsu33ijfj0uf1o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113743.8953 knotoe5ieo3bqsu33ijfj0uf1o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113743.8984 knotoe5ieo3bqsu33ijfj0uf1o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f8525866b5f177d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66b5f5619366b5f177aa' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@113743.9268 knotoe5ieo3bqsu33ijfj0uf1o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f5619366b5f177aa','2405301','wait',39,'adm09112754980.682000002')
20240809@113743.9441 knotoe5ieo3bqsu33ijfj0uf1o Query : use flama_phc
20240809@113743.9445 knotoe5ieo3bqsu33ijfj0uf1o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113743.9599 knotoe5ieo3bqsu33ijfj0uf1o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240809@113743.9631 knotoe5ieo3bqsu33ijfj0uf1o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240809@113743.9667 knotoe5ieo3bqsu33ijfj0uf1o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1454';
20240809@113743.9690 knotoe5ieo3bqsu33ijfj0uf1o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1454';
20240809@113744.1720 1uujktoh7gogakp2rm2tmbqdbl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@113744.1731 1uujktoh7gogakp2rm2tmbqdbl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@113744.1781 1uujktoh7gogakp2rm2tmbqdbl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240809@113744.1831 1uujktoh7gogakp2rm2tmbqdbl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';
20240809@113744.1877 1uujktoh7gogakp2rm2tmbqdbl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240809@113744.1898 1uujktoh7gogakp2rm2tmbqdbl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';
20240809@113744.1941 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.1945 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@113744.2004 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2007 1uujktoh7gogakp2rm2tmbqdbl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@113744.2048 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240809@113744.2073 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2076 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@113744.2107 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2110 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 1 valor from td where td.ndoc = 39
20240809@113744.2138 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2141 1uujktoh7gogakp2rm2tmbqdbl 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')
20240809@113744.2168 1uujktoh7gogakp2rm2tmbqdbl 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
20240809@113744.2201 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2204 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@113744.2234 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2237 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@113744.2269 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2272 1uujktoh7gogakp2rm2tmbqdbl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@113744.2310 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2313 1uujktoh7gogakp2rm2tmbqdbl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@113744.2356 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.2358 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from td where ndoc = 39
20240809@113744.2370 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@113744.2383 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.2399 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113744.2417 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.2431 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113744.2457 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.2471 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113744.2483 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113744.2553 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@113744.2566 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.2581 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@113744.2596 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b5f2505666b5f1783c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@113744.2777 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.2793 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@113744.2824 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@113744.2835 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@113744.2846 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@113744.2857 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@113744.2869 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@113744.2881 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@113744.2892 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b5f2505666b5f1783c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@113744.3171 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 fno valor from wsftdata order by fno desc
20240809@113744.3189 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.3205 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@113744.3227 1uujktoh7gogakp2rm2tmbqdbl Query : select 'normal' from dummy
20240809@113744.3242 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b5f2505666b5f1783c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',275,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@113744.3581 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.3585 1uujktoh7gogakp2rm2tmbqdbl Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240809@113744.3607 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240809@113744.3621 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.3637 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113744.3664 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.3679 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113744.3688 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113744.3700 1uujktoh7gogakp2rm2tmbqdbl Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240809@113744.3713 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.3732 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113744.3744 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f0663366b5f1785a','aut66b5f2505666b5f1783c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113744.3748 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.3762 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113744.3789 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b5f0663366b5f1785a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66b5f2505666b5f1783c' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@113744.4079 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.4095 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113744.4121 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.4136 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113744.4144 1uujktoh7gogakp2rm2tmbqdbl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@113744.4156 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.4170 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@113744.4182 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b5f6944966b5f17865','aut66b5f2505666b5f1783c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@113744.4186 1uujktoh7gogakp2rm2tmbqdbl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@113744.4200 1uujktoh7gogakp2rm2tmbqdbl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@113744.4228 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b5f6944966b5f17865',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b5f2505666b5f1783c' ,0,0 ,2,23.00,20000,?,?,?)
20240809@113744.4493 1uujktoh7gogakp2rm2tmbqdbl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b5f2505666b5f1783c','2405302','wait',39,'adm09112754980.682000002')
20240809@113744.4562 1uujktoh7gogakp2rm2tmbqdbl Query : use flama_phc
20240809@113744.4565 1uujktoh7gogakp2rm2tmbqdbl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@113744.4594 1uujktoh7gogakp2rm2tmbqdbl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240809@113744.4622 1uujktoh7gogakp2rm2tmbqdbl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';
20240809@113744.4658 1uujktoh7gogakp2rm2tmbqdbl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1455';
20240809@113744.4680 1uujktoh7gogakp2rm2tmbqdbl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1455';

20240809@152339.4500 hh6dplhs7dn94opbstkqgb9b4i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240809@152339.5070 hh6dplhs7dn94opbstkqgb9b4i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1456';
20240809@152339.5340 hh6dplhs7dn94opbstkqgb9b4i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240809@152339.5830 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.5870 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152339.6610 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.6650 hh6dplhs7dn94opbstkqgb9b4i Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20240809@152339.7550 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20240809@152339.9340 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240809@152339.9580 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20240809@152339.1144 hh6dplhs7dn94opbstkqgb9b4i 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'
20240809@152339.1311 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1314 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152339.1355 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1359 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152339.1393 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1396 hh6dplhs7dn94opbstkqgb9b4i 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')
20240809@152339.1430 hh6dplhs7dn94opbstkqgb9b4i 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
20240809@152339.1471 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1475 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 ~inactivo valor from cl where no = '102145' and estab = 0 order by inactivo desc
20240809@152339.1612 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1617 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152339.1651 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1654 hh6dplhs7dn94opbstkqgb9b4i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152339.1702 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1706 hh6dplhs7dn94opbstkqgb9b4i Query : select szadrsstamp valor from szadrs where szadrsdesc='paulo jorge almeida gomes unip.,lda.-entrega'
20240809@152339.1761 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.1764 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from td where ndoc = 39
20240809@152339.1781 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152339.1801 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.1824 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152339.1847 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.1864 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152339.1901 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.1927 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152339.1945 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152339.2024 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152339.2042 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.2061 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152339.2087 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b626002266b6266b2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152339.2350 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.2958 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152339.3253 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152339.3748 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152339.4458 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152339.4474 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152339.4489 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152339.4504 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152339.4520 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b626002266b6266b2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152339.4804 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152339.4824 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.4843 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152339.4870 hh6dplhs7dn94opbstkqgb9b4i Query : select 'normal' from dummy
20240809@152339.4889 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b626002266b6266b2f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',276,102145,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152339.5233 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.5236 hh6dplhs7dn94opbstkqgb9b4i Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20240809@152339.5264 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.642.00.01'
20240809@152339.5431 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.5453 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.5483 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.5512 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.5525 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152339.5541 hh6dplhs7dn94opbstkqgb9b4i Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20240809@152339.5564 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.5581 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.5595 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b620396266b6266b87','aut66b626002266b6266b2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152339.5606 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.5622 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.5656 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b620396266b6266b87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b626002266b6266b2f' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152339.5948 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.5952 hh6dplhs7dn94opbstkqgb9b4i Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240809@152339.5980 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240809@152339.6003 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6023 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.6055 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6073 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.6083 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152339.6098 hh6dplhs7dn94opbstkqgb9b4i Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240809@152339.6120 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6142 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.6158 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b623056766b6266b95','aut66b626002266b6266b2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152339.6164 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6183 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.6220 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b623056766b6266b95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b626002266b6266b2f' ,0,0 ,2,23.00,20000,?,?,?,?)
20240809@152339.6511 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6533 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.6564 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6580 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.6591 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152339.6608 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6626 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.6643 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624098666b6266ba1','aut66b626002266b6266b2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152339.6648 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.6666 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.6703 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b624098666b6266ba1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b626002266b6266b2f' ,0,0 ,2,23.00,30000,?,?,?)
20240809@152339.6972 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.6976 hh6dplhs7dn94opbstkqgb9b4i Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20240809@152339.7000 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1462.00.1'
20240809@152339.7163 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.7182 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.7215 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.7239 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.7249 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152339.7267 hh6dplhs7dn94opbstkqgb9b4i Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20240809@152339.7289 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.7307 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.7321 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b620411966b6266bb1','aut66b626002266b6266b2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152339.7327 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.7345 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.7378 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b620411966b6266bb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66b626002266b6266b2f' ,0,0 ,2,23.00,50000,?,?,?,?)
20240809@152339.7660 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.7664 hh6dplhs7dn94opbstkqgb9b4i Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20240809@152339.7689 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.367.09.00'
20240809@152339.7855 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.7883 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.7916 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.7933 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.7944 hh6dplhs7dn94opbstkqgb9b4i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152339.7961 hh6dplhs7dn94opbstkqgb9b4i Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2400053200a'
20240809@152339.7977 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.7996 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152339.8011 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b628690466b6266bc2','aut66b626002266b6266b2f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152339.8016 hh6dplhs7dn94opbstkqgb9b4i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152339.8035 hh6dplhs7dn94opbstkqgb9b4i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152339.8069 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b628690466b6266bc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b626002266b6266b2f' ,0,0 ,2,23.00,60000,?,?,?,?)
20240809@152339.8359 hh6dplhs7dn94opbstkqgb9b4i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b626002266b6266b2f','2405303','wait',39,'adm09112754980.682000002')
20240809@152339.9562 hh6dplhs7dn94opbstkqgb9b4i Query : use flama_phc
20240809@152339.9566 hh6dplhs7dn94opbstkqgb9b4i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152339.9602 hh6dplhs7dn94opbstkqgb9b4i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1456';
20240809@152339.9632 hh6dplhs7dn94opbstkqgb9b4i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240809@152339.9670 hh6dplhs7dn94opbstkqgb9b4i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1456';
20240809@152339.9694 hh6dplhs7dn94opbstkqgb9b4i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1456';
20240809@152340.3100 5pandeee1udfvlbotan2ntkau8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152340.3220 5pandeee1udfvlbotan2ntkau8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152340.3780 5pandeee1udfvlbotan2ntkau8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1457';
20240809@152340.4350 5pandeee1udfvlbotan2ntkau8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1457';
20240809@152340.4890 5pandeee1udfvlbotan2ntkau8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1457';
20240809@152340.5150 5pandeee1udfvlbotan2ntkau8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1457';
20240809@152340.5610 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.5650 5pandeee1udfvlbotan2ntkau8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152340.6300 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.6330 5pandeee1udfvlbotan2ntkau8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20240809@152340.7170 5pandeee1udfvlbotan2ntkau8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240809@152340.8900 5pandeee1udfvlbotan2ntkau8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240809@152340.9130 5pandeee1udfvlbotan2ntkau8 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'
20240809@152340.1076 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1079 5pandeee1udfvlbotan2ntkau8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152340.1115 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1119 5pandeee1udfvlbotan2ntkau8 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152340.1154 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1158 5pandeee1udfvlbotan2ntkau8 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')
20240809@152340.1190 5pandeee1udfvlbotan2ntkau8 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
20240809@152340.1229 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1233 5pandeee1udfvlbotan2ntkau8 Query : select top 1 ~inactivo valor from cl where no = '102068' and estab = 0 order by inactivo desc
20240809@152340.1370 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1374 5pandeee1udfvlbotan2ntkau8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152340.1408 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1411 5pandeee1udfvlbotan2ntkau8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152340.1453 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1457 5pandeee1udfvlbotan2ntkau8 Query : select szadrsstamp valor from szadrs where szadrsdesc='magalhÃes & vinha, lda.'
20240809@152340.1510 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.1513 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from td where ndoc = 39
20240809@152340.1529 5pandeee1udfvlbotan2ntkau8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152340.1551 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.1571 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152340.1594 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.1614 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152340.1652 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.1670 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152340.1687 5pandeee1udfvlbotan2ntkau8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152340.1763 5pandeee1udfvlbotan2ntkau8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152340.1778 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.1796 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152340.1816 5pandeee1udfvlbotan2ntkau8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b629761666b6266c29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152340.2009 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.2030 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152340.2072 5pandeee1udfvlbotan2ntkau8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152340.2087 5pandeee1udfvlbotan2ntkau8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152340.2105 5pandeee1udfvlbotan2ntkau8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152340.2121 5pandeee1udfvlbotan2ntkau8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152340.2138 5pandeee1udfvlbotan2ntkau8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152340.2152 5pandeee1udfvlbotan2ntkau8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152340.2166 5pandeee1udfvlbotan2ntkau8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b629761666b6266c29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152340.2429 5pandeee1udfvlbotan2ntkau8 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152340.2449 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.2466 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152340.2493 5pandeee1udfvlbotan2ntkau8 Query : select 'normal' from dummy
20240809@152340.2511 5pandeee1udfvlbotan2ntkau8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b629761666b6266c29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',277,102068,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152340.2847 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.2850 5pandeee1udfvlbotan2ntkau8 Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240809@152340.2875 5pandeee1udfvlbotan2ntkau8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2232.00.1'
20240809@152340.3076 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3094 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.3123 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3141 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.3151 5pandeee1udfvlbotan2ntkau8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152340.3165 5pandeee1udfvlbotan2ntkau8 Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20240809@152340.3188 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3204 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.3217 5pandeee1udfvlbotan2ntkau8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629973666b6266c4d','aut66b629761666b6266c29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152340.3222 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3238 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.3268 5pandeee1udfvlbotan2ntkau8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629973666b6266c4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b629761666b6266c29' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152340.3555 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.3558 5pandeee1udfvlbotan2ntkau8 Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240809@152340.3579 5pandeee1udfvlbotan2ntkau8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2232.00.1'
20240809@152340.3594 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3610 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.3638 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3654 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.3663 5pandeee1udfvlbotan2ntkau8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152340.3677 5pandeee1udfvlbotan2ntkau8 Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20240809@152340.3690 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3705 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.3717 5pandeee1udfvlbotan2ntkau8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b622788266b6266c5a','aut66b629761666b6266c29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152340.3722 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.3737 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.3767 5pandeee1udfvlbotan2ntkau8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b622788266b6266c5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66b629761666b6266c29' ,0,0 ,2,23.00,20000,?,?,?,?)
20240809@152340.4036 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.4039 5pandeee1udfvlbotan2ntkau8 Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20240809@152340.4062 5pandeee1udfvlbotan2ntkau8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152340.4214 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.4233 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.4263 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.4280 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.4292 5pandeee1udfvlbotan2ntkau8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152340.4305 5pandeee1udfvlbotan2ntkau8 Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2300389200a'
20240809@152340.4324 5pandeee1udfvlbotan2ntkau8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.4343 5pandeee1udfvlbotan2ntkau8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.4356 5pandeee1udfvlbotan2ntkau8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b625534366b6266c69','aut66b629761666b6266c29' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152340.4375 5pandeee1udfvlbotan2ntkau8 Query : use flama_phc
20240809@152340.4378 5pandeee1udfvlbotan2ntkau8 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240809@152340.4458 5pandeee1udfvlbotan2ntkau8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1457';
20240809@152340.4486 5pandeee1udfvlbotan2ntkau8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1457';
20240809@152340.5280 druas2hd20ejjn6vgf7i064aka Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152340.5293 druas2hd20ejjn6vgf7i064aka Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152340.5346 druas2hd20ejjn6vgf7i064aka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240809@152340.5403 druas2hd20ejjn6vgf7i064aka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240809@152340.5457 druas2hd20ejjn6vgf7i064aka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240809@152340.5485 druas2hd20ejjn6vgf7i064aka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240809@152340.5535 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.5540 druas2hd20ejjn6vgf7i064aka Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152340.5607 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.5614 druas2hd20ejjn6vgf7i064aka Query : select no, estab,szadrsdesc from szadrs where u_coddest=1761
20240809@152340.6786 druas2hd20ejjn6vgf7i064aka Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240809@152340.6966 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.6970 druas2hd20ejjn6vgf7i064aka Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152340.7005 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.7009 druas2hd20ejjn6vgf7i064aka Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152340.7041 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.7044 druas2hd20ejjn6vgf7i064aka 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')
20240809@152340.7095 druas2hd20ejjn6vgf7i064aka 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
20240809@152340.7138 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.7148 druas2hd20ejjn6vgf7i064aka Query : select top 1 ~inactivo valor from cl where no = '101828' and estab = 0 order by inactivo desc
20240809@152340.7291 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.7295 druas2hd20ejjn6vgf7i064aka Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152340.7329 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.7333 druas2hd20ejjn6vgf7i064aka Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152340.7382 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.7386 druas2hd20ejjn6vgf7i064aka Query : select szadrsstamp valor from szadrs where szadrsdesc='electrocortes, lda'
20240809@152340.7453 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.7457 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from td where ndoc = 39
20240809@152340.7472 druas2hd20ejjn6vgf7i064aka Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152340.7491 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.7511 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152340.7536 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.7554 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152340.7617 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.7636 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152340.7653 druas2hd20ejjn6vgf7i064aka Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152340.7726 druas2hd20ejjn6vgf7i064aka Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152340.7748 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.7768 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152340.7789 druas2hd20ejjn6vgf7i064aka Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b625352866b6266cba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152340.7985 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.8006 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152340.8047 druas2hd20ejjn6vgf7i064aka Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152340.8061 druas2hd20ejjn6vgf7i064aka Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152340.8075 druas2hd20ejjn6vgf7i064aka Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152340.8091 druas2hd20ejjn6vgf7i064aka Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152340.8107 druas2hd20ejjn6vgf7i064aka Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152340.8124 druas2hd20ejjn6vgf7i064aka Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152340.8163 druas2hd20ejjn6vgf7i064aka Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b625352866b6266cba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152340.8462 druas2hd20ejjn6vgf7i064aka Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152340.8486 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.8506 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152340.8533 druas2hd20ejjn6vgf7i064aka Query : select 'normal' from dummy
20240809@152340.8552 druas2hd20ejjn6vgf7i064aka Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b625352866b6266cba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',277,101828,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152340.8937 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152340.8941 druas2hd20ejjn6vgf7i064aka Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240809@152340.8970 druas2hd20ejjn6vgf7i064aka Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.679.00.01'
20240809@152340.9164 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.9186 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.9217 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.9234 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.9245 druas2hd20ejjn6vgf7i064aka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152340.9261 druas2hd20ejjn6vgf7i064aka Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240809@152340.9408 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.9431 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.9446 druas2hd20ejjn6vgf7i064aka Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b620997566b6266ce5','aut66b625352866b6266cba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152340.9451 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.9471 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.9506 druas2hd20ejjn6vgf7i064aka Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b620997566b6266ce5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66b625352866b6266cba' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152340.9890 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.9913 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152340.9947 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152340.9968 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152340.9979 druas2hd20ejjn6vgf7i064aka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152340.9998 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.1700 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.3100 druas2hd20ejjn6vgf7i064aka Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b627493066b6266cf4','aut66b625352866b6266cba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152341.3700 druas2hd20ejjn6vgf7i064aka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.6200 druas2hd20ejjn6vgf7i064aka Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.9600 druas2hd20ejjn6vgf7i064aka Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b627493066b6266cf4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b625352866b6266cba' ,0,0 ,2,23.00,20000,?,?,?)
20240809@152341.4170 druas2hd20ejjn6vgf7i064aka Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b625352866b6266cba','2405308','wait',39,'adm09112754980.682000002')
20240809@152341.1220 druas2hd20ejjn6vgf7i064aka Query : use flama_phc
20240809@152341.1224 druas2hd20ejjn6vgf7i064aka Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152341.1341 druas2hd20ejjn6vgf7i064aka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240809@152341.1430 druas2hd20ejjn6vgf7i064aka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240809@152341.1543 druas2hd20ejjn6vgf7i064aka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1458';
20240809@152341.1614 druas2hd20ejjn6vgf7i064aka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1458';
20240809@152341.3452 lrallts2lfulf9cklj1h3pg2tn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152341.3706 lrallts2lfulf9cklj1h3pg2tn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152341.4184 lrallts2lfulf9cklj1h3pg2tn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240809@152341.4243 lrallts2lfulf9cklj1h3pg2tn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240809@152341.4303 lrallts2lfulf9cklj1h3pg2tn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240809@152341.4330 lrallts2lfulf9cklj1h3pg2tn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240809@152341.4377 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4381 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152341.4448 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4452 lrallts2lfulf9cklj1h3pg2tn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152341.4500 lrallts2lfulf9cklj1h3pg2tn 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'
20240809@152341.4680 lrallts2lfulf9cklj1h3pg2tn 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'
20240809@152341.4702 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4706 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152341.4747 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4750 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152341.4785 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4789 lrallts2lfulf9cklj1h3pg2tn 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')
20240809@152341.4821 lrallts2lfulf9cklj1h3pg2tn 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
20240809@152341.4857 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4860 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152341.4895 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4899 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152341.4932 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4936 lrallts2lfulf9cklj1h3pg2tn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152341.4980 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.4984 lrallts2lfulf9cklj1h3pg2tn Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152341.5035 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.5038 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from td where ndoc = 39
20240809@152341.5052 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152341.5069 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.5089 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152341.5112 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.5129 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152341.5164 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.5182 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152341.5199 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152341.5272 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152341.5289 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.5306 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152341.5326 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b629232966b6266d7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152341.5519 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.5539 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152341.5579 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152341.5596 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152341.5611 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152341.5626 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152341.5642 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152341.5656 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152341.5669 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b629232966b6266d7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152341.5927 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152341.5948 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.5968 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152341.6001 lrallts2lfulf9cklj1h3pg2tn Query : select 'normal' from dummy
20240809@152341.6020 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b629232966b6266d7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',278,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152341.6330 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.6333 lrallts2lfulf9cklj1h3pg2tn Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20240809@152341.6363 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152341.6523 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.6547 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.6580 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.6599 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.6609 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152341.6624 lrallts2lfulf9cklj1h3pg2tn Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20240809@152341.6647 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.6664 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.6678 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b620400466b6266da2','aut66b629232966b6266d7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152341.6684 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.6700 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.6734 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b620400466b6266da2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b629232966b6266d7e' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152341.7009 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7027 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.7057 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7074 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.7084 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152341.7099 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7115 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.7130 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b626991566b6266dad','aut66b629232966b6266d7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152341.7134 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7150 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.7184 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b626991566b6266dad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b629232966b6266d7e' ,0,0 ,2,23.00,20000,?,?,?)
20240809@152341.7465 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.7470 lrallts2lfulf9cklj1h3pg2tn Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20240809@152341.7494 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152341.7511 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7531 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.7561 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7579 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.7590 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152341.7605 lrallts2lfulf9cklj1h3pg2tn Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2400079200a'
20240809@152341.7621 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7639 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.7653 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b621276666b6266dba','aut66b629232966b6266d7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152341.7658 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.7676 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.7712 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b621276666b6266dba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66b629232966b6266d7e' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@152341.7994 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.8012 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.8047 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.8067 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.8077 lrallts2lfulf9cklj1h3pg2tn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152341.8093 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.8111 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152341.8124 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629877466b6266dc5','aut66b629232966b6266d7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152341.8131 lrallts2lfulf9cklj1h3pg2tn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152341.8149 lrallts2lfulf9cklj1h3pg2tn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152341.8185 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b629877466b6266dc5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b629232966b6266d7e' ,0,0 ,2,23.00,50000,?,?,?)
20240809@152341.8457 lrallts2lfulf9cklj1h3pg2tn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b629232966b6266d7e','2405310','wait',39,'adm09112754980.682000002')
20240809@152341.8538 lrallts2lfulf9cklj1h3pg2tn Query : use flama_phc
20240809@152341.8542 lrallts2lfulf9cklj1h3pg2tn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152341.8576 lrallts2lfulf9cklj1h3pg2tn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240809@152341.8606 lrallts2lfulf9cklj1h3pg2tn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240809@152341.8648 lrallts2lfulf9cklj1h3pg2tn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1459';
20240809@152341.8674 lrallts2lfulf9cklj1h3pg2tn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1459';
20240809@152342.3400 r827k2tv8m61ne5cquaqh1go99 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152342.3530 r827k2tv8m61ne5cquaqh1go99 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152342.4180 r827k2tv8m61ne5cquaqh1go99 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240809@152342.4940 r827k2tv8m61ne5cquaqh1go99 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240809@152342.5560 r827k2tv8m61ne5cquaqh1go99 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240809@152342.5870 r827k2tv8m61ne5cquaqh1go99 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240809@152342.6420 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.6470 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152342.7230 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.7270 r827k2tv8m61ne5cquaqh1go99 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152342.7730 r827k2tv8m61ne5cquaqh1go99 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'
20240809@152342.9660 r827k2tv8m61ne5cquaqh1go99 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'
20240809@152342.9940 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.9980 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152342.1033 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.1037 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152342.1070 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.1073 r827k2tv8m61ne5cquaqh1go99 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')
20240809@152342.1106 r827k2tv8m61ne5cquaqh1go99 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
20240809@152342.1148 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.1152 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152342.1187 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.1191 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152342.1229 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.1233 r827k2tv8m61ne5cquaqh1go99 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152342.1277 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.1281 r827k2tv8m61ne5cquaqh1go99 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152342.1333 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.1336 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from td where ndoc = 39
20240809@152342.1351 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152342.1369 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.1390 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152342.1413 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.1431 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152342.1470 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.1490 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152342.1507 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152342.1583 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152342.1600 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.1622 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152342.1643 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b622783966b6266e24' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152342.1861 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.1885 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152342.1930 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152342.1947 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152342.1964 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152342.1980 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152342.1996 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152342.2012 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152342.2027 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b622783966b6266e24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152342.2377 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152342.2401 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.2424 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152342.2456 r827k2tv8m61ne5cquaqh1go99 Query : select 'normal' from dummy
20240809@152342.2477 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b622783966b6266e24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',279,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152342.2818 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.2822 r827k2tv8m61ne5cquaqh1go99 Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240809@152342.2848 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152342.3014 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3033 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152342.3064 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3080 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152342.3092 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152342.3105 r827k2tv8m61ne5cquaqh1go99 Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20240809@152342.3122 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3138 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152342.3154 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629295866b6266e4c','aut66b622783966b6266e24' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152342.3165 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3182 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152342.3215 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629295866b6266e4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b622783966b6266e24' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152342.3553 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.3557 r827k2tv8m61ne5cquaqh1go99 Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240809@152342.3583 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152342.3600 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3621 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152342.3656 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3674 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152342.3686 r827k2tv8m61ne5cquaqh1go99 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152342.3702 r827k2tv8m61ne5cquaqh1go99 Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20240809@152342.3719 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3739 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152342.3755 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629622766b6266e5a','aut66b622783966b6266e24' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152342.3760 r827k2tv8m61ne5cquaqh1go99 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152342.3781 r827k2tv8m61ne5cquaqh1go99 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152342.3820 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629622766b6266e5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66b622783966b6266e24' ,0,0 ,2,23.00,20000,?,?,?,?)
20240809@152342.4519 r827k2tv8m61ne5cquaqh1go99 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b622783966b6266e24','2405311','wait',39,'adm09112754980.682000002')
20240809@152342.4889 r827k2tv8m61ne5cquaqh1go99 Query : use flama_phc
20240809@152342.4895 r827k2tv8m61ne5cquaqh1go99 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152342.4990 r827k2tv8m61ne5cquaqh1go99 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240809@152342.5021 r827k2tv8m61ne5cquaqh1go99 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240809@152342.5353 r827k2tv8m61ne5cquaqh1go99 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1460';
20240809@152343.3339 r827k2tv8m61ne5cquaqh1go99 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1460';
20240809@152343.7240 hslf9lqp6jbflt42jd271u6v5h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152343.7253 hslf9lqp6jbflt42jd271u6v5h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152343.7453 hslf9lqp6jbflt42jd271u6v5h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1461';
20240809@152343.7511 hslf9lqp6jbflt42jd271u6v5h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1461';
20240809@152343.7564 hslf9lqp6jbflt42jd271u6v5h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1461';
20240809@152343.7657 hslf9lqp6jbflt42jd271u6v5h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1461';
20240809@152343.7707 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.7711 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152343.7780 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.7784 hslf9lqp6jbflt42jd271u6v5h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152343.7827 hslf9lqp6jbflt42jd271u6v5h 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'
20240809@152343.7849 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.7852 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152343.7889 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.7892 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152343.7926 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.7929 hslf9lqp6jbflt42jd271u6v5h 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')
20240809@152343.7960 hslf9lqp6jbflt42jd271u6v5h 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
20240809@152343.7997 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.7999 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152343.8033 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.8037 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152343.8071 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.8075 hslf9lqp6jbflt42jd271u6v5h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152343.8128 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.8131 hslf9lqp6jbflt42jd271u6v5h Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152343.8228 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152343.8231 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from td where ndoc = 39
20240809@152343.8244 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152343.8259 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152343.8277 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152343.8298 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152343.8315 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152343.8346 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152343.8362 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152343.8376 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152343.8447 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152343.8460 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152343.8487 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152343.8502 hslf9lqp6jbflt42jd271u6v5h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b627852966b6266fcc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152343.8685 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152343.8735 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152343.8789 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152343.8809 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152343.8822 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152343.8834 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152343.8845 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152343.8858 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152343.8870 hslf9lqp6jbflt42jd271u6v5h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b627852966b6266fcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152343.9259 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152344.1930 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.2120 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152344.2370 hslf9lqp6jbflt42jd271u6v5h Query : select 'normal' from dummy
20240809@152344.2530 hslf9lqp6jbflt42jd271u6v5h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b627852966b6266fcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',280,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152344.5890 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152344.5920 hslf9lqp6jbflt42jd271u6v5h Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20240809@152344.6140 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152344.6290 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.6460 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.6750 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.6920 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.7010 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152344.7130 hslf9lqp6jbflt42jd271u6v5h Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2300389200a'
20240809@152344.7240 hslf9lqp6jbflt42jd271u6v5h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.7400 hslf9lqp6jbflt42jd271u6v5h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.7540 hslf9lqp6jbflt42jd271u6v5h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b628220566b6267011','aut66b627852966b6266fcc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152344.7710 hslf9lqp6jbflt42jd271u6v5h Query : use flama_phc
20240809@152344.7760 hslf9lqp6jbflt42jd271u6v5h Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240809@152344.8530 hslf9lqp6jbflt42jd271u6v5h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1461';
20240809@152344.8810 hslf9lqp6jbflt42jd271u6v5h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1461';
20240809@152344.1403 ua3hv41lff05bonvdtoe1toaa0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152344.1416 ua3hv41lff05bonvdtoe1toaa0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152344.1468 ua3hv41lff05bonvdtoe1toaa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240809@152344.1523 ua3hv41lff05bonvdtoe1toaa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240809@152344.1576 ua3hv41lff05bonvdtoe1toaa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240809@152344.1601 ua3hv41lff05bonvdtoe1toaa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240809@152344.1650 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.1653 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152344.1720 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.1723 ua3hv41lff05bonvdtoe1toaa0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152344.1765 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240809@152344.1939 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240809@152344.1966 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.1970 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152344.2006 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.2009 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152344.2043 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.2047 ua3hv41lff05bonvdtoe1toaa0 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')
20240809@152344.2078 ua3hv41lff05bonvdtoe1toaa0 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
20240809@152344.2116 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.2120 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152344.2158 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.2162 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152344.2199 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.2202 ua3hv41lff05bonvdtoe1toaa0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152344.2279 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.2282 ua3hv41lff05bonvdtoe1toaa0 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152344.2336 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.2339 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from td where ndoc = 39
20240809@152344.2355 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152344.2372 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.2393 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152344.2420 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.2441 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152344.2477 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.2497 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152344.2511 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152344.2587 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152344.2602 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.2621 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152344.2641 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b627710966b626703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152344.2843 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.2864 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152344.2905 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152344.2918 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152344.2933 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152344.2945 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152344.2960 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152344.2974 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152344.2987 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b627710966b626703d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152344.3264 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152344.3282 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.3300 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152344.3328 ua3hv41lff05bonvdtoe1toaa0 Query : select 'normal' from dummy
20240809@152344.3345 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b627710966b626703d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',280,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152344.3666 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.3669 ua3hv41lff05bonvdtoe1toaa0 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240809@152344.3692 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240809@152344.3848 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.3864 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.3892 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.3908 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.3917 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152344.3930 ua3hv41lff05bonvdtoe1toaa0 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240809@152344.3951 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.3967 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.3980 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b621896566b6267060','aut66b627710966b626703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152344.3984 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.4000 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.4031 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b621896566b6267060',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b627710966b626703d' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152344.4318 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.4335 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.4360 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.4377 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.4386 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152344.4398 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.4414 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.4428 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629476766b626706b','aut66b627710966b626703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152344.4433 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.4450 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.4480 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b629476766b626706b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b627710966b626703d' ,0,0 ,2,23.00,20000,?,?,?)
20240809@152344.4788 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.4830 ua3hv41lff05bonvdtoe1toaa0 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240809@152344.4902 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240809@152344.4917 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.4933 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.4971 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.4986 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.4994 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152344.5007 ua3hv41lff05bonvdtoe1toaa0 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240809@152344.5022 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.5041 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.5053 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b625093066b626707a','aut66b627710966b626703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152344.5057 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.5072 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.5141 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b625093066b626707a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66b627710966b626703d' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@152344.5429 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.5446 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.5473 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.5488 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.5498 ua3hv41lff05bonvdtoe1toaa0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152344.5511 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.5526 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.5539 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b626774166b6267086','aut66b627710966b626703d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152344.5544 ua3hv41lff05bonvdtoe1toaa0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.5559 ua3hv41lff05bonvdtoe1toaa0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.5591 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b626774166b6267086',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b627710966b626703d' ,0,0 ,2,23.00,50000,?,?,?)
20240809@152344.5856 ua3hv41lff05bonvdtoe1toaa0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b627710966b626703d','2405313','wait',39,'adm09112754980.682000002')
20240809@152344.5934 ua3hv41lff05bonvdtoe1toaa0 Query : use flama_phc
20240809@152344.5938 ua3hv41lff05bonvdtoe1toaa0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152344.5970 ua3hv41lff05bonvdtoe1toaa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240809@152344.6000 ua3hv41lff05bonvdtoe1toaa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240809@152344.6040 ua3hv41lff05bonvdtoe1toaa0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1462';
20240809@152344.6064 ua3hv41lff05bonvdtoe1toaa0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1462';
20240809@152344.6573 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152344.6585 oj93mocnm6itj8nn6tq1v51dr3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152344.6637 oj93mocnm6itj8nn6tq1v51dr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1463';
20240809@152344.6691 oj93mocnm6itj8nn6tq1v51dr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1463';
20240809@152344.6742 oj93mocnm6itj8nn6tq1v51dr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1463';
20240809@152344.6765 oj93mocnm6itj8nn6tq1v51dr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1463';
20240809@152344.6811 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.6814 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152344.6882 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.6886 oj93mocnm6itj8nn6tq1v51dr3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152344.6928 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240809@152344.7101 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240809@152344.7125 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7129 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152344.7163 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7166 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152344.7197 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7200 oj93mocnm6itj8nn6tq1v51dr3 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')
20240809@152344.7232 oj93mocnm6itj8nn6tq1v51dr3 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
20240809@152344.7268 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7270 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152344.7303 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7306 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152344.7337 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7340 oj93mocnm6itj8nn6tq1v51dr3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152344.7379 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7382 oj93mocnm6itj8nn6tq1v51dr3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152344.7428 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.7431 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from td where ndoc = 39
20240809@152344.7444 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152344.7459 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.7477 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152344.7497 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.7511 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152344.7540 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.7555 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152344.7568 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152344.7641 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152344.7655 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.7670 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152344.7686 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b627983466b62670b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152344.7869 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.7886 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152344.7919 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152344.7931 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152344.7944 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152344.7956 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152344.7969 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152344.7982 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152344.7994 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b627983466b62670b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152344.8232 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152344.8248 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.8265 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152344.8288 oj93mocnm6itj8nn6tq1v51dr3 Query : select 'normal' from dummy
20240809@152344.8307 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b627983466b62670b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',281,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152344.8594 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.8596 oj93mocnm6itj8nn6tq1v51dr3 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240809@152344.8620 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240809@152344.8768 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.8785 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.8813 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.8828 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.8837 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152344.8849 oj93mocnm6itj8nn6tq1v51dr3 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20240809@152344.8870 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.8885 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.8897 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629236766b62670d8','aut66b627983466b62670b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152344.8902 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.8917 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.8946 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629236766b62670d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66b627983466b62670b8' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152344.9205 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.9208 oj93mocnm6itj8nn6tq1v51dr3 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240809@152344.9228 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240809@152344.9242 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.9258 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.9284 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.9298 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.9307 oj93mocnm6itj8nn6tq1v51dr3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152344.9319 oj93mocnm6itj8nn6tq1v51dr3 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20240809@152344.9332 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.9346 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152344.9357 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b625033766b62670e3','aut66b627983466b62670b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152344.9361 oj93mocnm6itj8nn6tq1v51dr3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152344.9376 oj93mocnm6itj8nn6tq1v51dr3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152344.9404 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b625033766b62670e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',64.000 ,'aut66b627983466b62670b8' ,0,0 ,2,23.00,20000,?,?,?,?)
20240809@152344.9641 oj93mocnm6itj8nn6tq1v51dr3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b627983466b62670b8','2405314','wait',39,'adm09112754980.682000002')
20240809@152344.9711 oj93mocnm6itj8nn6tq1v51dr3 Query : use flama_phc
20240809@152344.9714 oj93mocnm6itj8nn6tq1v51dr3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152344.9748 oj93mocnm6itj8nn6tq1v51dr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1463';
20240809@152344.9774 oj93mocnm6itj8nn6tq1v51dr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1463';
20240809@152344.9812 oj93mocnm6itj8nn6tq1v51dr3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1463';
20240809@152344.9836 oj93mocnm6itj8nn6tq1v51dr3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1463';
20240809@152345.3420 8itehc1rgt1n0763fik7g4g3pa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152345.3530 8itehc1rgt1n0763fik7g4g3pa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152345.4080 8itehc1rgt1n0763fik7g4g3pa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240809@152345.4650 8itehc1rgt1n0763fik7g4g3pa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240809@152345.5130 8itehc1rgt1n0763fik7g4g3pa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240809@152345.5360 8itehc1rgt1n0763fik7g4g3pa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240809@152345.5830 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.5860 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152345.6480 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.6510 8itehc1rgt1n0763fik7g4g3pa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152345.6920 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240809@152345.8510 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240809@152345.8710 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.8740 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152345.9070 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.9100 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152345.9400 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.9430 8itehc1rgt1n0763fik7g4g3pa 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')
20240809@152345.9720 8itehc1rgt1n0763fik7g4g3pa 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
20240809@152345.1012 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.1015 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152345.1047 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.1050 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152345.1083 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.1086 8itehc1rgt1n0763fik7g4g3pa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152345.1129 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.1132 8itehc1rgt1n0763fik7g4g3pa Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152345.1179 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.1182 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from td where ndoc = 39
20240809@152345.1194 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152345.1209 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.1227 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152345.1249 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.1265 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152345.1297 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.1312 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152345.1326 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152345.1396 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152345.1410 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.1426 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152345.1443 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b622920766b6267120' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152345.1629 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.1646 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152345.1682 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152345.1695 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152345.1708 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152345.1721 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152345.1734 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152345.1746 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152345.1758 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b622920766b6267120',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152345.2001 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152345.2018 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.2034 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152345.2058 8itehc1rgt1n0763fik7g4g3pa Query : select 'normal' from dummy
20240809@152345.2075 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b622920766b6267120',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',282,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152345.2364 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.2367 8itehc1rgt1n0763fik7g4g3pa Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240809@152345.2391 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240809@152345.2534 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.2551 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152345.2580 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.2596 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152345.2605 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152345.2618 8itehc1rgt1n0763fik7g4g3pa Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240809@152345.2633 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.2648 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152345.2660 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629588666b6267140','aut66b622920766b6267120' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152345.2665 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.2682 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152345.2715 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629588666b6267140',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',126.000 ,'aut66b622920766b6267120' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152345.2961 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.2964 8itehc1rgt1n0763fik7g4g3pa Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240809@152345.2985 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240809@152345.2999 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.3316 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152345.4174 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.4190 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152345.4198 8itehc1rgt1n0763fik7g4g3pa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152345.4210 8itehc1rgt1n0763fik7g4g3pa Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240809@152345.4224 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.4238 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152345.4250 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b625689266b6267167','aut66b622920766b6267120' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152345.4255 8itehc1rgt1n0763fik7g4g3pa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.4272 8itehc1rgt1n0763fik7g4g3pa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152345.4305 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b625689266b6267167',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66b622920766b6267120' ,0,0 ,2,23.00,20000,?,?,?,?)
20240809@152345.4586 8itehc1rgt1n0763fik7g4g3pa Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b622920766b6267120','2405315','wait',39,'adm09112754980.682000002')
20240809@152345.4666 8itehc1rgt1n0763fik7g4g3pa Query : use flama_phc
20240809@152345.4669 8itehc1rgt1n0763fik7g4g3pa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152345.4699 8itehc1rgt1n0763fik7g4g3pa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240809@152345.4726 8itehc1rgt1n0763fik7g4g3pa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240809@152345.4763 8itehc1rgt1n0763fik7g4g3pa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1464';
20240809@152345.4785 8itehc1rgt1n0763fik7g4g3pa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1464';
20240809@152345.5346 a21q21bgi1b322h0324csrjjn5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152345.5360 a21q21bgi1b322h0324csrjjn5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152345.5412 a21q21bgi1b322h0324csrjjn5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240809@152345.5472 a21q21bgi1b322h0324csrjjn5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240809@152345.5521 a21q21bgi1b322h0324csrjjn5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240809@152345.5553 a21q21bgi1b322h0324csrjjn5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240809@152345.5596 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.5599 a21q21bgi1b322h0324csrjjn5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152345.5663 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.5666 a21q21bgi1b322h0324csrjjn5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152345.5706 a21q21bgi1b322h0324csrjjn5 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'
20240809@152345.5876 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.5880 a21q21bgi1b322h0324csrjjn5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152345.5911 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.5914 a21q21bgi1b322h0324csrjjn5 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152345.5943 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.5946 a21q21bgi1b322h0324csrjjn5 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')
20240809@152345.5976 a21q21bgi1b322h0324csrjjn5 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
20240809@152345.6010 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.6013 a21q21bgi1b322h0324csrjjn5 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152345.6042 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.6045 a21q21bgi1b322h0324csrjjn5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152345.6077 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.6080 a21q21bgi1b322h0324csrjjn5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152345.6118 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.6121 a21q21bgi1b322h0324csrjjn5 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152345.6172 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.6176 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from td where ndoc = 39
20240809@152345.6188 a21q21bgi1b322h0324csrjjn5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152345.6203 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.6220 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152345.6240 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.6254 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152345.6282 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.6297 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152345.6310 a21q21bgi1b322h0324csrjjn5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152345.6384 a21q21bgi1b322h0324csrjjn5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152345.6397 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.6411 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152345.6427 a21q21bgi1b322h0324csrjjn5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b624752166b626719a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152345.6613 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.6629 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152345.6662 a21q21bgi1b322h0324csrjjn5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152345.6674 a21q21bgi1b322h0324csrjjn5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152345.6686 a21q21bgi1b322h0324csrjjn5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152345.6697 a21q21bgi1b322h0324csrjjn5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152345.6708 a21q21bgi1b322h0324csrjjn5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152345.6719 a21q21bgi1b322h0324csrjjn5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152345.6731 a21q21bgi1b322h0324csrjjn5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b624752166b626719a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152345.6960 a21q21bgi1b322h0324csrjjn5 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152345.6976 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.6991 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152345.7012 a21q21bgi1b322h0324csrjjn5 Query : select 'normal' from dummy
20240809@152345.7029 a21q21bgi1b322h0324csrjjn5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b624752166b626719a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',283,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152345.7355 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.7358 a21q21bgi1b322h0324csrjjn5 Query : select st.usalote valor from st where st.ref = '324.4966.00.1'
20240809@152345.7381 a21q21bgi1b322h0324csrjjn5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152345.7527 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.7542 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152345.7568 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.7582 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152345.7590 a21q21bgi1b322h0324csrjjn5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152345.7602 a21q21bgi1b322h0324csrjjn5 Query : select sestamp valor from se where ref ='324.4966.00.1' and lote = 'r2301277100a'
20240809@152345.7615 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.7629 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152345.7640 a21q21bgi1b322h0324csrjjn5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b627277266b62671b9','aut66b624752166b626719a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152345.7644 a21q21bgi1b322h0324csrjjn5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152345.7658 a21q21bgi1b322h0324csrjjn5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152345.7685 a21q21bgi1b322h0324csrjjn5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b627277266b62671b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66b624752166b626719a' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152345.7923 a21q21bgi1b322h0324csrjjn5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b624752166b626719a','2405316','wait',39,'adm09112754980.682000002')
20240809@152345.7994 a21q21bgi1b322h0324csrjjn5 Query : use flama_phc
20240809@152345.7997 a21q21bgi1b322h0324csrjjn5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152345.8027 a21q21bgi1b322h0324csrjjn5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240809@152345.8053 a21q21bgi1b322h0324csrjjn5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240809@152345.8091 a21q21bgi1b322h0324csrjjn5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1465';
20240809@152345.8113 a21q21bgi1b322h0324csrjjn5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1465';
20240809@152345.8598 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152345.8609 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152345.8658 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240809@152345.8709 ni94hbqa3jq5e5ktmmmku0qvd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240809@152345.8760 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240809@152345.8783 ni94hbqa3jq5e5ktmmmku0qvd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240809@152345.8830 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152345.8833 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152345.8897 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152345.8900 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152345.8939 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240809@152345.9105 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240809@152345.9124 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240809@152345.9260 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240809@152345.9380 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240809@152345.9400 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240809@152345.9520 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240809@152346.7240 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240809@152346.7500 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.7530 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152346.7860 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.7890 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152346.8180 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.8210 ni94hbqa3jq5e5ktmmmku0qvd7 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')
20240809@152346.8500 ni94hbqa3jq5e5ktmmmku0qvd7 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
20240809@152346.8850 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.8880 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152346.9170 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.9200 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152346.9520 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.9550 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152346.9950 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.9980 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152346.1042 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.1044 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from td where ndoc = 39
20240809@152346.1056 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152346.1071 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.1088 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152346.1107 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.1121 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152346.1149 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.1162 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152346.1177 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152346.1261 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152346.1275 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.1290 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152346.1307 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152346.1493 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.1509 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152346.1544 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152346.1557 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152346.1569 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152346.1581 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152346.1594 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152346.1606 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152346.1618 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b626010366b626721c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152346.1842 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152346.1858 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.1874 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152346.1897 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 'normal' from dummy
20240809@152346.1912 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b626010366b626721c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',284,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152346.2174 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.2178 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240809@152346.2200 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5347.00.1'
20240809@152346.2345 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2361 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.2388 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2402 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.2411 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.2425 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240809@152346.2439 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2454 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.2466 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b626903566b626723b','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.2470 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2485 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.2513 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b626903566b626723b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152346.2763 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2779 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.2804 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2819 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.2830 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.2842 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2857 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.2869 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624670566b6267245','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.2874 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.2888 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.2917 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b624670566b6267245',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,20000,?,?,?)
20240809@152346.3148 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.3151 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240809@152346.3172 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5347.00.1'
20240809@152346.3187 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3203 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.3230 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3245 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.3254 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.3267 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240809@152346.3280 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3296 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.3308 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b628771866b6267250','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.3312 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3328 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.3357 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b628771866b6267250',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',192.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@152346.3624 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3642 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.3671 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3686 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.3695 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.3708 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3722 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.3735 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b623566966b626725a','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.3739 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.3753 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.3783 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b623566966b626725a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,50000,?,?,?)
20240809@152346.4016 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.4019 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240809@152346.4041 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240809@152346.4203 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4220 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.4247 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4262 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.4271 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.4284 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240809@152346.4305 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4323 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.4336 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629986766b6267269','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.4340 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4355 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.4393 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629986766b6267269',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,70000,?,?,?,?)
20240809@152346.4653 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.4656 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240809@152346.4678 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5342.00.1'
20240809@152346.4833 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4850 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.4876 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4890 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.4899 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.4911 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240809@152346.4926 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4941 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.4953 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b626959766b6267278','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.4957 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.4971 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.5000 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b626959766b6267278',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,80000,?,?,?,?)
20240809@152346.5271 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5287 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.5314 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5328 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.5338 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.5350 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5364 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.5376 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624587366b6267282','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.5381 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5396 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.5427 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b624587366b6267282',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,90000,?,?,?)
20240809@152346.5743 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.5747 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240809@152346.5768 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5342.00.1'
20240809@152346.5782 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5799 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.5824 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5838 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.5846 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.5858 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240809@152346.5870 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5885 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.5896 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629431166b626728f','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.5901 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.5915 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.5942 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629431166b626728f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,110000,?,?,?,?)
20240809@152346.6205 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6221 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.6246 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6260 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.6269 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.6281 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6296 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.6308 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b627735266b6267299','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.6314 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6329 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.6356 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b627735266b6267299',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,120000,?,?,?)
20240809@152346.6604 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.6607 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240809@152346.6628 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20240809@152346.6780 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6797 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.6825 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6840 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.6848 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.6860 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240809@152346.6874 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6888 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.6899 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624766166b62672a7','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.6903 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.6918 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.6945 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b624766166b62672a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,140000,?,?,?,?)
20240809@152346.8051 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.8143 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240809@152346.8262 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5396.00.1'
20240809@152346.8414 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8430 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.8454 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8469 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.8480 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.8492 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240809@152346.8506 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8521 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.8533 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629231066b62672cf','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.8537 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8554 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.8582 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b629231066b62672cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,150000,?,?,?,?)
20240809@152346.8832 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8846 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.8872 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8886 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.8894 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.8907 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8921 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.8933 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b622374466b62672d9','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.8936 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.8950 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.8979 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b622374466b62672d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,160000,?,?,?)
20240809@152346.9212 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152346.9215 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240809@152346.9235 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5396.00.1'
20240809@152346.9249 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9264 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.9291 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9306 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.9316 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.9328 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240809@152346.9341 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9355 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.9366 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b628222266b62672e4','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.9370 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9384 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.9413 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b628222266b62672e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,180000,?,?,?,?)
20240809@152346.9649 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9664 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.9690 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9705 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.9713 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152346.9728 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9743 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152346.9754 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b623416466b62672ed','aut66b626010366b626721c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152346.9758 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152346.9773 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152346.9800 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b623416466b62672ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b626010366b626721c' ,0,0 ,2,23.00,190000,?,?,?)
20240809@152347.3000 ni94hbqa3jq5e5ktmmmku0qvd7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b626010366b626721c','2405317','wait',39,'adm09112754980.682000002')
20240809@152347.9900 ni94hbqa3jq5e5ktmmmku0qvd7 Query : use flama_phc
20240809@152347.1020 ni94hbqa3jq5e5ktmmmku0qvd7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152347.1320 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240809@152347.1580 ni94hbqa3jq5e5ktmmmku0qvd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240809@152347.1940 ni94hbqa3jq5e5ktmmmku0qvd7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1466';
20240809@152347.2170 ni94hbqa3jq5e5ktmmmku0qvd7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1466';
20240809@152347.7500 ask5avq04d9roe0178vsmd94bc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152347.7610 ask5avq04d9roe0178vsmd94bc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152347.8080 ask5avq04d9roe0178vsmd94bc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240809@152347.8580 ask5avq04d9roe0178vsmd94bc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240809@152347.9050 ask5avq04d9roe0178vsmd94bc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240809@152347.9290 ask5avq04d9roe0178vsmd94bc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240809@152347.9750 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.9780 ask5avq04d9roe0178vsmd94bc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152347.1039 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1042 ask5avq04d9roe0178vsmd94bc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152347.1083 ask5avq04d9roe0178vsmd94bc 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'
20240809@152347.1243 ask5avq04d9roe0178vsmd94bc 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'
20240809@152347.1262 ask5avq04d9roe0178vsmd94bc 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'
20240809@152347.1282 ask5avq04d9roe0178vsmd94bc 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'
20240809@152347.1301 ask5avq04d9roe0178vsmd94bc 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'
20240809@152347.1320 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1323 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152347.1354 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1357 ask5avq04d9roe0178vsmd94bc Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152347.1387 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1389 ask5avq04d9roe0178vsmd94bc 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')
20240809@152347.1416 ask5avq04d9roe0178vsmd94bc 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
20240809@152347.1450 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1453 ask5avq04d9roe0178vsmd94bc Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152347.1482 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1484 ask5avq04d9roe0178vsmd94bc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152347.1513 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1516 ask5avq04d9roe0178vsmd94bc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152347.1554 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1557 ask5avq04d9roe0178vsmd94bc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152347.1600 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.1603 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from td where ndoc = 39
20240809@152347.1615 ask5avq04d9roe0178vsmd94bc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152347.1629 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.1644 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152347.1663 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.1677 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152347.1704 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.1718 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152347.1730 ask5avq04d9roe0178vsmd94bc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152347.1798 ask5avq04d9roe0178vsmd94bc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152347.1811 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.1826 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152347.1841 ask5avq04d9roe0178vsmd94bc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152347.2008 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.2023 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152347.2054 ask5avq04d9roe0178vsmd94bc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152347.2065 ask5avq04d9roe0178vsmd94bc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152347.2077 ask5avq04d9roe0178vsmd94bc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152347.2088 ask5avq04d9roe0178vsmd94bc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152347.2099 ask5avq04d9roe0178vsmd94bc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152347.2110 ask5avq04d9roe0178vsmd94bc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152347.2121 ask5avq04d9roe0178vsmd94bc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b623549066b626732a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152347.2353 ask5avq04d9roe0178vsmd94bc Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152347.2369 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.2385 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152347.2406 ask5avq04d9roe0178vsmd94bc Query : select 'normal' from dummy
20240809@152347.2421 ask5avq04d9roe0178vsmd94bc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b623549066b626732a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',285,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152347.2690 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.2693 ask5avq04d9roe0178vsmd94bc Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240809@152347.2715 ask5avq04d9roe0178vsmd94bc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152347.2856 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.2872 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.2897 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.2910 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.2919 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.2931 ask5avq04d9roe0178vsmd94bc Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240809@152347.2952 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.2966 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.2978 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624480366b6267348','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.2982 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.2996 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.3022 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b624480366b6267348',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152347.3278 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.3293 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.3320 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.3335 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.3343 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.3355 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.3370 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.3382 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b628148666b6267351','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.3386 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.3400 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.3431 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b628148666b6267351',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,20000,?,?,?)
20240809@152347.4208 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.4289 ask5avq04d9roe0178vsmd94bc Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240809@152347.4817 ask5avq04d9roe0178vsmd94bc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152347.4831 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.4847 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.4872 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.4886 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.4895 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.4907 ask5avq04d9roe0178vsmd94bc Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240809@152347.4921 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.4938 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.4950 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b628259466b6267378','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.4955 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.4969 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.4997 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b628259466b6267378',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@152347.5456 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.5474 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.5500 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.5517 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.5526 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.5539 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.5553 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.5565 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624466266b6267387','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.5571 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.5586 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.5613 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b624466266b6267387',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,50000,?,?,?)
20240809@152347.5873 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.5876 ask5avq04d9roe0178vsmd94bc Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240809@152347.5896 ask5avq04d9roe0178vsmd94bc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152347.5909 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.5925 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.5951 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.5965 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.5976 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.5988 ask5avq04d9roe0178vsmd94bc Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240809@152347.6000 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6014 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.6026 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b627210366b6267392','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.6030 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6044 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.6072 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b627210366b6267392',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,70000,?,?,?,?)
20240809@152347.6333 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6350 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.6376 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6390 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.6399 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.6416 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6430 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.6442 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b629728566b626739c','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.6446 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6460 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.6489 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b629728566b626739c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,80000,?,?,?)
20240809@152347.6706 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.6709 ask5avq04d9roe0178vsmd94bc Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240809@152347.6728 ask5avq04d9roe0178vsmd94bc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152347.6742 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6756 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.6781 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6795 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.6804 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.6816 ask5avq04d9roe0178vsmd94bc Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240809@152347.6829 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6843 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.6855 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b621207166b62673a6','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.6859 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.6873 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.6901 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b621207166b62673a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,100000,?,?,?,?)
20240809@152347.7126 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7335 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.7363 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7378 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.7386 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.7398 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7413 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.7425 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b626658766b62673b4','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.7429 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7444 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.7473 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b626658766b62673b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,110000,?,?,?)
20240809@152347.7727 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.7730 ask5avq04d9roe0178vsmd94bc Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240809@152347.7750 ask5avq04d9roe0178vsmd94bc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240809@152347.7763 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7779 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.7803 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7818 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.7828 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.7840 ask5avq04d9roe0178vsmd94bc Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20240809@152347.7852 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7867 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.7879 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624773666b62673bf','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.7883 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.7898 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.7926 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b624773666b62673bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,130000,?,?,?,?)
20240809@152347.8173 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.8189 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.8214 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.8229 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.8237 ask5avq04d9roe0178vsmd94bc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152347.8249 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.8264 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152347.8275 ask5avq04d9roe0178vsmd94bc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b623747066b62673c9','aut66b623549066b626732a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152347.8279 ask5avq04d9roe0178vsmd94bc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152347.8295 ask5avq04d9roe0178vsmd94bc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152347.8324 ask5avq04d9roe0178vsmd94bc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b623747066b62673c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b623549066b626732a' ,0,0 ,2,23.00,140000,?,?,?)
20240809@152347.8570 ask5avq04d9roe0178vsmd94bc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b623549066b626732a','2405318','wait',39,'adm09112754980.682000002')
20240809@152347.8644 ask5avq04d9roe0178vsmd94bc Query : use flama_phc
20240809@152347.8649 ask5avq04d9roe0178vsmd94bc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152347.8678 ask5avq04d9roe0178vsmd94bc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240809@152347.8704 ask5avq04d9roe0178vsmd94bc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240809@152347.8746 ask5avq04d9roe0178vsmd94bc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1467';
20240809@152347.8768 ask5avq04d9roe0178vsmd94bc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1467';
20240809@152347.9364 l787nghcp119smvv7rr6pbncvv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152347.9375 l787nghcp119smvv7rr6pbncvv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152347.9428 l787nghcp119smvv7rr6pbncvv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240809@152347.9491 l787nghcp119smvv7rr6pbncvv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240809@152347.9557 l787nghcp119smvv7rr6pbncvv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240809@152347.9580 l787nghcp119smvv7rr6pbncvv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240809@152347.9629 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152347.9632 l787nghcp119smvv7rr6pbncvv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152347.9697 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152347.9700 l787nghcp119smvv7rr6pbncvv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152347.9746 l787nghcp119smvv7rr6pbncvv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240809@152347.9954 l787nghcp119smvv7rr6pbncvv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240809@152347.9974 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152347.9977 l787nghcp119smvv7rr6pbncvv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152348.1200 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.1500 l787nghcp119smvv7rr6pbncvv Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152348.5200 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.5500 l787nghcp119smvv7rr6pbncvv 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')
20240809@152348.8700 l787nghcp119smvv7rr6pbncvv 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
20240809@152348.1250 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.1280 l787nghcp119smvv7rr6pbncvv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152348.1650 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.1680 l787nghcp119smvv7rr6pbncvv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152348.2010 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.2040 l787nghcp119smvv7rr6pbncvv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152348.2460 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.2500 l787nghcp119smvv7rr6pbncvv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152348.2980 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.3000 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from td where ndoc = 39
20240809@152348.3130 l787nghcp119smvv7rr6pbncvv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152348.3280 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3450 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152348.3650 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3820 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152348.4120 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.4270 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152348.4390 l787nghcp119smvv7rr6pbncvv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152348.5080 l787nghcp119smvv7rr6pbncvv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152348.5220 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.5370 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152348.5540 l787nghcp119smvv7rr6pbncvv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b627007966b626740a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152348.7760 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.8000 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152348.8380 l787nghcp119smvv7rr6pbncvv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152348.1982 l787nghcp119smvv7rr6pbncvv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152348.1996 l787nghcp119smvv7rr6pbncvv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152348.2007 l787nghcp119smvv7rr6pbncvv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152348.2019 l787nghcp119smvv7rr6pbncvv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152348.2031 l787nghcp119smvv7rr6pbncvv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152348.2042 l787nghcp119smvv7rr6pbncvv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b627007966b626740a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152348.2293 l787nghcp119smvv7rr6pbncvv Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152348.2309 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.2326 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152348.2348 l787nghcp119smvv7rr6pbncvv Query : select 'normal' from dummy
20240809@152348.2363 l787nghcp119smvv7rr6pbncvv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b627007966b626740a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',286,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152348.2631 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.2634 l787nghcp119smvv7rr6pbncvv Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240809@152348.2656 l787nghcp119smvv7rr6pbncvv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20240809@152348.2797 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.2813 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.2838 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.2853 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.2861 l787nghcp119smvv7rr6pbncvv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.2874 l787nghcp119smvv7rr6pbncvv Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240809@152348.2887 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.2901 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.2913 l787nghcp119smvv7rr6pbncvv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b626177766b6267446','aut66b627007966b626740a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.2917 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.2931 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.2959 l787nghcp119smvv7rr6pbncvv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b626177766b6267446',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut66b627007966b626740a' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152348.3203 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3219 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.3246 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3292 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.3302 l787nghcp119smvv7rr6pbncvv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.3314 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3331 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.3343 l787nghcp119smvv7rr6pbncvv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624451566b6267450','aut66b627007966b626740a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.3347 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3363 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.3398 l787nghcp119smvv7rr6pbncvv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b624451566b6267450',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b627007966b626740a' ,0,0 ,2,23.00,20000,?,?,?)
20240809@152348.3669 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.3672 l787nghcp119smvv7rr6pbncvv Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240809@152348.3691 l787nghcp119smvv7rr6pbncvv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20240809@152348.3704 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3720 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.3746 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3761 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.3769 l787nghcp119smvv7rr6pbncvv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.3781 l787nghcp119smvv7rr6pbncvv Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240809@152348.3794 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3808 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.3820 l787nghcp119smvv7rr6pbncvv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b625585966b626745c','aut66b627007966b626740a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.3824 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.3839 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.3867 l787nghcp119smvv7rr6pbncvv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b625585966b626745c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',68.000 ,'aut66b627007966b626740a' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@152348.4108 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.4124 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.4162 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.4177 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.4185 l787nghcp119smvv7rr6pbncvv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.4197 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.4212 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.4224 l787nghcp119smvv7rr6pbncvv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b624700566b6267466','aut66b627007966b626740a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.4228 l787nghcp119smvv7rr6pbncvv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.4242 l787nghcp119smvv7rr6pbncvv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.4271 l787nghcp119smvv7rr6pbncvv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b624700566b6267466',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b627007966b626740a' ,0,0 ,2,23.00,50000,?,?,?)
20240809@152348.4496 l787nghcp119smvv7rr6pbncvv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b627007966b626740a','2405319','wait',39,'adm09112754980.682000002')
20240809@152348.4573 l787nghcp119smvv7rr6pbncvv Query : use flama_phc
20240809@152348.4576 l787nghcp119smvv7rr6pbncvv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152348.4606 l787nghcp119smvv7rr6pbncvv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240809@152348.4632 l787nghcp119smvv7rr6pbncvv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240809@152348.4674 l787nghcp119smvv7rr6pbncvv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1468';
20240809@152348.4696 l787nghcp119smvv7rr6pbncvv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1468';
20240809@152348.5207 32ofo6q7t0nln6qq630pdl6m5v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152348.5221 32ofo6q7t0nln6qq630pdl6m5v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152348.5267 32ofo6q7t0nln6qq630pdl6m5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240809@152348.5318 32ofo6q7t0nln6qq630pdl6m5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240809@152348.5365 32ofo6q7t0nln6qq630pdl6m5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240809@152348.5388 32ofo6q7t0nln6qq630pdl6m5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240809@152348.5436 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.5440 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152348.5628 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.5632 32ofo6q7t0nln6qq630pdl6m5v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152348.5671 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240809@152348.5829 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240809@152348.5848 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.5851 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152348.5883 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.5886 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152348.5915 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.5917 32ofo6q7t0nln6qq630pdl6m5v 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')
20240809@152348.5944 32ofo6q7t0nln6qq630pdl6m5v 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
20240809@152348.5977 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.5980 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152348.6008 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.6011 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152348.6040 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.6043 32ofo6q7t0nln6qq630pdl6m5v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152348.6081 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.6084 32ofo6q7t0nln6qq630pdl6m5v Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152348.6136 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.6139 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from td where ndoc = 39
20240809@152348.6151 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152348.6164 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.6180 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152348.6197 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.6211 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152348.6240 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.6253 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152348.6265 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152348.6335 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152348.6348 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.6363 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152348.6378 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b620755666b6267498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152348.6552 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.6567 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152348.6598 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152348.6609 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152348.6621 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152348.6633 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152348.6644 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152348.6655 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152348.6666 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b620755666b6267498',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240809@152348.6891 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 fno valor from wsftdata order by fno desc
20240809@152348.6907 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.6921 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152348.6943 32ofo6q7t0nln6qq630pdl6m5v Query : select 'normal' from dummy
20240809@152348.6958 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66b620755666b6267498',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',287,100810,0,'2024-08-09',39,'euro',0,0,2024 ,?,?)
20240809@152348.7252 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.7255 32ofo6q7t0nln6qq630pdl6m5v Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240809@152348.7278 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240809@152348.7435 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.7452 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.7477 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.7491 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.7499 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.7511 32ofo6q7t0nln6qq630pdl6m5v Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240809@152348.7532 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.7546 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.7558 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b621483466b62674b7','aut66b620755666b6267498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.7562 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.7577 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.8739 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b621483466b62674b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66b620755666b6267498' ,0,0 ,2,23.00,10000,?,?,?,?)
20240809@152348.8994 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9010 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.9035 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9049 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.9058 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.9069 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9083 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.9094 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b621300466b62674dd','aut66b620755666b6267498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.9097 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9111 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.9138 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b621300466b62674dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b620755666b6267498' ,0,0 ,2,23.00,20000,?,?,?)
20240809@152348.9381 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152348.9385 32ofo6q7t0nln6qq630pdl6m5v Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240809@152348.9403 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240809@152348.9417 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9432 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.9457 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9471 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.9480 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.9491 32ofo6q7t0nln6qq630pdl6m5v Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240809@152348.9504 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9520 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.9531 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b628977566b62674e8','aut66b620755666b6267498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.9535 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9549 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.9576 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66b628977566b62674e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut66b620755666b6267498' ,0,0 ,2,23.00,40000,?,?,?,?)
20240809@152348.9847 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9869 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152348.9898 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9913 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.9922 32ofo6q7t0nln6qq630pdl6m5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240809@152348.9936 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9951 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240809@152348.9963 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66b625132966b62674f2','aut66b620755666b6267498' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240809@152348.9967 32ofo6q7t0nln6qq630pdl6m5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152348.9982 32ofo6q7t0nln6qq630pdl6m5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240809@152349.1200 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66b625132966b62674f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66b620755666b6267498' ,0,0 ,2,23.00,50000,?,?,?)
20240809@152349.2570 32ofo6q7t0nln6qq630pdl6m5v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66b620755666b6267498','2405320','wait',39,'adm09112754980.682000002')
20240809@152349.3330 32ofo6q7t0nln6qq630pdl6m5v Query : use flama_phc
20240809@152349.3360 32ofo6q7t0nln6qq630pdl6m5v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240809@152349.3700 32ofo6q7t0nln6qq630pdl6m5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240809@152349.3980 32ofo6q7t0nln6qq630pdl6m5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240809@152349.4380 32ofo6q7t0nln6qq630pdl6m5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1469';
20240809@152349.4610 32ofo6q7t0nln6qq630pdl6m5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1469';
20240809@152349.9790 kai76rdrc2ktc97vdt5dlgj1i5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240809@152349.9930 kai76rdrc2ktc97vdt5dlgj1i5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240809@152349.1044 kai76rdrc2ktc97vdt5dlgj1i5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1470';
20240809@152349.1097 kai76rdrc2ktc97vdt5dlgj1i5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1470';
20240809@152349.1150 kai76rdrc2ktc97vdt5dlgj1i5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1470';
20240809@152349.1173 kai76rdrc2ktc97vdt5dlgj1i5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1470';
20240809@152349.1220 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1223 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240809@152349.1297 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1301 kai76rdrc2ktc97vdt5dlgj1i5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240809@152349.1343 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20240809@152349.1502 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20240809@152349.1524 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1527 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240809@152349.1562 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1565 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 1 valor from td where td.ndoc = 39
20240809@152349.1597 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1600 kai76rdrc2ktc97vdt5dlgj1i5 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')
20240809@152349.1629 kai76rdrc2ktc97vdt5dlgj1i5 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
20240809@152349.1665 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1668 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240809@152349.1707 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1710 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240809@152349.1740 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1743 kai76rdrc2ktc97vdt5dlgj1i5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240809@152349.1785 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1788 kai76rdrc2ktc97vdt5dlgj1i5 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240809@152349.1833 kai76rdrc2ktc97vdt5dlgj1i5 Query : use flama_phc
20240809@152349.1835 kai76rdrc2ktc97vdt5dlgj1i5 Query : select 1 valor from td where ndoc = 39
20240809@152349.1848 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240809@152349.1861 kai76rdrc2ktc97vdt5dlgj1i5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152349.1877 kai76rdrc2ktc97vdt5dlgj1i5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240809@152349.1896 kai76rdrc2ktc97vdt5dlgj1i5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152349.1910 kai76rdrc2ktc97vdt5dlgj1i5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152349.1938 kai76rdrc2ktc97vdt5dlgj1i5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152349.1952 kai76rdrc2ktc97vdt5dlgj1i5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152349.1966 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152349.2034 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240809@152349.2047 kai76rdrc2ktc97vdt5dlgj1i5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152349.2061 kai76rdrc2ktc97vdt5dlgj1i5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240809@152349.2077 kai76rdrc2ktc97vdt5dlgj1i5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66b627161766b626752f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240809@152349.2245 kai76rdrc2ktc97vdt5dlgj1i5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240809@152349.2261 kai76rdrc2ktc97vdt5dlgj1i5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240809@152349.2293 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240809@152349.2305 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240809@152349.2316 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240809@152349.2328 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240809@152349.2340 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240809@152349.2351 kai76rdrc2ktc97vdt5dlgj1i5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240809@152349.2363 kai76rdrc2ktc97vdt5dlgj1i5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66b627161766b626752f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
