20241007@171224.9360 8u43ir2mlgu3tvvd379g4h81n7 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241007@171224.9358 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171224.9376 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171224.9391 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171224.9404 8u43ir2mlgu3tvvd379g4h81n7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670409253967040868db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171224.9615 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171224.9639 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171224.9661 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171224.9691 8u43ir2mlgu3tvvd379g4h81n7 Query : select 'normal' from dummy
20241007@171224.9709 8u43ir2mlgu3tvvd379g4h81n7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670409253967040868db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1116,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171224.9958 8u43ir2mlgu3tvvd379g4h81n7 Query : use flama_phc
20241007@171224.9961 8u43ir2mlgu3tvvd379g4h81n7 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20241007@171224.9990 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20241007@171225.1390 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.1570 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.1880 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.2050 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.2160 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171225.2300 8u43ir2mlgu3tvvd379g4h81n7 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20241007@171225.2460 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.2630 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.2780 8u43ir2mlgu3tvvd379g4h81n7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040378696704086906','aut670409253967040868db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171225.2820 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.2990 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.3330 8u43ir2mlgu3tvvd379g4h81n7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040378696704086906',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut670409253967040868db' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171225.5560 8u43ir2mlgu3tvvd379g4h81n7 Query : use flama_phc
20241007@171225.5600 8u43ir2mlgu3tvvd379g4h81n7 Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20241007@171225.5830 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4751.00.1'
20241007@171225.5990 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.6420 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.6740 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.6910 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.7020 8u43ir2mlgu3tvvd379g4h81n7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171225.7160 8u43ir2mlgu3tvvd379g4h81n7 Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20241007@171225.7310 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7480 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.7610 8u43ir2mlgu3tvvd379g4h81n7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040694806704086911','aut670409253967040868db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171225.7660 8u43ir2mlgu3tvvd379g4h81n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7830 8u43ir2mlgu3tvvd379g4h81n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.8180 8u43ir2mlgu3tvvd379g4h81n7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040694806704086911',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut670409253967040868db' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171225.1457 8u43ir2mlgu3tvvd379g4h81n7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670409253967040868db','2406457','wait',39,'adm09112754980.682000002')
20241007@171225.3194 8u43ir2mlgu3tvvd379g4h81n7 Query : use flama_phc
20241007@171225.3198 8u43ir2mlgu3tvvd379g4h81n7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171225.3229 8u43ir2mlgu3tvvd379g4h81n7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2463';
20241007@171225.3260 8u43ir2mlgu3tvvd379g4h81n7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2463';
20241007@171225.3303 8u43ir2mlgu3tvvd379g4h81n7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2463';
20241007@171225.3328 8u43ir2mlgu3tvvd379g4h81n7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2463';
20241007@171225.3884 8gpl5j94vh4d30baar59spsoqq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171225.3895 8gpl5j94vh4d30baar59spsoqq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171225.3963 8gpl5j94vh4d30baar59spsoqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2464';
20241007@171225.4024 8gpl5j94vh4d30baar59spsoqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2464';
20241007@171225.4077 8gpl5j94vh4d30baar59spsoqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2464';
20241007@171225.4104 8gpl5j94vh4d30baar59spsoqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2464';
20241007@171225.4155 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.4159 8gpl5j94vh4d30baar59spsoqq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171225.4221 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.4224 8gpl5j94vh4d30baar59spsoqq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171225.4265 8gpl5j94vh4d30baar59spsoqq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241007@171225.4447 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406458 and bi.ref ='324.497.00.01' and bi.lordem =1
20241007@171225.4832 8gpl5j94vh4d30baar59spsoqq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241007@171225.4855 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406458 and bi.ref ='324.497.00.01' and bi.lordem =1
20241007@171225.4872 8gpl5j94vh4d30baar59spsoqq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20241007@171225.4893 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406458 and bi.ref ='324.497.00.01' and bi.lordem =1
20241007@171225.4911 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.4914 8gpl5j94vh4d30baar59spsoqq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171225.4949 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.4958 8gpl5j94vh4d30baar59spsoqq Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171225.4989 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.4992 8gpl5j94vh4d30baar59spsoqq 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')
20241007@171225.5024 8gpl5j94vh4d30baar59spsoqq 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
20241007@171225.5090 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.5094 8gpl5j94vh4d30baar59spsoqq Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171225.5125 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.5128 8gpl5j94vh4d30baar59spsoqq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171225.5160 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.5164 8gpl5j94vh4d30baar59spsoqq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171225.5208 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.5211 8gpl5j94vh4d30baar59spsoqq Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171225.5258 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.5261 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from td where ndoc = 39
20241007@171225.5274 8gpl5j94vh4d30baar59spsoqq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171225.5287 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.5304 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171225.5325 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.5460 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171225.5507 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.5524 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171225.5537 8gpl5j94vh4d30baar59spsoqq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171225.5608 8gpl5j94vh4d30baar59spsoqq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171225.5624 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.5640 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171225.5656 8gpl5j94vh4d30baar59spsoqq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040004546704086987' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171225.5803 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.5890 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171225.5928 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171225.5940 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171225.5975 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171225.5987 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171225.6000 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171225.6014 8gpl5j94vh4d30baar59spsoqq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171225.6027 8gpl5j94vh4d30baar59spsoqq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040004546704086987',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171225.6234 8gpl5j94vh4d30baar59spsoqq Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171225.6260 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.6301 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171225.6337 8gpl5j94vh4d30baar59spsoqq Query : select 'normal' from dummy
20241007@171225.6357 8gpl5j94vh4d30baar59spsoqq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040004546704086987',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1117,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171225.6616 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.6620 8gpl5j94vh4d30baar59spsoqq Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241007@171225.6648 8gpl5j94vh4d30baar59spsoqq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20241007@171225.6814 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.6833 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.6867 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.6885 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.6895 8gpl5j94vh4d30baar59spsoqq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171225.6907 8gpl5j94vh4d30baar59spsoqq Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241007@171225.6955 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.6972 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.6985 8gpl5j94vh4d30baar59spsoqq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670403349367040869a9','aut67040004546704086987' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171225.6990 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7006 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.7038 8gpl5j94vh4d30baar59spsoqq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670403349367040869a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut67040004546704086987' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171225.7322 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.7326 8gpl5j94vh4d30baar59spsoqq Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241007@171225.7346 8gpl5j94vh4d30baar59spsoqq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20241007@171225.7368 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7384 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.7409 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7426 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.7435 8gpl5j94vh4d30baar59spsoqq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171225.7448 8gpl5j94vh4d30baar59spsoqq Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241007@171225.7462 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7479 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.7492 8gpl5j94vh4d30baar59spsoqq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670404602067040869b6','aut67040004546704086987' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171225.7498 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7513 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.7543 8gpl5j94vh4d30baar59spsoqq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670404602067040869b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67040004546704086987' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171225.7770 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.7773 8gpl5j94vh4d30baar59spsoqq Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20241007@171225.7794 8gpl5j94vh4d30baar59spsoqq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.497.00.01'
20241007@171225.7808 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7825 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.7875 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7890 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.7898 8gpl5j94vh4d30baar59spsoqq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171225.7913 8gpl5j94vh4d30baar59spsoqq Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20241007@171225.7928 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7946 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171225.7960 8gpl5j94vh4d30baar59spsoqq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670403954467040869c1','aut67040004546704086987' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171225.7965 8gpl5j94vh4d30baar59spsoqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171225.7982 8gpl5j94vh4d30baar59spsoqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171225.8022 8gpl5j94vh4d30baar59spsoqq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670403954467040869c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut67040004546704086987' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241007@171225.8353 8gpl5j94vh4d30baar59spsoqq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040004546704086987','2406458','wait',39,'adm09112754980.682000002')
20241007@171225.8427 8gpl5j94vh4d30baar59spsoqq Query : use flama_phc
20241007@171225.8431 8gpl5j94vh4d30baar59spsoqq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171225.8485 8gpl5j94vh4d30baar59spsoqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2464';
20241007@171225.8516 8gpl5j94vh4d30baar59spsoqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2464';
20241007@171225.8563 8gpl5j94vh4d30baar59spsoqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2464';
20241007@171225.8593 8gpl5j94vh4d30baar59spsoqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2464';
20241007@171225.9142 efcekm7ncag64p0gncsvupu33k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171225.9156 efcekm7ncag64p0gncsvupu33k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171225.9215 efcekm7ncag64p0gncsvupu33k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2465';
20241007@171225.9276 efcekm7ncag64p0gncsvupu33k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2465';
20241007@171225.9332 efcekm7ncag64p0gncsvupu33k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2465';
20241007@171225.9365 efcekm7ncag64p0gncsvupu33k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2465';
20241007@171225.9419 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171225.9422 efcekm7ncag64p0gncsvupu33k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171225.9486 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171225.9489 efcekm7ncag64p0gncsvupu33k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171225.9533 efcekm7ncag64p0gncsvupu33k 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'
20241007@171225.9800 efcekm7ncag64p0gncsvupu33k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406459 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241007@171226.8440 efcekm7ncag64p0gncsvupu33k 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'
20241007@171226.1239 efcekm7ncag64p0gncsvupu33k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406459 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241007@171226.1259 efcekm7ncag64p0gncsvupu33k 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'
20241007@171226.1281 efcekm7ncag64p0gncsvupu33k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406459 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241007@171226.1298 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1302 efcekm7ncag64p0gncsvupu33k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171226.1336 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1339 efcekm7ncag64p0gncsvupu33k Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171226.1370 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1373 efcekm7ncag64p0gncsvupu33k 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')
20241007@171226.1401 efcekm7ncag64p0gncsvupu33k 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
20241007@171226.1436 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1439 efcekm7ncag64p0gncsvupu33k Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171226.1469 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1472 efcekm7ncag64p0gncsvupu33k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171226.1501 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1504 efcekm7ncag64p0gncsvupu33k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171226.1543 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1546 efcekm7ncag64p0gncsvupu33k Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171226.1590 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.1593 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from td where ndoc = 39
20241007@171226.1606 efcekm7ncag64p0gncsvupu33k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171226.1620 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.1637 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171226.1661 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.1678 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171226.1708 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.1722 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171226.1735 efcekm7ncag64p0gncsvupu33k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171226.1812 efcekm7ncag64p0gncsvupu33k Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171226.1826 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.1847 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171226.1867 efcekm7ncag64p0gncsvupu33k Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040146446704086a2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171226.2075 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.2121 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171226.2161 efcekm7ncag64p0gncsvupu33k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171226.2174 efcekm7ncag64p0gncsvupu33k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171226.2187 efcekm7ncag64p0gncsvupu33k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171226.2201 efcekm7ncag64p0gncsvupu33k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171226.2214 efcekm7ncag64p0gncsvupu33k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171226.2225 efcekm7ncag64p0gncsvupu33k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171226.2236 efcekm7ncag64p0gncsvupu33k Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040146446704086a2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171226.2471 efcekm7ncag64p0gncsvupu33k Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171226.2493 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.2512 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171226.2535 efcekm7ncag64p0gncsvupu33k Query : select 'normal' from dummy
20241007@171226.2550 efcekm7ncag64p0gncsvupu33k Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040146446704086a2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1118,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171226.2849 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.2853 efcekm7ncag64p0gncsvupu33k Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241007@171226.2877 efcekm7ncag64p0gncsvupu33k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171226.3035 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3056 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.3088 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3107 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.3118 efcekm7ncag64p0gncsvupu33k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171226.3133 efcekm7ncag64p0gncsvupu33k Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20241007@171226.3158 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3179 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.3194 efcekm7ncag64p0gncsvupu33k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040944786704086a4d','aut67040146446704086a2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171226.3199 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3219 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.3256 efcekm7ncag64p0gncsvupu33k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040944786704086a4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut67040146446704086a2a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171226.3547 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.3552 efcekm7ncag64p0gncsvupu33k Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241007@171226.3571 efcekm7ncag64p0gncsvupu33k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171226.3586 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3604 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.3635 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3651 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.3661 efcekm7ncag64p0gncsvupu33k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171226.3676 efcekm7ncag64p0gncsvupu33k Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20241007@171226.3690 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3706 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.3719 efcekm7ncag64p0gncsvupu33k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040113306704086a5a','aut67040146446704086a2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171226.3725 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.3745 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.3782 efcekm7ncag64p0gncsvupu33k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040113306704086a5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67040146446704086a2a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171226.4030 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.4035 efcekm7ncag64p0gncsvupu33k Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241007@171226.4056 efcekm7ncag64p0gncsvupu33k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171226.4071 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.4112 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.4138 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.4182 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.4191 efcekm7ncag64p0gncsvupu33k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171226.4203 efcekm7ncag64p0gncsvupu33k Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20241007@171226.4217 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.4233 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.4244 efcekm7ncag64p0gncsvupu33k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040809256704086a66','aut67040146446704086a2a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171226.4249 efcekm7ncag64p0gncsvupu33k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.4263 efcekm7ncag64p0gncsvupu33k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.4292 efcekm7ncag64p0gncsvupu33k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040809256704086a66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut67040146446704086a2a' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241007@171226.4513 efcekm7ncag64p0gncsvupu33k Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040146446704086a2a','2406459','wait',39,'adm09112754980.682000002')
20241007@171226.4587 efcekm7ncag64p0gncsvupu33k Query : use flama_phc
20241007@171226.4591 efcekm7ncag64p0gncsvupu33k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171226.4624 efcekm7ncag64p0gncsvupu33k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2465';
20241007@171226.4668 efcekm7ncag64p0gncsvupu33k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2465';
20241007@171226.4709 efcekm7ncag64p0gncsvupu33k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2465';
20241007@171226.4736 efcekm7ncag64p0gncsvupu33k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2465';
20241007@171226.5275 nvbo4rn93cunl4a13au5i5dh4q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171226.5286 nvbo4rn93cunl4a13au5i5dh4q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171226.5340 nvbo4rn93cunl4a13au5i5dh4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2466';
20241007@171226.5398 nvbo4rn93cunl4a13au5i5dh4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2466';
20241007@171226.5453 nvbo4rn93cunl4a13au5i5dh4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2466';
20241007@171226.5483 nvbo4rn93cunl4a13au5i5dh4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2466';
20241007@171226.5533 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.5536 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171226.5597 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.5600 nvbo4rn93cunl4a13au5i5dh4q Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171226.5642 nvbo4rn93cunl4a13au5i5dh4q 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'
20241007@171226.5797 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406460 and bi.ref ='324.711.00.01' and bi.lordem =1
20241007@171226.6128 nvbo4rn93cunl4a13au5i5dh4q 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'
20241007@171226.6150 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406460 and bi.ref ='324.711.00.01' and bi.lordem =1
20241007@171226.6168 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6172 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171226.6207 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6210 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171226.6241 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6243 nvbo4rn93cunl4a13au5i5dh4q 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')
20241007@171226.6273 nvbo4rn93cunl4a13au5i5dh4q 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
20241007@171226.6318 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6322 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171226.6353 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6356 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171226.6387 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6389 nvbo4rn93cunl4a13au5i5dh4q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171226.6430 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6433 nvbo4rn93cunl4a13au5i5dh4q Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171226.6498 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.6501 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from td where ndoc = 39
20241007@171226.6513 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171226.6527 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.6543 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171226.6584 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.6601 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171226.6629 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.6644 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171226.6659 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171226.6721 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171226.6733 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.6750 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171226.6765 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040203286704086aa2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171226.6935 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.6954 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171226.6987 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171226.7001 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171226.7014 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171226.7027 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171226.7039 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171226.7053 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171226.7064 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040203286704086aa2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171226.7278 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171226.7301 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.7340 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171226.7363 nvbo4rn93cunl4a13au5i5dh4q Query : select 'normal' from dummy
20241007@171226.7379 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040203286704086aa2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1119,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171226.7670 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.7674 nvbo4rn93cunl4a13au5i5dh4q Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20241007@171226.7700 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171226.7854 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.7871 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.7898 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.7917 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.7926 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171226.7940 nvbo4rn93cunl4a13au5i5dh4q Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20241007@171226.7961 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.7977 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.7989 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040455576704086ac2','aut67040203286704086aa2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171226.7993 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8008 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.8037 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040455576704086ac2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040203286704086aa2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171226.8289 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8309 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.8336 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8351 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.8360 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171226.8374 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8390 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.8403 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040240016704086acc','aut67040203286704086aa2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171226.8407 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8423 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.8454 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040240016704086acc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040203286704086aa2' ,0,0 ,2,23.00,20000,?,?,?)
20241007@171226.8696 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171226.8700 nvbo4rn93cunl4a13au5i5dh4q Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20241007@171226.8719 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171226.8733 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8747 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.8773 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8789 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.8798 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171226.8834 nvbo4rn93cunl4a13au5i5dh4q Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20241007@171226.8846 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8889 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171226.8901 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040654896704086ad7','aut67040203286704086aa2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171226.8905 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171226.8921 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171226.8990 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040654896704086ad7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',84.000 ,'aut67040203286704086aa2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241007@171226.9550 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.3950 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171227.6380 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.6560 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171227.6650 nvbo4rn93cunl4a13au5i5dh4q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171227.6780 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.6920 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171227.7050 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040154796704086b10','aut67040203286704086aa2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171227.7100 nvbo4rn93cunl4a13au5i5dh4q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.7250 nvbo4rn93cunl4a13au5i5dh4q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171227.7550 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040154796704086b10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040203286704086aa2' ,0,0 ,2,23.00,50000,?,?,?)
20241007@171227.9720 nvbo4rn93cunl4a13au5i5dh4q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040203286704086aa2','2406460','wait',39,'adm09112754980.682000002')
20241007@171227.1044 nvbo4rn93cunl4a13au5i5dh4q Query : use flama_phc
20241007@171227.1047 nvbo4rn93cunl4a13au5i5dh4q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171227.1078 nvbo4rn93cunl4a13au5i5dh4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2466';
20241007@171227.1108 nvbo4rn93cunl4a13au5i5dh4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2466';
20241007@171227.1149 nvbo4rn93cunl4a13au5i5dh4q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2466';
20241007@171227.1177 nvbo4rn93cunl4a13au5i5dh4q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2466';
20241007@171227.1767 5363eold3mpop1d8mnd40743er Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171227.1778 5363eold3mpop1d8mnd40743er Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171227.1833 5363eold3mpop1d8mnd40743er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2467';
20241007@171227.1894 5363eold3mpop1d8mnd40743er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2467';
20241007@171227.1947 5363eold3mpop1d8mnd40743er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2467';
20241007@171227.1974 5363eold3mpop1d8mnd40743er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2467';
20241007@171227.2023 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2026 5363eold3mpop1d8mnd40743er Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171227.2090 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2093 5363eold3mpop1d8mnd40743er Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171227.2136 5363eold3mpop1d8mnd40743er Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241007@171227.2298 5363eold3mpop1d8mnd40743er Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406461 and bi.ref ='324.2907.00.1' and bi.lordem =1
20241007@171227.2641 5363eold3mpop1d8mnd40743er Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241007@171227.2663 5363eold3mpop1d8mnd40743er Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406461 and bi.ref ='324.2907.00.1' and bi.lordem =1
20241007@171227.2681 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2684 5363eold3mpop1d8mnd40743er Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171227.2720 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2724 5363eold3mpop1d8mnd40743er Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171227.2753 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2756 5363eold3mpop1d8mnd40743er 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')
20241007@171227.2785 5363eold3mpop1d8mnd40743er 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
20241007@171227.2826 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2829 5363eold3mpop1d8mnd40743er Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171227.2858 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2861 5363eold3mpop1d8mnd40743er Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171227.2889 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2892 5363eold3mpop1d8mnd40743er Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171227.2933 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2936 5363eold3mpop1d8mnd40743er Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171227.2980 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.2983 5363eold3mpop1d8mnd40743er Query : select 1 valor from td where ndoc = 39
20241007@171227.2995 5363eold3mpop1d8mnd40743er Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171227.3033 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.3050 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171227.3068 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.3085 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171227.3114 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.3129 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171227.3142 5363eold3mpop1d8mnd40743er Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171227.3208 5363eold3mpop1d8mnd40743er Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171227.3221 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.3238 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171227.3255 5363eold3mpop1d8mnd40743er Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040021816704086b4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171227.3470 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.3491 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171227.3530 5363eold3mpop1d8mnd40743er Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171227.3544 5363eold3mpop1d8mnd40743er Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171227.3560 5363eold3mpop1d8mnd40743er Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171227.3574 5363eold3mpop1d8mnd40743er Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171227.3588 5363eold3mpop1d8mnd40743er Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171227.3603 5363eold3mpop1d8mnd40743er Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171227.3618 5363eold3mpop1d8mnd40743er Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040021816704086b4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171227.3935 5363eold3mpop1d8mnd40743er Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171227.3969 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.3989 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171227.4018 5363eold3mpop1d8mnd40743er Query : select 'normal' from dummy
20241007@171227.4034 5363eold3mpop1d8mnd40743er Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040021816704086b4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1120,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171227.4287 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.4290 5363eold3mpop1d8mnd40743er Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20241007@171227.4314 5363eold3mpop1d8mnd40743er Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20241007@171227.4473 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.4488 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171227.4514 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.4529 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171227.4539 5363eold3mpop1d8mnd40743er Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171227.4552 5363eold3mpop1d8mnd40743er Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20241007@171227.4572 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.4586 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171227.4597 5363eold3mpop1d8mnd40743er Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040431926704086b6f','aut67040021816704086b4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171227.4601 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.4615 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171227.4646 5363eold3mpop1d8mnd40743er Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040431926704086b6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut67040021816704086b4c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171227.4877 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.4880 5363eold3mpop1d8mnd40743er Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20241007@171227.4898 5363eold3mpop1d8mnd40743er Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2907.00.1'
20241007@171227.4912 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.4927 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171227.4954 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.4968 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171227.4977 5363eold3mpop1d8mnd40743er Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171227.4989 5363eold3mpop1d8mnd40743er Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20241007@171227.5001 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.5015 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171227.5027 5363eold3mpop1d8mnd40743er Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040056976704086b7a','aut67040021816704086b4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171227.5031 5363eold3mpop1d8mnd40743er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.5046 5363eold3mpop1d8mnd40743er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171227.5077 5363eold3mpop1d8mnd40743er Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040056976704086b7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67040021816704086b4c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171227.5295 5363eold3mpop1d8mnd40743er Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040021816704086b4c','2406461','wait',39,'adm09112754980.682000002')
20241007@171227.5368 5363eold3mpop1d8mnd40743er Query : use flama_phc
20241007@171227.5371 5363eold3mpop1d8mnd40743er Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171227.5405 5363eold3mpop1d8mnd40743er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2467';
20241007@171227.5439 5363eold3mpop1d8mnd40743er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2467';
20241007@171227.5480 5363eold3mpop1d8mnd40743er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2467';
20241007@171227.5511 5363eold3mpop1d8mnd40743er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2467';
20241007@171227.6963 275f06k5jiud86u6thecto7p9r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171227.6974 275f06k5jiud86u6thecto7p9r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171227.7089 275f06k5jiud86u6thecto7p9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2468';
20241007@171227.7479 275f06k5jiud86u6thecto7p9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2468';
20241007@171227.8472 275f06k5jiud86u6thecto7p9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2468';
20241007@171227.8503 275f06k5jiud86u6thecto7p9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2468';
20241007@171227.8552 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.8555 275f06k5jiud86u6thecto7p9r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171227.8620 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.8623 275f06k5jiud86u6thecto7p9r Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171227.8666 275f06k5jiud86u6thecto7p9r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20241007@171227.8824 275f06k5jiud86u6thecto7p9r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406462 and bi.ref ='324.4723.00.2' and bi.lordem =1
20241007@171227.9172 275f06k5jiud86u6thecto7p9r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20241007@171227.9193 275f06k5jiud86u6thecto7p9r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406462 and bi.ref ='324.4723.00.2' and bi.lordem =1
20241007@171227.9213 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9217 275f06k5jiud86u6thecto7p9r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171227.9251 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9255 275f06k5jiud86u6thecto7p9r Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171227.9289 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9292 275f06k5jiud86u6thecto7p9r 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')
20241007@171227.9320 275f06k5jiud86u6thecto7p9r 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
20241007@171227.9354 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9360 275f06k5jiud86u6thecto7p9r Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171227.9393 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9396 275f06k5jiud86u6thecto7p9r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171227.9427 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9430 275f06k5jiud86u6thecto7p9r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171227.9471 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9474 275f06k5jiud86u6thecto7p9r Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171227.9519 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171227.9522 275f06k5jiud86u6thecto7p9r Query : select 1 valor from td where ndoc = 39
20241007@171227.9558 275f06k5jiud86u6thecto7p9r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171227.9572 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.9587 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171227.9605 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.9620 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171227.9647 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.9664 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171227.9676 275f06k5jiud86u6thecto7p9r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171227.9740 275f06k5jiud86u6thecto7p9r Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171227.9754 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.9769 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171227.9787 275f06k5jiud86u6thecto7p9r Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040311806704086bec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171227.9935 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171227.9966 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171228.5000 275f06k5jiud86u6thecto7p9r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171228.1900 275f06k5jiud86u6thecto7p9r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171228.3100 275f06k5jiud86u6thecto7p9r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171228.4200 275f06k5jiud86u6thecto7p9r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171228.5400 275f06k5jiud86u6thecto7p9r Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171228.6500 275f06k5jiud86u6thecto7p9r Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171228.7600 275f06k5jiud86u6thecto7p9r Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040311806704086bec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171228.2800 275f06k5jiud86u6thecto7p9r Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171228.3240 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.3420 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171228.3650 275f06k5jiud86u6thecto7p9r Query : select 'normal' from dummy
20241007@171228.3800 275f06k5jiud86u6thecto7p9r Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040311806704086bec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1121,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171228.6330 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171228.6360 275f06k5jiud86u6thecto7p9r Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20241007@171228.6570 275f06k5jiud86u6thecto7p9r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4723.00.2'
20241007@171228.8310 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.8470 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171228.8720 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.8870 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171228.8950 275f06k5jiud86u6thecto7p9r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171228.9080 275f06k5jiud86u6thecto7p9r Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2200682200a'
20241007@171228.9360 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.9540 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171228.9650 275f06k5jiud86u6thecto7p9r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040333026704086c16','aut67040311806704086bec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171228.9690 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.9840 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171228.1012 275f06k5jiud86u6thecto7p9r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040333026704086c16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',39.000 ,'aut67040311806704086bec' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171228.1229 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171228.1232 275f06k5jiud86u6thecto7p9r Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20241007@171228.1252 275f06k5jiud86u6thecto7p9r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4723.00.2'
20241007@171228.1265 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.1281 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171228.1306 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.1320 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171228.1329 275f06k5jiud86u6thecto7p9r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171228.1340 275f06k5jiud86u6thecto7p9r Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2200682200a'
20241007@171228.1354 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.1368 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171228.1380 275f06k5jiud86u6thecto7p9r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040812296704086c21','aut67040311806704086bec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171228.1384 275f06k5jiud86u6thecto7p9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.1398 275f06k5jiud86u6thecto7p9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171228.1425 275f06k5jiud86u6thecto7p9r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040812296704086c21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut67040311806704086bec' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171228.1663 275f06k5jiud86u6thecto7p9r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040311806704086bec','2406462','wait',39,'adm09112754980.682000002')
20241007@171228.1769 275f06k5jiud86u6thecto7p9r Query : use flama_phc
20241007@171228.1772 275f06k5jiud86u6thecto7p9r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171228.1820 275f06k5jiud86u6thecto7p9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2468';
20241007@171228.1851 275f06k5jiud86u6thecto7p9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2468';
20241007@171228.1892 275f06k5jiud86u6thecto7p9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2468';
20241007@171228.1918 275f06k5jiud86u6thecto7p9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2468';
20241007@171228.2465 pbrv8t6329olth88l8vofftn9r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171228.2475 pbrv8t6329olth88l8vofftn9r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171228.2528 pbrv8t6329olth88l8vofftn9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2469';
20241007@171228.2585 pbrv8t6329olth88l8vofftn9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2469';
20241007@171228.2638 pbrv8t6329olth88l8vofftn9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2469';
20241007@171228.2665 pbrv8t6329olth88l8vofftn9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2469';
20241007@171228.2714 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.2718 pbrv8t6329olth88l8vofftn9r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171228.2778 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.2782 pbrv8t6329olth88l8vofftn9r Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171228.2841 pbrv8t6329olth88l8vofftn9r 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'
20241007@171228.3001 pbrv8t6329olth88l8vofftn9r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406463 and bi.ref ='324.4840.00.1' and bi.lordem =1
20241007@171228.3319 pbrv8t6329olth88l8vofftn9r 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'
20241007@171228.3339 pbrv8t6329olth88l8vofftn9r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406463 and bi.ref ='324.4840.00.1' and bi.lordem =1
20241007@171228.3355 pbrv8t6329olth88l8vofftn9r 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'
20241007@171228.3374 pbrv8t6329olth88l8vofftn9r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406463 and bi.ref ='324.4840.00.1' and bi.lordem =2
20241007@171228.3691 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.3694 pbrv8t6329olth88l8vofftn9r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171228.3730 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.3733 pbrv8t6329olth88l8vofftn9r Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171228.3765 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.3769 pbrv8t6329olth88l8vofftn9r 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')
20241007@171228.3797 pbrv8t6329olth88l8vofftn9r 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
20241007@171228.3838 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.3841 pbrv8t6329olth88l8vofftn9r Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171228.3880 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.3882 pbrv8t6329olth88l8vofftn9r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171228.3938 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.3941 pbrv8t6329olth88l8vofftn9r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171228.4163 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.4168 pbrv8t6329olth88l8vofftn9r Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171228.4328 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.4331 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from td where ndoc = 39
20241007@171228.4342 pbrv8t6329olth88l8vofftn9r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171228.4356 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.4372 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171228.4393 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.4410 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171228.4437 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.4453 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171228.4465 pbrv8t6329olth88l8vofftn9r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171228.4527 pbrv8t6329olth88l8vofftn9r Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171228.4539 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.4552 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171228.4566 pbrv8t6329olth88l8vofftn9r Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040303276704086c6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171228.4714 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.4732 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171228.4793 pbrv8t6329olth88l8vofftn9r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171228.4819 pbrv8t6329olth88l8vofftn9r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171228.4831 pbrv8t6329olth88l8vofftn9r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171228.4842 pbrv8t6329olth88l8vofftn9r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171228.4855 pbrv8t6329olth88l8vofftn9r Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171228.4962 pbrv8t6329olth88l8vofftn9r Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171228.5111 pbrv8t6329olth88l8vofftn9r Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040303276704086c6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171228.5725 pbrv8t6329olth88l8vofftn9r Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171228.7881 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.7898 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171228.7935 pbrv8t6329olth88l8vofftn9r Query : select 'normal' from dummy
20241007@171228.7949 pbrv8t6329olth88l8vofftn9r Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040303276704086c6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1122,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171228.8274 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171228.8277 pbrv8t6329olth88l8vofftn9r Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241007@171228.8314 pbrv8t6329olth88l8vofftn9r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171228.8531 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.8565 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171228.8590 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.8633 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171228.8641 pbrv8t6329olth88l8vofftn9r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171228.8655 pbrv8t6329olth88l8vofftn9r Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241007@171228.8752 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.8768 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171228.8796 pbrv8t6329olth88l8vofftn9r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040950956704086cd5','aut67040303276704086c6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171228.8801 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171228.8815 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171228.8860 pbrv8t6329olth88l8vofftn9r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040950956704086cd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67040303276704086c6d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171228.9173 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171229.1410 pbrv8t6329olth88l8vofftn9r Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241007@171229.1680 pbrv8t6329olth88l8vofftn9r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171229.1820 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.1970 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.2220 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.2360 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.2440 pbrv8t6329olth88l8vofftn9r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171229.2560 pbrv8t6329olth88l8vofftn9r Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241007@171229.2680 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.2820 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.2930 pbrv8t6329olth88l8vofftn9r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040847356704086d06','aut67040303276704086c6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171229.2970 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.3110 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.3390 pbrv8t6329olth88l8vofftn9r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040847356704086d06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040303276704086c6d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171229.5550 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171229.5580 pbrv8t6329olth88l8vofftn9r Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241007@171229.5760 pbrv8t6329olth88l8vofftn9r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171229.5900 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.6050 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.6270 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.6410 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.6490 pbrv8t6329olth88l8vofftn9r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171229.6610 pbrv8t6329olth88l8vofftn9r Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241007@171229.6720 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.6880 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.6980 pbrv8t6329olth88l8vofftn9r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040150496704086d10','aut67040303276704086c6d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171229.7030 pbrv8t6329olth88l8vofftn9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.7170 pbrv8t6329olth88l8vofftn9r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.7430 pbrv8t6329olth88l8vofftn9r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040150496704086d10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut67040303276704086c6d' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241007@171229.9730 pbrv8t6329olth88l8vofftn9r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040303276704086c6d','2406463','wait',39,'adm09112754980.682000002')
20241007@171229.1042 pbrv8t6329olth88l8vofftn9r Query : use flama_phc
20241007@171229.1045 pbrv8t6329olth88l8vofftn9r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171229.1075 pbrv8t6329olth88l8vofftn9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2469';
20241007@171229.1106 pbrv8t6329olth88l8vofftn9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2469';
20241007@171229.1148 pbrv8t6329olth88l8vofftn9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2469';
20241007@171229.1176 pbrv8t6329olth88l8vofftn9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2469';
20241007@171229.1659 lan35pcuu4s85qp549f70kmr5q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171229.1670 lan35pcuu4s85qp549f70kmr5q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171229.1723 lan35pcuu4s85qp549f70kmr5q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2470';
20241007@171229.1778 lan35pcuu4s85qp549f70kmr5q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2470';
20241007@171229.1830 lan35pcuu4s85qp549f70kmr5q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2470';
20241007@171229.1857 lan35pcuu4s85qp549f70kmr5q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2470';
20241007@171229.1930 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.1933 lan35pcuu4s85qp549f70kmr5q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171229.1994 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.1997 lan35pcuu4s85qp549f70kmr5q Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171229.2038 lan35pcuu4s85qp549f70kmr5q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20241007@171229.2195 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406464 and bi.ref ='324.4965.00.1' and bi.lordem =1
20241007@171229.2517 lan35pcuu4s85qp549f70kmr5q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20241007@171229.2537 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406464 and bi.ref ='324.4965.00.1' and bi.lordem =1
20241007@171229.2553 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2556 lan35pcuu4s85qp549f70kmr5q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171229.2589 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2592 lan35pcuu4s85qp549f70kmr5q Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171229.2620 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2623 lan35pcuu4s85qp549f70kmr5q 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')
20241007@171229.2649 lan35pcuu4s85qp549f70kmr5q 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
20241007@171229.2684 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2687 lan35pcuu4s85qp549f70kmr5q Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171229.2718 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2721 lan35pcuu4s85qp549f70kmr5q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171229.2752 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2755 lan35pcuu4s85qp549f70kmr5q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171229.2793 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2796 lan35pcuu4s85qp549f70kmr5q Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171229.2842 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.2845 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from td where ndoc = 39
20241007@171229.2858 lan35pcuu4s85qp549f70kmr5q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171229.2872 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.2888 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171229.2973 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.2989 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171229.3018 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.3033 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171229.3048 lan35pcuu4s85qp549f70kmr5q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171229.3112 lan35pcuu4s85qp549f70kmr5q Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171229.3148 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.3164 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171229.3180 lan35pcuu4s85qp549f70kmr5q Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040537496704086d4a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171229.3330 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.3348 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171229.3381 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171229.3392 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171229.3404 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171229.3415 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171229.3426 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171229.3438 lan35pcuu4s85qp549f70kmr5q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171229.3449 lan35pcuu4s85qp549f70kmr5q Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040537496704086d4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171229.3682 lan35pcuu4s85qp549f70kmr5q Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171229.3704 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.3720 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171229.3741 lan35pcuu4s85qp549f70kmr5q Query : select 'normal' from dummy
20241007@171229.3758 lan35pcuu4s85qp549f70kmr5q Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040537496704086d4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1123,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171229.4020 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.4023 lan35pcuu4s85qp549f70kmr5q Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20241007@171229.4044 lan35pcuu4s85qp549f70kmr5q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20241007@171229.4192 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4208 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.4232 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4245 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.4254 lan35pcuu4s85qp549f70kmr5q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171229.4266 lan35pcuu4s85qp549f70kmr5q Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301277100a'
20241007@171229.4286 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4300 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.4311 lan35pcuu4s85qp549f70kmr5q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040417656704086d68','aut67040537496704086d4a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171229.4315 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4329 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.4359 lan35pcuu4s85qp549f70kmr5q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040417656704086d68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67040537496704086d4a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171229.4567 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.4570 lan35pcuu4s85qp549f70kmr5q Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20241007@171229.4590 lan35pcuu4s85qp549f70kmr5q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20241007@171229.4625 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4641 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.4665 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4679 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.4687 lan35pcuu4s85qp549f70kmr5q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171229.4699 lan35pcuu4s85qp549f70kmr5q Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301277100a'
20241007@171229.4711 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4725 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.4738 lan35pcuu4s85qp549f70kmr5q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040474456704086d73','aut67040537496704086d4a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171229.4742 lan35pcuu4s85qp549f70kmr5q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.4759 lan35pcuu4s85qp549f70kmr5q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.4786 lan35pcuu4s85qp549f70kmr5q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040474456704086d73',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut67040537496704086d4a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171229.4999 lan35pcuu4s85qp549f70kmr5q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040537496704086d4a','2406464','wait',39,'adm09112754980.682000002')
20241007@171229.5067 lan35pcuu4s85qp549f70kmr5q Query : use flama_phc
20241007@171229.5070 lan35pcuu4s85qp549f70kmr5q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171229.5099 lan35pcuu4s85qp549f70kmr5q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2470';
20241007@171229.5128 lan35pcuu4s85qp549f70kmr5q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2470';
20241007@171229.5169 lan35pcuu4s85qp549f70kmr5q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2470';
20241007@171229.5220 lan35pcuu4s85qp549f70kmr5q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2470';
20241007@171229.6651 4ldnan13hpq7go236driipuf5s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171229.6665 4ldnan13hpq7go236driipuf5s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171229.6718 4ldnan13hpq7go236driipuf5s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2471';
20241007@171229.6924 4ldnan13hpq7go236driipuf5s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2471';
20241007@171229.7021 4ldnan13hpq7go236driipuf5s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2471';
20241007@171229.7053 4ldnan13hpq7go236driipuf5s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2471';
20241007@171229.7102 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.7105 4ldnan13hpq7go236driipuf5s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171229.7183 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.7186 4ldnan13hpq7go236driipuf5s Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171229.7227 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7384 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7710 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7730 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7749 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7770 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7788 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7807 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7824 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7844 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7862 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7881 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7898 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7918 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7935 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7953 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.7969 4ldnan13hpq7go236driipuf5s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241007@171229.7988 4ldnan13hpq7go236driipuf5s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406465 and bi.ref ='324.692.00.01' and bi.lordem =1
20241007@171229.8005 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8008 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171229.8075 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8078 4ldnan13hpq7go236driipuf5s Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171229.8106 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8109 4ldnan13hpq7go236driipuf5s 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')
20241007@171229.8135 4ldnan13hpq7go236driipuf5s 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
20241007@171229.8169 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8173 4ldnan13hpq7go236driipuf5s Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171229.8203 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8205 4ldnan13hpq7go236driipuf5s Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171229.8235 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8238 4ldnan13hpq7go236driipuf5s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171229.8276 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8279 4ldnan13hpq7go236driipuf5s Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171229.8322 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.8324 4ldnan13hpq7go236driipuf5s Query : select 1 valor from td where ndoc = 39
20241007@171229.8336 4ldnan13hpq7go236driipuf5s Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171229.8349 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.8364 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171229.8382 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.8397 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171229.8426 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.8443 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171229.8457 4ldnan13hpq7go236driipuf5s Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171229.8521 4ldnan13hpq7go236driipuf5s Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171229.8533 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.8548 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171229.8565 4ldnan13hpq7go236driipuf5s Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171229.8712 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.8730 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171229.8787 4ldnan13hpq7go236driipuf5s Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171229.8820 4ldnan13hpq7go236driipuf5s Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171229.8832 4ldnan13hpq7go236driipuf5s Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171229.8844 4ldnan13hpq7go236driipuf5s Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171229.8855 4ldnan13hpq7go236driipuf5s Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171229.8867 4ldnan13hpq7go236driipuf5s Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171229.8878 4ldnan13hpq7go236driipuf5s Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040043576704086dce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171229.9098 4ldnan13hpq7go236driipuf5s Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171229.9121 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.9138 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171229.9162 4ldnan13hpq7go236driipuf5s Query : select 'normal' from dummy
20241007@171229.9178 4ldnan13hpq7go236driipuf5s Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040043576704086dce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1124,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171229.9426 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171229.9429 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171229.9452 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171229.9609 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.9625 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.9651 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.9670 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.9678 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171229.9689 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171229.9717 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.9733 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171229.9746 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040571756704086ded','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171229.9751 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171229.9767 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171229.9795 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040571756704086ded',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171230.7000 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.2200 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.4900 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6400 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.7200 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.8800 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.1430 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.2470 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040535636704086e02','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.2530 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.2700 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.3000 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040535636704086e02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,20000,?,?,?)
20241007@171230.5150 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.5180 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.5370 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.5530 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5690 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.5940 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6090 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.6170 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.6280 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.6410 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6550 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.6660 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040635376704086e0f','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.6700 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6840 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.7120 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040635376704086e0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241007@171230.9320 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.9480 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.9730 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.9880 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.9980 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.1009 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.1048 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.1059 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040635016704086e18','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.1103 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.1142 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.1169 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040635016704086e18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,50000,?,?,?)
20241007@171230.1386 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.1389 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.1410 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.1425 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.1443 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.1618 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.1634 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.1643 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.1659 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.2860 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.2879 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.2891 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040543446704086e45','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.2895 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.2913 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.2943 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040543446704086e45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241007@171230.3210 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3226 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.3254 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3271 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.3282 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.3295 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3311 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.3328 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040724786704086e50','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.3332 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3347 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.3375 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040724786704086e50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,80000,?,?,?)
20241007@171230.3629 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.3632 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.3655 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.3669 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3686 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.3719 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3735 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.3744 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.3755 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.3768 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3783 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.3795 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040538286704086e5c','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.3799 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.3815 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.3847 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040538286704086e5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241007@171230.4193 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4283 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.4318 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4334 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.4344 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.4357 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4372 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.4384 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040019576704086e6a','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.4388 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4403 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.4433 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040019576704086e6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,110000,?,?,?)
20241007@171230.4651 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.4655 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.4675 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.4690 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4708 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.4759 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4797 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.4806 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.4817 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.4829 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4844 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.4856 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040313836704086e75','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.4860 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.4874 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.4903 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040313836704086e75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241007@171230.5123 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5139 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.5165 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5180 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.5189 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.5200 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5214 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.5225 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040666046704086e7e','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.5229 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5243 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.5270 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040666046704086e7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,140000,?,?,?)
20241007@171230.5495 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.5498 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.5517 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.5530 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5546 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.5572 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5587 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.5595 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.5607 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.5620 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5635 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.5647 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040950826704086e89','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.5651 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.5667 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.5696 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040950826704086e89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241007@171230.6020 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6097 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.6126 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6141 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.6151 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.6163 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6179 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.6191 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040496546704086e96','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.6195 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6210 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.6240 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040496546704086e96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,170000,?,?,?)
20241007@171230.6461 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.6464 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.6484 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.6497 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6512 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.6538 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6552 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.6561 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.6573 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.6585 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6601 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.6616 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040186536704086ea0','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.6620 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6636 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.6666 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040186536704086ea0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241007@171230.6888 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6904 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.6929 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6943 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.6952 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.6965 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.6980 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.7030 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040212376704086eaa','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.7079 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.7150 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.7179 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040212376704086eaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,200000,?,?,?)
20241007@171230.7477 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.7480 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.7498 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.7511 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.7526 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.7550 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.7566 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.7574 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.7585 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.7597 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.7611 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.7621 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040477086704086eb9','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.7627 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.7642 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.7672 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040477086704086eb9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241007@171230.7900 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.7920 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.7947 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.7963 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.7972 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.7985 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.8000 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.8013 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040028136704086ec2','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.8017 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.8032 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.8062 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040028136704086ec2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,230000,?,?,?)
20241007@171230.8298 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171230.8301 4ldnan13hpq7go236driipuf5s Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241007@171230.8321 4ldnan13hpq7go236driipuf5s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241007@171230.8336 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.8352 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.8379 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.8396 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.8406 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171230.8419 4ldnan13hpq7go236driipuf5s Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20241007@171230.8432 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.8446 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171230.8460 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040108786704086ecd','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171230.8465 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.8480 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.8509 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040108786704086ecd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67040043576704086dce' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241007@171230.8756 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171230.9156 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171230.9394 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.8100 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.9500 4ldnan13hpq7go236driipuf5s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171231.1090 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.1260 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.1390 4ldnan13hpq7go236driipuf5s Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040401896704086f02','aut67040043576704086dce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171231.1440 4ldnan13hpq7go236driipuf5s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.1590 4ldnan13hpq7go236driipuf5s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.1890 4ldnan13hpq7go236driipuf5s Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040401896704086f02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040043576704086dce' ,0,0 ,2,23.00,260000,?,?,?)
20241007@171231.4250 4ldnan13hpq7go236driipuf5s Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040043576704086dce','2406465','wait',39,'adm09112754980.682000002')
20241007@171231.5000 4ldnan13hpq7go236driipuf5s Query : use flama_phc
20241007@171231.5030 4ldnan13hpq7go236driipuf5s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171231.5350 4ldnan13hpq7go236driipuf5s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2471';
20241007@171231.5660 4ldnan13hpq7go236driipuf5s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2471';
20241007@171231.6090 4ldnan13hpq7go236driipuf5s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2471';
20241007@171231.6380 4ldnan13hpq7go236driipuf5s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2471';
20241007@171231.1971 kuf5vvv8lagtk59ksh33mnnaht Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171231.1982 kuf5vvv8lagtk59ksh33mnnaht Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171231.2036 kuf5vvv8lagtk59ksh33mnnaht Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2472';
20241007@171231.2091 kuf5vvv8lagtk59ksh33mnnaht Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2472';
20241007@171231.2142 kuf5vvv8lagtk59ksh33mnnaht Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2472';
20241007@171231.2168 kuf5vvv8lagtk59ksh33mnnaht Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2472';
20241007@171231.2220 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.2223 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171231.2285 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.2288 kuf5vvv8lagtk59ksh33mnnaht Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171231.2330 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20241007@171231.2485 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406466 and bi.ref ='324.946.00.01' and bi.lordem =1
20241007@171231.2821 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20241007@171231.2841 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406466 and bi.ref ='324.946.00.01' and bi.lordem =1
20241007@171231.2858 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.2861 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171231.2894 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.2896 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171231.2927 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.2930 kuf5vvv8lagtk59ksh33mnnaht 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')
20241007@171231.2957 kuf5vvv8lagtk59ksh33mnnaht 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
20241007@171231.2990 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.2992 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171231.3021 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.3024 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171231.3053 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.3055 kuf5vvv8lagtk59ksh33mnnaht Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171231.3093 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.3095 kuf5vvv8lagtk59ksh33mnnaht Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171231.3137 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.3140 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from td where ndoc = 39
20241007@171231.3152 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171231.3165 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.3180 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171231.3197 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.3213 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171231.3239 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.3253 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171231.3266 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171231.3329 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171231.3341 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.3358 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171231.3373 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040229986704086f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171231.3532 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.3551 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171231.3584 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171231.3596 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171231.3608 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171231.3621 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171231.3633 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171231.3644 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171231.3656 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040229986704086f4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171231.3863 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171231.3886 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.3903 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171231.3926 kuf5vvv8lagtk59ksh33mnnaht Query : select 'normal' from dummy
20241007@171231.3941 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040229986704086f4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1125,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171231.4195 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.4199 kuf5vvv8lagtk59ksh33mnnaht Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241007@171231.4220 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20241007@171231.4369 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4384 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.4409 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4427 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.4438 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171231.4454 kuf5vvv8lagtk59ksh33mnnaht Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241007@171231.4470 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4490 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.4503 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040142646704086f6d','aut67040229986704086f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171231.4507 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4523 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.4553 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040142646704086f6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67040229986704086f4f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171231.4776 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.4779 kuf5vvv8lagtk59ksh33mnnaht Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241007@171231.4800 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.946.00.01'
20241007@171231.4839 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4856 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.4883 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4903 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.4912 kuf5vvv8lagtk59ksh33mnnaht Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171231.4924 kuf5vvv8lagtk59ksh33mnnaht Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241007@171231.4937 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4952 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.4964 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040953786704086f78','aut67040229986704086f4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171231.4968 kuf5vvv8lagtk59ksh33mnnaht Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.4983 kuf5vvv8lagtk59ksh33mnnaht Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.5012 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040953786704086f78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut67040229986704086f4f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171231.5315 kuf5vvv8lagtk59ksh33mnnaht Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040229986704086f4f','2406466','wait',39,'adm09112754980.682000002')
20241007@171231.5407 kuf5vvv8lagtk59ksh33mnnaht Query : use flama_phc
20241007@171231.5410 kuf5vvv8lagtk59ksh33mnnaht Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171231.5440 kuf5vvv8lagtk59ksh33mnnaht Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2472';
20241007@171231.5470 kuf5vvv8lagtk59ksh33mnnaht Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2472';
20241007@171231.5511 kuf5vvv8lagtk59ksh33mnnaht Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2472';
20241007@171231.5537 kuf5vvv8lagtk59ksh33mnnaht Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2472';
20241007@171231.6058 51q7io093khd8jquahd8bqev1k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171231.6069 51q7io093khd8jquahd8bqev1k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171231.6125 51q7io093khd8jquahd8bqev1k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2473';
20241007@171231.6183 51q7io093khd8jquahd8bqev1k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2473';
20241007@171231.6238 51q7io093khd8jquahd8bqev1k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2473';
20241007@171231.6267 51q7io093khd8jquahd8bqev1k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2473';
20241007@171231.6322 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.6325 51q7io093khd8jquahd8bqev1k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171231.6386 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.6389 51q7io093khd8jquahd8bqev1k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171231.6430 51q7io093khd8jquahd8bqev1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20241007@171231.6586 51q7io093khd8jquahd8bqev1k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406467 and bi.ref ='324.948.00.01' and bi.lordem =1
20241007@171231.6914 51q7io093khd8jquahd8bqev1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20241007@171231.6934 51q7io093khd8jquahd8bqev1k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406467 and bi.ref ='324.948.00.01' and bi.lordem =1
20241007@171231.6951 51q7io093khd8jquahd8bqev1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20241007@171231.6970 51q7io093khd8jquahd8bqev1k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406467 and bi.ref ='324.948.00.01' and bi.lordem =1
20241007@171231.6987 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.6990 51q7io093khd8jquahd8bqev1k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171231.7023 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.7027 51q7io093khd8jquahd8bqev1k Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171231.7056 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.7059 51q7io093khd8jquahd8bqev1k 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')
20241007@171231.7087 51q7io093khd8jquahd8bqev1k 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
20241007@171231.7123 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.7126 51q7io093khd8jquahd8bqev1k Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171231.7264 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.7277 51q7io093khd8jquahd8bqev1k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171231.7311 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.7314 51q7io093khd8jquahd8bqev1k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171231.7355 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.7357 51q7io093khd8jquahd8bqev1k Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171231.7402 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.7405 51q7io093khd8jquahd8bqev1k Query : select 1 valor from td where ndoc = 39
20241007@171231.7417 51q7io093khd8jquahd8bqev1k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171231.7430 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.7446 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171231.7465 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.7489 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171231.7518 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.7533 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171231.7545 51q7io093khd8jquahd8bqev1k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171231.7611 51q7io093khd8jquahd8bqev1k Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171231.7624 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.7640 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171231.7656 51q7io093khd8jquahd8bqev1k Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040467026704086fb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171231.7807 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.7826 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171231.7859 51q7io093khd8jquahd8bqev1k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171231.7870 51q7io093khd8jquahd8bqev1k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171231.7881 51q7io093khd8jquahd8bqev1k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171231.7893 51q7io093khd8jquahd8bqev1k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171231.7906 51q7io093khd8jquahd8bqev1k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171231.7918 51q7io093khd8jquahd8bqev1k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171231.7929 51q7io093khd8jquahd8bqev1k Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040467026704086fb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171231.8138 51q7io093khd8jquahd8bqev1k Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171231.8160 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.8178 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171231.8200 51q7io093khd8jquahd8bqev1k Query : select 'normal' from dummy
20241007@171231.8215 51q7io093khd8jquahd8bqev1k Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040467026704086fb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1126,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171231.8470 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.8474 51q7io093khd8jquahd8bqev1k Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20241007@171231.8496 51q7io093khd8jquahd8bqev1k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20241007@171231.8650 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.8667 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.8694 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.8711 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.8719 51q7io093khd8jquahd8bqev1k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171231.8731 51q7io093khd8jquahd8bqev1k Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20241007@171231.8745 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.8760 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.8772 51q7io093khd8jquahd8bqev1k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040392296704086fd5','aut67040467026704086fb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171231.8776 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.8791 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.8825 51q7io093khd8jquahd8bqev1k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040392296704086fd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67040467026704086fb8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171231.9041 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171231.9044 51q7io093khd8jquahd8bqev1k Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20241007@171231.9063 51q7io093khd8jquahd8bqev1k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20241007@171231.9079 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.9094 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.9183 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.9203 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.9212 51q7io093khd8jquahd8bqev1k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171231.9224 51q7io093khd8jquahd8bqev1k Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20241007@171231.9236 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.9250 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171231.9261 51q7io093khd8jquahd8bqev1k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040796396704086fe1','aut67040467026704086fb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171231.9265 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171231.9303 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171231.9331 51q7io093khd8jquahd8bqev1k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040796396704086fe1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut67040467026704086fb8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171232.2267 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171232.4569 51q7io093khd8jquahd8bqev1k Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20241007@171232.4619 51q7io093khd8jquahd8bqev1k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20241007@171232.4636 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.4656 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171232.4689 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.4708 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171232.4719 51q7io093khd8jquahd8bqev1k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171232.4733 51q7io093khd8jquahd8bqev1k Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20241007@171232.4747 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.4764 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171232.4798 51q7io093khd8jquahd8bqev1k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040153416704087073','aut67040467026704086fb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171232.4804 51q7io093khd8jquahd8bqev1k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.4822 51q7io093khd8jquahd8bqev1k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171232.4858 51q7io093khd8jquahd8bqev1k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040153416704087073',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut67040467026704086fb8' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241007@171232.5106 51q7io093khd8jquahd8bqev1k Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040467026704086fb8','2406467','wait',39,'adm09112754980.682000002')
20241007@171232.5178 51q7io093khd8jquahd8bqev1k Query : use flama_phc
20241007@171232.5182 51q7io093khd8jquahd8bqev1k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171232.5214 51q7io093khd8jquahd8bqev1k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2473';
20241007@171232.5249 51q7io093khd8jquahd8bqev1k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2473';
20241007@171232.5293 51q7io093khd8jquahd8bqev1k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2473';
20241007@171232.5325 51q7io093khd8jquahd8bqev1k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2473';
20241007@171232.5861 rgbngi9sfnrmli7joajmfrqtbf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171232.5872 rgbngi9sfnrmli7joajmfrqtbf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171232.5931 rgbngi9sfnrmli7joajmfrqtbf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2474';
20241007@171232.5990 rgbngi9sfnrmli7joajmfrqtbf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2474';
20241007@171232.6046 rgbngi9sfnrmli7joajmfrqtbf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2474';
20241007@171232.6078 rgbngi9sfnrmli7joajmfrqtbf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2474';
20241007@171232.6147 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.6151 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171232.6220 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.6223 rgbngi9sfnrmli7joajmfrqtbf Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241007@171232.6318 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20241007@171232.6479 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406468 and bi.ref ='327.8152.00.1' and bi.lordem =1
20241007@171232.6812 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.6815 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171232.6850 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.6853 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171232.6882 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.6908 rgbngi9sfnrmli7joajmfrqtbf 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')
20241007@171232.6938 rgbngi9sfnrmli7joajmfrqtbf 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
20241007@171232.6973 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.6976 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171232.7006 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.7009 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171232.7038 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.7041 rgbngi9sfnrmli7joajmfrqtbf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171232.7079 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.7081 rgbngi9sfnrmli7joajmfrqtbf Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241007@171232.7127 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171232.7130 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from td where ndoc = 39
20241007@171232.7142 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171232.7156 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.7172 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171232.7190 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.7205 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171232.7253 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.8477 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171232.8569 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171232.8637 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171232.8654 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.8672 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171232.8690 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670402093067040870d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171232.8935 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171232.8956 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171232.8996 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171232.9011 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171232.9025 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171232.9039 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171232.9052 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171232.9066 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171232.9080 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670402093067040870d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171232.9509 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171233.1148 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.1178 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171233.1201 rgbngi9sfnrmli7joajmfrqtbf Query : select 'normal' from dummy
20241007@171233.1216 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670402093067040870d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1127,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171233.2795 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171233.2799 rgbngi9sfnrmli7joajmfrqtbf Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20241007@171233.2826 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8152.00.1'
20241007@171233.2989 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3005 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.3029 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3042 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.3051 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171233.3064 rgbngi9sfnrmli7joajmfrqtbf Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2200712200a'
20241007@171233.3085 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3101 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.3114 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704060659670408714b','aut670402093067040870d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171233.3118 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3132 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.3160 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6704060659670408714b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut670402093067040870d1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171233.3409 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3429 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.3460 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3477 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.3487 rgbngi9sfnrmli7joajmfrqtbf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171233.3502 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3519 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.3532 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040522336704087155','aut670402093067040870d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171233.3537 rgbngi9sfnrmli7joajmfrqtbf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.3554 rgbngi9sfnrmli7joajmfrqtbf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.3585 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040522336704087155',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670402093067040870d1' ,0,0 ,2,23.00,20000,?,?,?)
20241007@171233.3800 rgbngi9sfnrmli7joajmfrqtbf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670402093067040870d1','2406468','wait',39,'adm09112754980.682000002')
20241007@171233.3878 rgbngi9sfnrmli7joajmfrqtbf Query : use flama_phc
20241007@171233.3881 rgbngi9sfnrmli7joajmfrqtbf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171233.3913 rgbngi9sfnrmli7joajmfrqtbf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2474';
20241007@171233.3945 rgbngi9sfnrmli7joajmfrqtbf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2474';
20241007@171233.3987 rgbngi9sfnrmli7joajmfrqtbf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2474';
20241007@171233.4015 rgbngi9sfnrmli7joajmfrqtbf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2474';
20241007@171233.4545 o6irimujg3h6dg4388lhs2i3a9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171233.4555 o6irimujg3h6dg4388lhs2i3a9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171233.4612 o6irimujg3h6dg4388lhs2i3a9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2475';
20241007@171233.4666 o6irimujg3h6dg4388lhs2i3a9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2475';
20241007@171233.4717 o6irimujg3h6dg4388lhs2i3a9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2475';
20241007@171233.4745 o6irimujg3h6dg4388lhs2i3a9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2475';
20241007@171233.4797 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.4800 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171233.4862 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.4865 o6irimujg3h6dg4388lhs2i3a9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241007@171233.4905 o6irimujg3h6dg4388lhs2i3a9 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'
20241007@171233.4930 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406476 and bi.ref ='324.657.00.01' and bi.lordem =1
20241007@171233.5254 o6irimujg3h6dg4388lhs2i3a9 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'
20241007@171233.5275 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406476 and bi.ref ='324.657.00.01' and bi.lordem =1
20241007@171233.5292 o6irimujg3h6dg4388lhs2i3a9 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'
20241007@171233.5310 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406476 and bi.ref ='324.657.00.01' and bi.lordem =1
20241007@171233.5327 o6irimujg3h6dg4388lhs2i3a9 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'
20241007@171233.5362 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406476 and bi.ref ='324.657.00.01' and bi.lordem =1
20241007@171233.5379 o6irimujg3h6dg4388lhs2i3a9 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'
20241007@171233.5398 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406476 and bi.ref ='324.657.00.01' and bi.lordem =1
20241007@171233.5415 o6irimujg3h6dg4388lhs2i3a9 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'
20241007@171233.5433 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406476 and bi.ref ='324.657.00.01' and bi.lordem =1
20241007@171233.5449 o6irimujg3h6dg4388lhs2i3a9 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'
20241007@171233.5469 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406476 and bi.ref ='324.657.00.01' and bi.lordem =1
20241007@171233.5486 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5489 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171233.5522 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5525 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171233.5554 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5557 o6irimujg3h6dg4388lhs2i3a9 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')
20241007@171233.5585 o6irimujg3h6dg4388lhs2i3a9 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
20241007@171233.5639 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5642 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171233.5672 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5675 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171233.5726 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5729 o6irimujg3h6dg4388lhs2i3a9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171233.5770 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5773 o6irimujg3h6dg4388lhs2i3a9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241007@171233.5818 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.5821 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from td where ndoc = 39
20241007@171233.5836 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171233.5850 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.5867 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171233.5887 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.5902 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171233.5947 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.5964 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171233.5977 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171233.6042 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171233.6056 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.6071 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171233.6086 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171233.6230 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.6247 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171233.6282 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171233.6294 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171233.6307 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171233.6319 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171233.6331 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171233.6343 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171233.6354 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040315166704087191',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171233.6555 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171233.6576 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.6592 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171233.6636 o6irimujg3h6dg4388lhs2i3a9 Query : select 'normal' from dummy
20241007@171233.6651 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040315166704087191',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1128,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171233.6901 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.6904 o6irimujg3h6dg4388lhs2i3a9 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241007@171233.6927 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171233.6941 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.6957 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.6983 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.6998 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.7006 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171233.7018 o6irimujg3h6dg4388lhs2i3a9 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241007@171233.7031 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.7046 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.7059 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670407609467040871ab','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171233.7063 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.7078 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.7109 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670407609467040871ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67040315166704087191' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171233.7337 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.7355 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.7384 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.7398 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.7407 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171233.7421 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.7458 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.7469 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670405989467040871b5','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171233.7474 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.7488 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.7515 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670405989467040871b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040315166704087191' ,0,0 ,2,23.00,20000,?,?,?)
20241007@171233.7869 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171233.7874 o6irimujg3h6dg4388lhs2i3a9 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241007@171233.9770 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171233.9787 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.9805 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.9831 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.9846 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.9862 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171233.9878 o6irimujg3h6dg4388lhs2i3a9 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241007@171233.9890 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.9905 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171233.9916 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670405787267040871f1','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171233.9920 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171233.9934 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171233.9960 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670405787267040871f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67040315166704087191' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241007@171234.8610 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.8780 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.9030 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.9170 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.9250 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.9370 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.9510 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.9630 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040597036704087216','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.9680 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.9850 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.1039 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040597036704087216',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040315166704087191' ,0,0 ,2,23.00,50000,?,?,?)
20241007@171234.1258 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171234.1261 o6irimujg3h6dg4388lhs2i3a9 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241007@171234.1279 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171234.1293 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1333 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.1357 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1373 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.1381 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.1392 o6irimujg3h6dg4388lhs2i3a9 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241007@171234.1405 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1419 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.1430 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040100566704087222','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.1434 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1448 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.1475 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040100566704087222',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67040315166704087191' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241007@171234.1697 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1714 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.1739 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1755 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.1763 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.1776 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1790 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.1804 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704000099670408722b','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.1808 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.1822 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.1851 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6704000099670408722b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040315166704087191' ,0,0 ,2,23.00,80000,?,?,?)
20241007@171234.2080 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171234.2084 o6irimujg3h6dg4388lhs2i3a9 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241007@171234.2105 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171234.2120 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2137 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.2164 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2203 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.2212 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.2224 o6irimujg3h6dg4388lhs2i3a9 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20241007@171234.2237 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2251 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.2263 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040102726704087236','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.2268 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2282 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.2311 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040102726704087236',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67040315166704087191' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241007@171234.2550 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2567 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.2593 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2608 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.2617 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.2629 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2644 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.2656 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040960426704087240','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.2660 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.2675 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.2703 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040960426704087240',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040315166704087191' ,0,0 ,2,23.00,110000,?,?,?)
20241007@171234.2952 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171234.2955 o6irimujg3h6dg4388lhs2i3a9 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241007@171234.2976 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171234.2989 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3005 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.3031 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3046 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.3055 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.3068 o6irimujg3h6dg4388lhs2i3a9 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20241007@171234.3080 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3095 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.3107 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704082654670408724b','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.3112 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3126 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.3156 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6704082654670408724b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67040315166704087191' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241007@171234.3375 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3391 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.3419 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3434 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.3442 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.3456 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3470 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.3482 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040817736704087254','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.3486 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3500 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.3527 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040817736704087254',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040315166704087191' ,0,0 ,2,23.00,140000,?,?,?)
20241007@171234.3743 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171234.3746 o6irimujg3h6dg4388lhs2i3a9 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241007@171234.3765 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171234.3779 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3796 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.3821 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3835 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.3843 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.3856 o6irimujg3h6dg4388lhs2i3a9 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20241007@171234.3867 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3881 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.3892 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704058287670408725e','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.3896 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.3911 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.3938 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6704058287670408725e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67040315166704087191' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241007@171234.4185 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4203 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.4228 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4242 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.4251 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.4263 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4285 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.4296 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040202576704087268','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.4300 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4316 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.4343 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040202576704087268',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040315166704087191' ,0,0 ,2,23.00,170000,?,?,?)
20241007@171234.4560 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171234.4563 o6irimujg3h6dg4388lhs2i3a9 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241007@171234.4582 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171234.4596 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4613 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.4637 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4651 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.4660 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.4672 o6irimujg3h6dg4388lhs2i3a9 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400056200a'
20241007@171234.4684 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4699 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.4714 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040989146704087272','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.4718 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.4733 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.4786 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040989146704087272',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut67040315166704087191' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241007@171234.5010 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.5028 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.5075 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.5090 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.5337 o6irimujg3h6dg4388lhs2i3a9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171234.5681 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.5697 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171234.5712 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704097152670408728a','aut67040315166704087191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171234.5795 o6irimujg3h6dg4388lhs2i3a9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171234.6019 o6irimujg3h6dg4388lhs2i3a9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171234.6467 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6704097152670408728a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040315166704087191' ,0,0 ,2,23.00,200000,?,?,?)
20241007@171234.6713 o6irimujg3h6dg4388lhs2i3a9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040315166704087191','2406476','wait',39,'adm09112754980.682000002')
20241007@171234.6790 o6irimujg3h6dg4388lhs2i3a9 Query : use flama_phc
20241007@171234.6794 o6irimujg3h6dg4388lhs2i3a9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171234.6912 o6irimujg3h6dg4388lhs2i3a9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2475';
20241007@171234.6943 o6irimujg3h6dg4388lhs2i3a9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2475';
20241007@171234.6985 o6irimujg3h6dg4388lhs2i3a9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2475';
20241007@171234.7013 o6irimujg3h6dg4388lhs2i3a9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2475';
20241007@171234.7555 kftmjt3a558d0l7ct33knlvatq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171234.7567 kftmjt3a558d0l7ct33knlvatq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171234.7628 kftmjt3a558d0l7ct33knlvatq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2476';
20241007@171234.7683 kftmjt3a558d0l7ct33knlvatq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2476';
20241007@171234.7740 kftmjt3a558d0l7ct33knlvatq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2476';
20241007@171234.7767 kftmjt3a558d0l7ct33knlvatq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2476';
20241007@171234.7822 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171234.7841 kftmjt3a558d0l7ct33knlvatq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171234.8021 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171234.8024 kftmjt3a558d0l7ct33knlvatq Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20241007@171234.8105 kftmjt3a558d0l7ct33knlvatq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20241007@171234.8264 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406477 and bi.ref ='324.4930.00.1' and bi.lordem =1
20241007@171234.8589 kftmjt3a558d0l7ct33knlvatq 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'
20241007@171234.8611 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406477 and bi.ref ='304.4320.00.1' and bi.lordem =2
20241007@171234.8944 kftmjt3a558d0l7ct33knlvatq 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'
20241007@171234.8966 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406477 and bi.ref ='304.4320.00.1' and bi.lordem =2
20241007@171234.8984 kftmjt3a558d0l7ct33knlvatq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20241007@171234.9144 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406477 and bi.ref ='324.5343.00.1' and bi.lordem =3
20241007@171234.9479 kftmjt3a558d0l7ct33knlvatq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20241007@171234.9638 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406477 and bi.ref ='324.939.00.01' and bi.lordem =4
20241007@171234.9973 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171234.9977 kftmjt3a558d0l7ct33knlvatq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171235.6800 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.7300 kftmjt3a558d0l7ct33knlvatq Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171235.1060 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.1090 kftmjt3a558d0l7ct33knlvatq 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')
20241007@171235.1390 kftmjt3a558d0l7ct33knlvatq 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
20241007@171235.1750 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.1780 kftmjt3a558d0l7ct33knlvatq Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20241007@171235.3090 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.3120 kftmjt3a558d0l7ct33knlvatq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171235.3460 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.3490 kftmjt3a558d0l7ct33knlvatq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171235.3880 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.3910 kftmjt3a558d0l7ct33knlvatq Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20241007@171235.4380 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.4410 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from td where ndoc = 39
20241007@171235.4530 kftmjt3a558d0l7ct33knlvatq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171235.4670 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.4830 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171235.5020 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.5190 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171235.5480 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.5620 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171235.5750 kftmjt3a558d0l7ct33knlvatq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171235.6390 kftmjt3a558d0l7ct33knlvatq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171235.6530 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.6710 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171235.6860 kftmjt3a558d0l7ct33knlvatq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6704031764670408730e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171235.8720 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.8910 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171235.9230 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171235.9360 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171235.9490 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171235.9600 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171235.9710 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171235.9820 kftmjt3a558d0l7ct33knlvatq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171235.9920 kftmjt3a558d0l7ct33knlvatq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6704031764670408730e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171235.1214 kftmjt3a558d0l7ct33knlvatq Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171235.1237 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.1254 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171235.1276 kftmjt3a558d0l7ct33knlvatq Query : select 'normal' from dummy
20241007@171235.1290 kftmjt3a558d0l7ct33knlvatq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6704031764670408730e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1129,199506,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171235.1545 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.1548 kftmjt3a558d0l7ct33knlvatq Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20241007@171235.1699 kftmjt3a558d0l7ct33knlvatq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20241007@171235.1849 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.1866 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.1892 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.1907 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.1915 kftmjt3a558d0l7ct33knlvatq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.1927 kftmjt3a558d0l7ct33knlvatq Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20241007@171235.1943 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.1957 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.1971 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704041632670408732f','aut6704031764670408730e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.1976 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.1991 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.2022 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6704041632670408732f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6704031764670408730e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171235.2243 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.2246 kftmjt3a558d0l7ct33knlvatq Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241007@171235.2264 kftmjt3a558d0l7ct33knlvatq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241007@171235.2278 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2293 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.2320 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2334 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.2341 kftmjt3a558d0l7ct33knlvatq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.2353 kftmjt3a558d0l7ct33knlvatq Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241005'
20241007@171235.2367 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2382 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.2393 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040232576704087339','aut6704031764670408730e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.2398 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2412 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.2440 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040232576704087339',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6704031764670408730e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171235.2659 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.2662 kftmjt3a558d0l7ct33knlvatq Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241007@171235.2684 kftmjt3a558d0l7ct33knlvatq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241007@171235.2697 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2713 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.2739 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2755 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.2764 kftmjt3a558d0l7ct33knlvatq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.2779 kftmjt3a558d0l7ct33knlvatq Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241007@171235.2813 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2829 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.2842 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040638426704087344','aut6704031764670408730e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.2846 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.2862 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.2894 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040638426704087344',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6704031764670408730e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241007@171235.3116 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.3120 kftmjt3a558d0l7ct33knlvatq Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20241007@171235.3140 kftmjt3a558d0l7ct33knlvatq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20241007@171235.3291 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3306 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.3336 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3351 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.3359 kftmjt3a558d0l7ct33knlvatq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.3372 kftmjt3a558d0l7ct33knlvatq Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20241007@171235.3395 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3410 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.3422 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040155796704087352','aut6704031764670408730e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.3426 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3440 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.3470 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040155796704087352',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6704031764670408730e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241007@171235.3695 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3712 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.3739 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3754 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.3764 kftmjt3a558d0l7ct33knlvatq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.3777 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3793 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.3806 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704058000670408735c','aut6704031764670408730e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.3810 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.3825 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.3853 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6704058000670408735c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6704031764670408730e' ,0,0 ,2,23.00,50000,?,?,?)
20241007@171235.4071 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.4074 kftmjt3a558d0l7ct33knlvatq Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20241007@171235.4095 kftmjt3a558d0l7ct33knlvatq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20241007@171235.4283 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.4301 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.4328 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.4342 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.4351 kftmjt3a558d0l7ct33knlvatq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.4362 kftmjt3a558d0l7ct33knlvatq Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20241007@171235.4376 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.4390 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.4402 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704043736670408736a','aut6704031764670408730e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.4407 kftmjt3a558d0l7ct33knlvatq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.4422 kftmjt3a558d0l7ct33knlvatq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.4452 kftmjt3a558d0l7ct33knlvatq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6704043736670408736a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6704031764670408730e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241007@171235.4669 kftmjt3a558d0l7ct33knlvatq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6704031764670408730e','2406477','wait',39,'adm09112754980.682000002')
20241007@171235.4744 kftmjt3a558d0l7ct33knlvatq Query : use flama_phc
20241007@171235.4747 kftmjt3a558d0l7ct33knlvatq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171235.4781 kftmjt3a558d0l7ct33knlvatq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2476';
20241007@171235.4813 kftmjt3a558d0l7ct33knlvatq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2476';
20241007@171235.4854 kftmjt3a558d0l7ct33knlvatq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2476';
20241007@171235.4881 kftmjt3a558d0l7ct33knlvatq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2476';
20241007@171235.6025 nrl70jvcqm22e90maa5jo9mlgp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171235.6037 nrl70jvcqm22e90maa5jo9mlgp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171235.6094 nrl70jvcqm22e90maa5jo9mlgp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2477';
20241007@171235.6151 nrl70jvcqm22e90maa5jo9mlgp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2477';
20241007@171235.6203 nrl70jvcqm22e90maa5jo9mlgp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2477';
20241007@171235.6231 nrl70jvcqm22e90maa5jo9mlgp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2477';
20241007@171235.6281 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.6285 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171235.6347 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.6350 nrl70jvcqm22e90maa5jo9mlgp Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20241007@171235.6393 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20241007@171235.6555 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2064 and bo.obrano = 2406498 and bi.ref ='328.9326.00.1' and bi.lordem =1
20241007@171235.6886 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.6889 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171235.6924 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.6927 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171235.6959 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.6962 nrl70jvcqm22e90maa5jo9mlgp 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')
20241007@171235.6989 nrl70jvcqm22e90maa5jo9mlgp 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
20241007@171235.7023 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.7026 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241007@171235.7059 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.7062 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171235.7102 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.7105 nrl70jvcqm22e90maa5jo9mlgp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171235.7145 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.7148 nrl70jvcqm22e90maa5jo9mlgp Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20241007@171235.7192 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.7195 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from td where ndoc = 39
20241007@171235.7207 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171235.7222 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.7240 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171235.7260 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.7275 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171235.7306 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.7321 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171235.7334 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171235.7400 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171235.7413 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.7430 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171235.7446 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670405205667040873b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171235.7596 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.7614 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171235.7648 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171235.7661 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171235.7674 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171235.7751 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171235.7765 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171235.7778 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171235.7790 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670405205667040873b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171235.8010 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171235.8158 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.8175 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171235.8198 nrl70jvcqm22e90maa5jo9mlgp Query : select 'normal' from dummy
20241007@171235.8213 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670405205667040873b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1130,100810,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171235.8470 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.8473 nrl70jvcqm22e90maa5jo9mlgp Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20241007@171235.8496 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20241007@171235.8660 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.8676 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.8703 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.8717 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.8725 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.8740 nrl70jvcqm22e90maa5jo9mlgp Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20241007@171235.8761 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.8777 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.8788 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670403393567040873d5','aut670405205667040873b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.8792 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.8807 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.8835 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670403393567040873d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut670405205667040873b3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171235.9072 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.9091 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.9122 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.9139 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.9149 nrl70jvcqm22e90maa5jo9mlgp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171235.9166 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.9185 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171235.9198 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670406569767040873df','aut670405205667040873b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171235.9203 nrl70jvcqm22e90maa5jo9mlgp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171235.9217 nrl70jvcqm22e90maa5jo9mlgp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171235.9244 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670406569767040873df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670405205667040873b3' ,0,0 ,2,23.00,20000,?,?,?)
20241007@171235.9475 nrl70jvcqm22e90maa5jo9mlgp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670405205667040873b3','2406498','wait',39,'adm09112754980.682000002')
20241007@171235.9544 nrl70jvcqm22e90maa5jo9mlgp Query : use flama_phc
20241007@171235.9547 nrl70jvcqm22e90maa5jo9mlgp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171235.9595 nrl70jvcqm22e90maa5jo9mlgp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2477';
20241007@171235.9638 nrl70jvcqm22e90maa5jo9mlgp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2477';
20241007@171235.9713 nrl70jvcqm22e90maa5jo9mlgp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2477';
20241007@171235.9756 nrl70jvcqm22e90maa5jo9mlgp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2477';
20241007@171236.4010 mnpe3bne36hpqukt81hgnth38u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171236.4140 mnpe3bne36hpqukt81hgnth38u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171236.4690 mnpe3bne36hpqukt81hgnth38u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2478';
20241007@171236.5270 mnpe3bne36hpqukt81hgnth38u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2478';
20241007@171236.5770 mnpe3bne36hpqukt81hgnth38u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2478';
20241007@171236.6040 mnpe3bne36hpqukt81hgnth38u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2478';
20241007@171236.6510 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.6540 mnpe3bne36hpqukt81hgnth38u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171236.7150 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.7180 mnpe3bne36hpqukt81hgnth38u Query : select no, estab,szadrsdesc from szadrs where u_coddest=1152
20241007@171236.8010 mnpe3bne36hpqukt81hgnth38u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1675.3015'
20241007@171236.9660 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406505 and bi.ref ='325.1675.3015' and bi.lordem =1
20241007@171236.1725 mnpe3bne36hpqukt81hgnth38u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20241007@171236.2540 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406505 and bi.ref ='324.1705.00.1' and bi.lordem =2
20241007@171236.2866 mnpe3bne36hpqukt81hgnth38u 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'
20241007@171236.2885 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406505 and bi.ref ='304.422.00.07' and bi.lordem =4
20241007@171236.3238 mnpe3bne36hpqukt81hgnth38u 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'
20241007@171236.3390 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406505 and bi.ref ='304.421.00.04' and bi.lordem =5
20241007@171236.3713 mnpe3bne36hpqukt81hgnth38u 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'
20241007@171236.3734 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406505 and bi.ref ='324.938.00.01' and bi.lordem =7
20241007@171236.4064 mnpe3bne36hpqukt81hgnth38u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20241007@171236.4086 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406505 and bi.ref ='324.939.00.01' and bi.lordem =8
20241007@171236.4419 mnpe3bne36hpqukt81hgnth38u 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'
20241007@171236.4590 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406505 and bi.ref ='324.727.00.01' and bi.lordem =10
20241007@171236.4911 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.4914 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171236.4947 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.4950 mnpe3bne36hpqukt81hgnth38u Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171236.4980 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.4983 mnpe3bne36hpqukt81hgnth38u 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')
20241007@171236.5011 mnpe3bne36hpqukt81hgnth38u 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
20241007@171236.5044 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.5047 mnpe3bne36hpqukt81hgnth38u Query : select top 1 ~inactivo valor from cl where no = '101393' and estab = 0 order by inactivo desc
20241007@171236.5171 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.5175 mnpe3bne36hpqukt81hgnth38u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171236.5203 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.5206 mnpe3bne36hpqukt81hgnth38u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171236.5244 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.5247 mnpe3bne36hpqukt81hgnth38u Query : select szadrsstamp valor from szadrs where szadrsdesc='antonio solha & irmÃo, lda.'
20241007@171236.5293 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.5296 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from td where ndoc = 39
20241007@171236.5308 mnpe3bne36hpqukt81hgnth38u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171236.5321 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.5337 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171236.5355 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.5369 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171236.5396 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.5414 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171236.5426 mnpe3bne36hpqukt81hgnth38u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171236.5490 mnpe3bne36hpqukt81hgnth38u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171236.5502 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.5517 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171236.5532 mnpe3bne36hpqukt81hgnth38u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171236.5679 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.5695 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171236.5728 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171236.5740 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171236.5753 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171236.5765 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171236.5776 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171236.5789 mnpe3bne36hpqukt81hgnth38u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171236.5801 mnpe3bne36hpqukt81hgnth38u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040400126704087484',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171236.6004 mnpe3bne36hpqukt81hgnth38u Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171236.6026 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.6042 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171236.6068 mnpe3bne36hpqukt81hgnth38u Query : select 'normal' from dummy
20241007@171236.6083 mnpe3bne36hpqukt81hgnth38u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040400126704087484',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1131,101393,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171236.6330 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.6333 mnpe3bne36hpqukt81hgnth38u Query : select st.usalote valor from st where st.ref = '325.1675.3015'
20241007@171236.6356 mnpe3bne36hpqukt81hgnth38u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1675.3015'
20241007@171236.6506 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.6522 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.6546 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.6561 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.6569 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171236.6581 mnpe3bne36hpqukt81hgnth38u Query : select sestamp valor from se where ref ='325.1675.3015' and lote = '1303'
20241007@171236.6605 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.6620 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.6631 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670401249567040874a1','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171236.6644 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.6660 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.6687 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670401249567040874a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut67040400126704087484' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171236.6905 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.6908 mnpe3bne36hpqukt81hgnth38u Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20241007@171236.6927 mnpe3bne36hpqukt81hgnth38u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1705.00.1'
20241007@171236.6940 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.6968 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.6992 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.7007 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.7016 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171236.7028 mnpe3bne36hpqukt81hgnth38u Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20241007@171236.7041 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.7056 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.7068 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670406142967040874ab','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171236.7072 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.7087 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.7114 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670406142967040874ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67040400126704087484' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171236.7344 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.7347 mnpe3bne36hpqukt81hgnth38u Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241007@171236.7369 mnpe3bne36hpqukt81hgnth38u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241007@171236.7382 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.7399 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.7423 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.7438 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.7446 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171236.7458 mnpe3bne36hpqukt81hgnth38u Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20241007@171236.7471 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.7485 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.7496 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670404238567040874b6','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171236.7500 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.7515 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.7543 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670404238567040874b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67040400126704087484' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241007@171236.7845 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.7848 mnpe3bne36hpqukt81hgnth38u Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241007@171236.7872 mnpe3bne36hpqukt81hgnth38u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241007@171236.8024 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8042 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.8068 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8083 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.8092 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171236.8104 mnpe3bne36hpqukt81hgnth38u Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241001'
20241007@171236.8125 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8140 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.8152 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670401626567040874c6','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171236.8195 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8297 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.8326 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670401626567040874c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67040400126704087484' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241007@171236.8551 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8567 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.8595 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8613 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.8621 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171236.8633 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8647 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.8664 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670406100467040874d2','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171236.8668 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.8684 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.8732 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut670406100467040874d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040400126704087484' ,0,0 ,2,23.00,50000,?,?,?)
20241007@171236.8952 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.8955 mnpe3bne36hpqukt81hgnth38u Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241007@171236.8975 mnpe3bne36hpqukt81hgnth38u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241007@171236.8990 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9007 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.9036 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9057 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.9067 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171236.9081 mnpe3bne36hpqukt81hgnth38u Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241007@171236.9097 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9114 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.9127 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670408308967040874de','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171236.9132 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9149 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.9183 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670408308967040874de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67040400126704087484' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241007@171236.9411 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.9414 mnpe3bne36hpqukt81hgnth38u Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20241007@171236.9435 mnpe3bne36hpqukt81hgnth38u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20241007@171236.9450 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9468 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.9495 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9513 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.9521 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171236.9536 mnpe3bne36hpqukt81hgnth38u Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20241007@171236.9550 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9566 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171236.9580 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670406330667040874e9','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171236.9584 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171236.9599 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171236.9629 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670406330667040874e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67040400126704087484' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241007@171236.9849 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171236.9853 mnpe3bne36hpqukt81hgnth38u Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20241007@171236.9874 mnpe3bne36hpqukt81hgnth38u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241007@171237.2700 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4400 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.7300 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.8900 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.9800 mnpe3bne36hpqukt81hgnth38u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171237.1120 mnpe3bne36hpqukt81hgnth38u Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r230053420'
20241007@171237.1220 mnpe3bne36hpqukt81hgnth38u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.1380 mnpe3bne36hpqukt81hgnth38u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.1500 mnpe3bne36hpqukt81hgnth38u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040607066704087502','aut67040400126704087484' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171237.1690 mnpe3bne36hpqukt81hgnth38u Query : use flama_phc
20241007@171237.1730 mnpe3bne36hpqukt81hgnth38u Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241007@171237.2060 mnpe3bne36hpqukt81hgnth38u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2478';
20241007@171237.2410 mnpe3bne36hpqukt81hgnth38u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2478';
20241007@171237.8260 76phprjcvqntatuq36lvjdf9g6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171237.8360 76phprjcvqntatuq36lvjdf9g6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171237.8890 76phprjcvqntatuq36lvjdf9g6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2479';
20241007@171237.9440 76phprjcvqntatuq36lvjdf9g6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2479';
20241007@171237.9970 76phprjcvqntatuq36lvjdf9g6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2479';
20241007@171237.1023 76phprjcvqntatuq36lvjdf9g6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2479';
20241007@171237.1076 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.1079 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171237.1140 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.1143 76phprjcvqntatuq36lvjdf9g6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1179
20241007@171237.1229 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241007@171237.1386 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406506 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241007@171237.1716 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241007@171237.1737 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406506 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241007@171237.2064 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2067 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171237.2104 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2107 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171237.2138 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2141 76phprjcvqntatuq36lvjdf9g6 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')
20241007@171237.2169 76phprjcvqntatuq36lvjdf9g6 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
20241007@171237.2203 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2206 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 ~inactivo valor from cl where no = '102332' and estab = 0 order by inactivo desc
20241007@171237.2336 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2339 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171237.2370 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2373 76phprjcvqntatuq36lvjdf9g6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171237.2413 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2416 76phprjcvqntatuq36lvjdf9g6 Query : select szadrsstamp valor from szadrs where szadrsdesc='o varandÃo,lda (grijÓ)'
20241007@171237.2486 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.2529 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from td where ndoc = 39
20241007@171237.2617 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171237.2631 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.2647 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171237.2670 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.2684 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171237.2773 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.2793 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171237.2807 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171237.2873 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171237.2887 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.2903 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171237.2921 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040228876704087544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171237.3095 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.3136 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171237.3202 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171237.3217 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171237.3228 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171237.3239 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171237.3251 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171237.3263 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171237.3274 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040228876704087544',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171237.3567 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171237.3589 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.3607 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171237.3629 76phprjcvqntatuq36lvjdf9g6 Query : select 'normal' from dummy
20241007@171237.3755 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040228876704087544',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1131,102332,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171237.4016 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.4020 76phprjcvqntatuq36lvjdf9g6 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241007@171237.4054 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241007@171237.4213 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4248 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.4272 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4296 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.4304 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171237.4316 76phprjcvqntatuq36lvjdf9g6 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20241007@171237.4333 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4348 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.4359 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040405606704087569','aut67040228876704087544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171237.4363 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4418 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.4445 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040405606704087569',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut67040228876704087544' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171237.4687 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4706 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.4743 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4758 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.4767 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171237.4779 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4795 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.4866 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040780066704087574','aut67040228876704087544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171237.4870 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.4886 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.4913 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040780066704087574',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040228876704087544' ,0,0 ,2,23.00,20000,?,?,?)
20241007@171237.5134 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.5137 76phprjcvqntatuq36lvjdf9g6 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241007@171237.5158 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241007@171237.5173 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5189 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.5215 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5230 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.5238 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171237.5250 76phprjcvqntatuq36lvjdf9g6 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20241007@171237.5262 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5277 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.5288 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040253576704087580','aut67040228876704087544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171237.5293 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5308 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.5337 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040253576704087580',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67040228876704087544' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241007@171237.5569 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5585 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.5610 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5624 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.5632 76phprjcvqntatuq36lvjdf9g6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171237.5643 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5674 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171237.5685 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040651006704087589','aut67040228876704087544' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171237.5689 76phprjcvqntatuq36lvjdf9g6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171237.5704 76phprjcvqntatuq36lvjdf9g6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171237.5733 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040651006704087589',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67040228876704087544' ,0,0 ,2,23.00,50000,?,?,?)
20241007@171237.5955 76phprjcvqntatuq36lvjdf9g6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040228876704087544','2406506','wait',39,'adm09112754980.682000002')
20241007@171237.6025 76phprjcvqntatuq36lvjdf9g6 Query : use flama_phc
20241007@171237.6029 76phprjcvqntatuq36lvjdf9g6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171237.6058 76phprjcvqntatuq36lvjdf9g6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2479';
20241007@171237.6092 76phprjcvqntatuq36lvjdf9g6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2479';
20241007@171237.6136 76phprjcvqntatuq36lvjdf9g6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2479';
20241007@171237.6162 76phprjcvqntatuq36lvjdf9g6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2479';
20241007@171237.6707 hpr8avffmkf6fm855b9rmavdu0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171237.6718 hpr8avffmkf6fm855b9rmavdu0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171237.6777 hpr8avffmkf6fm855b9rmavdu0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2480';
20241007@171237.6831 hpr8avffmkf6fm855b9rmavdu0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2480';
20241007@171237.6896 hpr8avffmkf6fm855b9rmavdu0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2480';
20241007@171237.6946 hpr8avffmkf6fm855b9rmavdu0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2480';
20241007@171237.6999 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171237.7002 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171237.7065 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171237.7068 hpr8avffmkf6fm855b9rmavdu0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20241007@171237.7160 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241007@171237.7313 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406507 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241007@171237.7641 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2357.00.1'
20241007@171237.7796 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406507 and bi.ref ='324.2357.00.1' and bi.lordem =2
20241007@171237.8119 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241007@171237.8280 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406507 and bi.ref ='324.2362.00.1' and bi.lordem =3
20241007@171237.8777 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2366.00.1'
20241007@171237.8929 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406507 and bi.ref ='324.2366.00.1' and bi.lordem =4
20241007@171237.9259 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20241007@171237.9415 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406507 and bi.ref ='324.2300.00.1' and bi.lordem =5
20241007@171237.9746 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20241007@171237.9905 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406507 and bi.ref ='324.1317.00.1' and bi.lordem =6
20241007@171238.9550 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241007@171238.1415 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406507 and bi.ref ='328.9902.00.1' and bi.lordem =7
20241007@171238.1737 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.1741 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171238.1776 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.1780 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171238.1808 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.1811 hpr8avffmkf6fm855b9rmavdu0 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')
20241007@171238.1838 hpr8avffmkf6fm855b9rmavdu0 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
20241007@171238.1871 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.1874 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 ~inactivo valor from cl where no = '100404' and estab = 0 order by inactivo desc
20241007@171238.2038 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.2041 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171238.2104 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.2107 hpr8avffmkf6fm855b9rmavdu0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171238.2158 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.2161 hpr8avffmkf6fm855b9rmavdu0 Query : select szadrsstamp valor from szadrs where szadrsdesc='bitranlis, agentes transitára'
20241007@171238.2318 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.2379 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from td where ndoc = 39
20241007@171238.2427 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171238.2440 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.2458 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171238.2475 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.2489 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171238.2525 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.2538 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171238.2558 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171238.2620 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171238.2632 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.2682 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171238.2698 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6704070042670408763e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171238.2857 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.2874 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171238.2913 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171238.2924 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171238.2947 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171238.2960 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171238.2971 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171238.2983 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171238.2996 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6704070042670408763e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171238.3220 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171238.3242 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.3259 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171238.3283 hpr8avffmkf6fm855b9rmavdu0 Query : select 'normal' from dummy
20241007@171238.3322 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6704070042670408763e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1132,100404,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171238.3582 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.3586 hpr8avffmkf6fm855b9rmavdu0 Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241007@171238.3609 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2301.00.3'
20241007@171238.3787 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.3845 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171238.3903 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.3920 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.3929 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171238.3944 hpr8avffmkf6fm855b9rmavdu0 Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2300612200a'
20241007@171238.3967 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.3984 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.4042 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040508406704087660','aut6704070042670408763e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171238.4047 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.4063 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171238.4320 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040508406704087660',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6704070042670408763e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171238.4710 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.4713 hpr8avffmkf6fm855b9rmavdu0 Query : select st.usalote valor from st where st.ref = '324.2357.00.1'
20241007@171238.4734 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2357.00.1'
20241007@171238.4982 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.5048 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171238.5076 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.5091 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.5100 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171238.5112 hpr8avffmkf6fm855b9rmavdu0 Query : select sestamp valor from se where ref ='324.2357.00.1' and lote = 'r2200239100a'
20241007@171238.5132 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.5163 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.5175 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704078472670408767d','aut6704070042670408763e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171238.5179 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.5193 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171238.5221 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6704078472670408767d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6704070042670408763e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241007@171238.5427 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.5430 hpr8avffmkf6fm855b9rmavdu0 Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241007@171238.5472 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241007@171238.5614 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.5630 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171238.5654 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.5670 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.5679 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171238.5690 hpr8avffmkf6fm855b9rmavdu0 Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = '324.2362.00.1'
20241007@171238.5700 hpr8avffmkf6fm855b9rmavdu0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.5713 hpr8avffmkf6fm855b9rmavdu0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.5724 hpr8avffmkf6fm855b9rmavdu0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704066139670408768b','aut6704070042670408763e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171238.5742 hpr8avffmkf6fm855b9rmavdu0 Query : use flama_phc
20241007@171238.5745 hpr8avffmkf6fm855b9rmavdu0 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241007@171238.5777 hpr8avffmkf6fm855b9rmavdu0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2480';
20241007@171238.5806 hpr8avffmkf6fm855b9rmavdu0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2480';
20241007@171238.6366 8qt547ujs903jtovdcg343glr1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171238.6378 8qt547ujs903jtovdcg343glr1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171238.6432 8qt547ujs903jtovdcg343glr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2481';
20241007@171238.6489 8qt547ujs903jtovdcg343glr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2481';
20241007@171238.6543 8qt547ujs903jtovdcg343glr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2481';
20241007@171238.6590 8qt547ujs903jtovdcg343glr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2481';
20241007@171238.6643 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.6646 8qt547ujs903jtovdcg343glr1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171238.6710 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.6713 8qt547ujs903jtovdcg343glr1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4197
20241007@171238.6801 8qt547ujs903jtovdcg343glr1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241007@171238.6964 8qt547ujs903jtovdcg343glr1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406508 and bi.ref ='324.1816.00.1' and bi.lordem =1
20241007@171238.7279 8qt547ujs903jtovdcg343glr1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241007@171238.7300 8qt547ujs903jtovdcg343glr1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406508 and bi.ref ='324.1816.00.1' and bi.lordem =1
20241007@171238.7317 8qt547ujs903jtovdcg343glr1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241007@171238.7338 8qt547ujs903jtovdcg343glr1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406508 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241007@171238.7694 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.7768 8qt547ujs903jtovdcg343glr1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171238.7814 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.7818 8qt547ujs903jtovdcg343glr1 Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171238.7850 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.7853 8qt547ujs903jtovdcg343glr1 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')
20241007@171238.7881 8qt547ujs903jtovdcg343glr1 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
20241007@171238.7917 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.7920 8qt547ujs903jtovdcg343glr1 Query : select top 1 ~inactivo valor from cl where no = '102085' and estab = 0 order by inactivo desc
20241007@171238.8053 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.8056 8qt547ujs903jtovdcg343glr1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171238.8088 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.8091 8qt547ujs903jtovdcg343glr1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171238.8129 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.8132 8qt547ujs903jtovdcg343glr1 Query : select szadrsstamp valor from szadrs where szadrsdesc='montilectica 2'
20241007@171238.8179 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.8181 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from td where ndoc = 39
20241007@171238.8194 8qt547ujs903jtovdcg343glr1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171238.8208 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.8225 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171238.8245 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.8260 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171238.8289 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.8304 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171238.8317 8qt547ujs903jtovdcg343glr1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171238.8383 8qt547ujs903jtovdcg343glr1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171238.8395 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.8410 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171238.8425 8qt547ujs903jtovdcg343glr1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut670408818167040876cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171238.8574 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.8590 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171238.8623 8qt547ujs903jtovdcg343glr1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171238.8635 8qt547ujs903jtovdcg343glr1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171238.8647 8qt547ujs903jtovdcg343glr1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171238.8660 8qt547ujs903jtovdcg343glr1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171238.8672 8qt547ujs903jtovdcg343glr1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171238.8815 8qt547ujs903jtovdcg343glr1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171238.8829 8qt547ujs903jtovdcg343glr1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut670408818167040876cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171238.9181 8qt547ujs903jtovdcg343glr1 Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171238.9323 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.9385 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171238.9420 8qt547ujs903jtovdcg343glr1 Query : select 'normal' from dummy
20241007@171238.9469 8qt547ujs903jtovdcg343glr1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut670408818167040876cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1132,102085,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171238.9718 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171238.9721 8qt547ujs903jtovdcg343glr1 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241007@171238.9743 8qt547ujs903jtovdcg343glr1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241007@171238.9890 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.9905 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171238.9929 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.9943 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.9950 8qt547ujs903jtovdcg343glr1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171238.9961 8qt547ujs903jtovdcg343glr1 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20241007@171238.9974 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171238.9988 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171238.9998 8qt547ujs903jtovdcg343glr1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670403045767040876f3','aut670408818167040876cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171239.2000 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1600 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.4200 8qt547ujs903jtovdcg343glr1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670403045767040876f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut670408818167040876cb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171239.2610 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.2760 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.3020 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.3170 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.3260 8qt547ujs903jtovdcg343glr1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171239.3560 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.3710 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.3830 8qt547ujs903jtovdcg343glr1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040750546704087708','aut670408818167040876cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171239.3870 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.4020 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.4360 8qt547ujs903jtovdcg343glr1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67040750546704087708',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670408818167040876cb' ,0,0 ,2,23.00,20000,?,?,?)
20241007@171239.6470 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171239.6510 8qt547ujs903jtovdcg343glr1 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241007@171239.6700 8qt547ujs903jtovdcg343glr1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241007@171239.6830 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.6990 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.7220 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.7350 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.7430 8qt547ujs903jtovdcg343glr1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171239.7530 8qt547ujs903jtovdcg343glr1 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20241007@171239.7650 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.7790 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.7900 8qt547ujs903jtovdcg343glr1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040896326704087712','aut670408818167040876cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171239.7940 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.8080 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.8360 8qt547ujs903jtovdcg343glr1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040896326704087712',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut670408818167040876cb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241007@171239.1056 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1072 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.1097 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1111 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.1120 8qt547ujs903jtovdcg343glr1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171239.1132 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1146 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.1158 8qt547ujs903jtovdcg343glr1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704076062670408771b','aut670408818167040876cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171239.1162 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1177 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.1204 8qt547ujs903jtovdcg343glr1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6704076062670408771b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670408818167040876cb' ,0,0 ,2,23.00,50000,?,?,?)
20241007@171239.1422 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171239.1426 8qt547ujs903jtovdcg343glr1 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241007@171239.1444 8qt547ujs903jtovdcg343glr1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241007@171239.1457 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1473 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.1498 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1513 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.1522 8qt547ujs903jtovdcg343glr1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171239.1537 8qt547ujs903jtovdcg343glr1 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20241007@171239.1549 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1564 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.1576 8qt547ujs903jtovdcg343glr1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67040942086704087725','aut670408818167040876cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171239.1580 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1594 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.1623 8qt547ujs903jtovdcg343glr1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67040942086704087725',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut670408818167040876cb' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241007@171239.1851 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1868 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.1894 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1908 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.1916 8qt547ujs903jtovdcg343glr1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171239.1928 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1942 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.1954 8qt547ujs903jtovdcg343glr1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704089556670408772f','aut670408818167040876cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171239.1958 8qt547ujs903jtovdcg343glr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.1972 8qt547ujs903jtovdcg343glr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.2003 8qt547ujs903jtovdcg343glr1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6704089556670408772f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut670408818167040876cb' ,0,0 ,2,23.00,80000,?,?,?)
20241007@171239.2221 8qt547ujs903jtovdcg343glr1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut670408818167040876cb','2406508','wait',39,'adm09112754980.682000002')
20241007@171239.2290 8qt547ujs903jtovdcg343glr1 Query : use flama_phc
20241007@171239.2293 8qt547ujs903jtovdcg343glr1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171239.2321 8qt547ujs903jtovdcg343glr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2481';
20241007@171239.2352 8qt547ujs903jtovdcg343glr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2481';
20241007@171239.2395 8qt547ujs903jtovdcg343glr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2481';
20241007@171239.2424 8qt547ujs903jtovdcg343glr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2481';
20241007@171239.3221 enk8llj202sruiedq2nse8girk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241007@171239.3232 enk8llj202sruiedq2nse8girk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241007@171239.3287 enk8llj202sruiedq2nse8girk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2482';
20241007@171239.3343 enk8llj202sruiedq2nse8girk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2482';
20241007@171239.3394 enk8llj202sruiedq2nse8girk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2482';
20241007@171239.3421 enk8llj202sruiedq2nse8girk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2482';
20241007@171239.3470 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.3473 enk8llj202sruiedq2nse8girk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241007@171239.3534 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.3537 enk8llj202sruiedq2nse8girk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4385
20241007@171239.4844 enk8llj202sruiedq2nse8girk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2308.00.1'
20241007@171239.5038 enk8llj202sruiedq2nse8girk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2065 and bo.obrano = 2406535 and bi.ref ='324.2308.00.1' and bi.lordem =1
20241007@171239.5393 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5397 enk8llj202sruiedq2nse8girk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241007@171239.5436 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5439 enk8llj202sruiedq2nse8girk Query : select top 1 1 valor from td where td.ndoc = 39
20241007@171239.5467 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5470 enk8llj202sruiedq2nse8girk 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')
20241007@171239.5497 enk8llj202sruiedq2nse8girk 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
20241007@171239.5531 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5534 enk8llj202sruiedq2nse8girk Query : select top 1 ~inactivo valor from cl where no = '102503' and estab = 0 order by inactivo desc
20241007@171239.5714 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5719 enk8llj202sruiedq2nse8girk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241007@171239.5749 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5752 enk8llj202sruiedq2nse8girk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241007@171239.5792 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5794 enk8llj202sruiedq2nse8girk Query : select szadrsstamp valor from szadrs where szadrsdesc='bruno miguel dias branco, unipessoal lda.'
20241007@171239.5865 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.5869 enk8llj202sruiedq2nse8girk Query : select 1 valor from td where ndoc = 39
20241007@171239.5882 enk8llj202sruiedq2nse8girk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241007@171239.5896 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.5913 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171239.5935 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.5955 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171239.5984 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.6001 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171239.6013 enk8llj202sruiedq2nse8girk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171239.6081 enk8llj202sruiedq2nse8girk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241007@171239.6093 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.6109 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241007@171239.6137 enk8llj202sruiedq2nse8girk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67040931516704087792' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241007@171239.6289 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.6307 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241007@171239.6351 enk8llj202sruiedq2nse8girk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241007@171239.6362 enk8llj202sruiedq2nse8girk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241007@171239.6375 enk8llj202sruiedq2nse8girk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241007@171239.6391 enk8llj202sruiedq2nse8girk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241007@171239.6403 enk8llj202sruiedq2nse8girk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241007@171239.6414 enk8llj202sruiedq2nse8girk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241007@171239.6442 enk8llj202sruiedq2nse8girk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67040931516704087792',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241007@171239.6653 enk8llj202sruiedq2nse8girk Query : select top 1 fno valor from wsftdata order by fno desc
20241007@171239.6679 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.6703 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241007@171239.6725 enk8llj202sruiedq2nse8girk Query : select 'normal' from dummy
20241007@171239.6772 enk8llj202sruiedq2nse8girk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67040931516704087792',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1133,102503,0,'2024-10-07',39,'euro',0,0,2024 ,?,?)
20241007@171239.7033 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.7076 enk8llj202sruiedq2nse8girk Query : select st.usalote valor from st where st.ref = '324.2308.00.1'
20241007@171239.7118 enk8llj202sruiedq2nse8girk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2308.00.1'
20241007@171239.7269 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.7287 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.7313 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.7329 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.7338 enk8llj202sruiedq2nse8girk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241007@171239.7351 enk8llj202sruiedq2nse8girk Query : select sestamp valor from se where ref ='324.2308.00.1' and lote = 'r2400475700a'
20241007@171239.7366 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.7382 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241007@171239.7394 enk8llj202sruiedq2nse8girk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut670404877667040877b3','aut67040931516704087792' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241007@171239.7399 enk8llj202sruiedq2nse8girk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241007@171239.7415 enk8llj202sruiedq2nse8girk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241007@171239.7443 enk8llj202sruiedq2nse8girk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut670404877667040877b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67040931516704087792' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241007@171239.7660 enk8llj202sruiedq2nse8girk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67040931516704087792','2406535','wait',39,'adm09112754980.682000002')
20241007@171239.7728 enk8llj202sruiedq2nse8girk Query : use flama_phc
20241007@171239.7733 enk8llj202sruiedq2nse8girk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@171239.7763 enk8llj202sruiedq2nse8girk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2482';
20241007@171239.7795 enk8llj202sruiedq2nse8girk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2482';
20241007@171239.7837 enk8llj202sruiedq2nse8girk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2482';
20241007@171239.7866 enk8llj202sruiedq2nse8girk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2482';
20241007@171912.1199 0qnm4eadupukgnjvh6dr6dv1g9 Query : use flama_phc
20241007@171912.1204 0qnm4eadupukgnjvh6dr6dv1g9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@171912.1346 0qnm4eadupukgnjvh6dr6dv1g9 Query : use flama_phc
20241007@171912.1350 0qnm4eadupukgnjvh6dr6dv1g9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@173612.1060 e9ic9sn6gha7i4noginkotvu89 Query : use flama_phc
20241007@173612.1110 e9ic9sn6gha7i4noginkotvu89 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@173612.1980 e9ic9sn6gha7i4noginkotvu89 Query : use flama_phc
20241007@173612.2020 e9ic9sn6gha7i4noginkotvu89 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@181910.6317 drq97sc1flkesgkdn3gem6l7q9 Query : use flama_phc
20241007@181910.6321 drq97sc1flkesgkdn3gem6l7q9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@181910.6412 drq97sc1flkesgkdn3gem6l7q9 Query : use flama_phc
20241007@181910.6415 drq97sc1flkesgkdn3gem6l7q9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@183610.6514 sbb5vejvg49m8m4nlv949k2cph Query : use flama_phc
20241007@183610.6519 sbb5vejvg49m8m4nlv949k2cph Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@183610.6598 sbb5vejvg49m8m4nlv949k2cph Query : use flama_phc
20241007@183610.6601 sbb5vejvg49m8m4nlv949k2cph Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@191910.7785 8j2si2d7j8qq2tsirimvru3bm9 Query : use flama_phc
20241007@191910.7789 8j2si2d7j8qq2tsirimvru3bm9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@191910.7894 8j2si2d7j8qq2tsirimvru3bm9 Query : use flama_phc
20241007@191910.7897 8j2si2d7j8qq2tsirimvru3bm9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@193610.7831 2orajvq7reicbnn13blco4qcg8 Query : use flama_phc
20241007@193610.7835 2orajvq7reicbnn13blco4qcg8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@193610.7922 2orajvq7reicbnn13blco4qcg8 Query : use flama_phc
20241007@193610.7925 2orajvq7reicbnn13blco4qcg8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@201934.8871 pcoh36glpbphg3ovil91shio85 Query : use flama_phc
20241007@201934.8876 pcoh36glpbphg3ovil91shio85 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@201934.8997 pcoh36glpbphg3ovil91shio85 Query : use flama_phc
20241007@201934.9041 pcoh36glpbphg3ovil91shio85 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@201935.2100 nbb2tpor72dk6mck0vm98emecl Query : use flama_phc
20241007@201935.2500 nbb2tpor72dk6mck0vm98emecl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@201935.1050 nbb2tpor72dk6mck0vm98emecl Query : use flama_phc
20241007@201935.1080 nbb2tpor72dk6mck0vm98emecl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@203617.7551 ojvhfk4jja9citobhd4clu6kup Query : use flama_phc
20241007@203617.7556 ojvhfk4jja9citobhd4clu6kup Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@203617.7757 ojvhfk4jja9citobhd4clu6kup Query : use flama_phc
20241007@203617.7762 ojvhfk4jja9citobhd4clu6kup Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@211910.6106 f0t0pkn2ubbk6cbo5hh1oq0135 Query : use flama_phc
20241007@211910.6111 f0t0pkn2ubbk6cbo5hh1oq0135 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@211910.6205 f0t0pkn2ubbk6cbo5hh1oq0135 Query : use flama_phc
20241007@211910.6208 f0t0pkn2ubbk6cbo5hh1oq0135 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@213611.1850 v1t5v2eklvm28oc2safeobd0be Query : use flama_phc
20241007@213611.1854 v1t5v2eklvm28oc2safeobd0be Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@213611.1946 v1t5v2eklvm28oc2safeobd0be Query : use flama_phc
20241007@213611.1949 v1t5v2eklvm28oc2safeobd0be Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@221911.9684 c2m0icbmr88s4rh9alea5go8pu Query : use flama_phc
20241007@221911.9688 c2m0icbmr88s4rh9alea5go8pu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@221911.9786 c2m0icbmr88s4rh9alea5go8pu Query : use flama_phc
20241007@221911.9789 c2m0icbmr88s4rh9alea5go8pu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@223612.5159 bgm2edk8g7gmb1b9rnckluhain Query : use flama_phc
20241007@223612.5164 bgm2edk8g7gmb1b9rnckluhain Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@223612.5248 bgm2edk8g7gmb1b9rnckluhain Query : use flama_phc
20241007@223612.5251 bgm2edk8g7gmb1b9rnckluhain Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@231910.8497 moqb36q2vnusrjf1561lc7sof6 Query : use flama_phc
20241007@231910.8502 moqb36q2vnusrjf1561lc7sof6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@231910.8594 moqb36q2vnusrjf1561lc7sof6 Query : use flama_phc
20241007@231910.8597 moqb36q2vnusrjf1561lc7sof6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241007@233610.5157 6n0h389n68922bkbeu1gdmpcue Query : use flama_phc
20241007@233610.5164 6n0h389n68922bkbeu1gdmpcue Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241007@233610.5253 6n0h389n68922bkbeu1gdmpcue Query : use flama_phc
20241007@233610.5257 6n0h389n68922bkbeu1gdmpcue Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241008@071912.1110 67jn3msnrqhn1ukpo53iblp9vv Query : use flama_phc
20241008@071912.1115 67jn3msnrqhn1ukpo53iblp9vv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241008@071912.1260 67jn3msnrqhn1ukpo53iblp9vv Query : use flama_phc
20241008@071912.1263 67jn3msnrqhn1ukpo53iblp9vv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241008@073647.3330 kftj9186h8d1o4da2814d0ub0j Query : use flama_phc
20241008@073647.3380 kftj9186h8d1o4da2814d0ub0j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241008@073647.5000 kftj9186h8d1o4da2814d0ub0j Query : use flama_phc
20241008@073647.5060 kftj9186h8d1o4da2814d0ub0j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241008@081909.7375 lo1n00fqlqkk259m0rkul814f1 Query : use flama_phc
20241008@081909.7379 lo1n00fqlqkk259m0rkul814f1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241008@081909.7595 lo1n00fqlqkk259m0rkul814f1 Query : use flama_phc
20241008@081909.7599 lo1n00fqlqkk259m0rkul814f1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241008@083610.1571 kqmkgsgpnqir8mptucj2oorvhh Query : use flama_phc
20241008@083610.1575 kqmkgsgpnqir8mptucj2oorvhh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241008@083610.1665 kqmkgsgpnqir8mptucj2oorvhh Query : use flama_phc
20241008@083610.1669 kqmkgsgpnqir8mptucj2oorvhh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241008@091911.5646 nhu13d2g88efrm1o0aeaof5ua2 Query : use flama_phc
20241008@091911.5688 nhu13d2g88efrm1o0aeaof5ua2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241008@091911.6073 nhu13d2g88efrm1o0aeaof5ua2 Query : use flama_phc
20241008@091911.6076 nhu13d2g88efrm1o0aeaof5ua2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241008@093612.1050 it79knpm928d4qh1p8c3djbau1 Query : use flama_phc
20241008@093612.1055 it79knpm928d4qh1p8c3djbau1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241008@093612.1137 it79knpm928d4qh1p8c3djbau1 Query : use flama_phc
20241008@093612.1140 it79knpm928d4qh1p8c3djbau1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241008@095101.8685 0fohuqqg5vtbiodp87riirj28g Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241008@095101.8718 0fohuqqg5vtbiodp87riirj28g Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241008@095101.8934 0fohuqqg5vtbiodp87riirj28g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2483';
20241008@095101.8992 0fohuqqg5vtbiodp87riirj28g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2483';
20241008@095101.9059 0fohuqqg5vtbiodp87riirj28g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2483';
20241008@095101.9085 0fohuqqg5vtbiodp87riirj28g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2483';
20241008@095101.9139 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095101.9142 0fohuqqg5vtbiodp87riirj28g Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241008@095101.9254 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095101.9257 0fohuqqg5vtbiodp87riirj28g Query : select no, estab,szadrsdesc from szadrs where u_coddest=7778
20241008@095101.9336 0fohuqqg5vtbiodp87riirj28g 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'
20241008@095101.9480 0fohuqqg5vtbiodp87riirj28g 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'
20241008@095101.9499 0fohuqqg5vtbiodp87riirj28g 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'
20241008@095101.9518 0fohuqqg5vtbiodp87riirj28g 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'
20241008@095101.9537 0fohuqqg5vtbiodp87riirj28g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1405.00.1'
20241008@095101.9674 0fohuqqg5vtbiodp87riirj28g Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20241008@095101.9800 0fohuqqg5vtbiodp87riirj28g 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'
20241008@095101.9935 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095101.9939 0fohuqqg5vtbiodp87riirj28g Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241008@095102.1100 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.1130 0fohuqqg5vtbiodp87riirj28g Query : select top 1 1 valor from td where td.ndoc = 39
20241008@095102.1960 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.1990 0fohuqqg5vtbiodp87riirj28g 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')
20241008@095102.2680 0fohuqqg5vtbiodp87riirj28g 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
20241008@095102.3960 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.3990 0fohuqqg5vtbiodp87riirj28g Query : select top 1 ~inactivo valor from cl where no = '200250' and estab = 0 order by inactivo desc
20241008@095102.5100 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.5130 0fohuqqg5vtbiodp87riirj28g Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241008@095102.5940 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.5970 0fohuqqg5vtbiodp87riirj28g Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241008@095102.6630 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.6670 0fohuqqg5vtbiodp87riirj28g Query : select szadrsstamp valor from szadrs where szadrsdesc='bonfilex sa-entrega'
20241008@095102.7160 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.7190 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from td where ndoc = 39
20241008@095102.7840 0fohuqqg5vtbiodp87riirj28g Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241008@095102.8460 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.1143 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241008@095102.1219 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.1234 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241008@095102.1263 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.1277 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241008@095102.1291 0fohuqqg5vtbiodp87riirj28g Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241008@095102.1485 0fohuqqg5vtbiodp87riirj28g Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241008@095102.1676 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.1693 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241008@095102.1740 0fohuqqg5vtbiodp87riirj28g Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6704f089666704f2761f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241008@095102.2025 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.2042 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241008@095102.2077 0fohuqqg5vtbiodp87riirj28g Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241008@095102.2172 0fohuqqg5vtbiodp87riirj28g Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241008@095102.2252 0fohuqqg5vtbiodp87riirj28g Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241008@095102.2326 0fohuqqg5vtbiodp87riirj28g Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241008@095102.2394 0fohuqqg5vtbiodp87riirj28g Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241008@095102.3740 0fohuqqg5vtbiodp87riirj28g Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241008@095102.3841 0fohuqqg5vtbiodp87riirj28g Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6704f089666704f2761f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241008@095102.4515 0fohuqqg5vtbiodp87riirj28g Query : select top 1 fno valor from wsftdata order by fno desc
20241008@095102.4578 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.4593 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241008@095102.4618 0fohuqqg5vtbiodp87riirj28g Query : select 'normal' from dummy
20241008@095102.4662 0fohuqqg5vtbiodp87riirj28g Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6704f089666704f2761f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1134,200250,0,'2024-10-08',39,'euro',0,0,2024 ,?,?)
20241008@095102.5037 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.5040 0fohuqqg5vtbiodp87riirj28g Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241008@095102.5155 0fohuqqg5vtbiodp87riirj28g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241008@095102.5292 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.5308 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241008@095102.5333 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.5347 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241008@095102.5356 0fohuqqg5vtbiodp87riirj28g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241008@095102.5394 0fohuqqg5vtbiodp87riirj28g Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20241008@095102.5451 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.5465 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241008@095102.5478 0fohuqqg5vtbiodp87riirj28g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704f480056704f27685','aut6704f089666704f2761f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241008@095102.5532 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.5547 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241008@095102.5576 0fohuqqg5vtbiodp87riirj28g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6704f480056704f27685',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6704f089666704f2761f' ,0,0 ,2,23.00,10000,?,?,?,?)
20241008@095102.6137 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.6140 0fohuqqg5vtbiodp87riirj28g Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241008@095102.6159 0fohuqqg5vtbiodp87riirj28g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241008@095102.6173 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.6188 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241008@095102.6213 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.6227 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241008@095102.6235 0fohuqqg5vtbiodp87riirj28g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241008@095102.6247 0fohuqqg5vtbiodp87riirj28g Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230738'
20241008@095102.6271 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.6285 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241008@095102.6296 0fohuqqg5vtbiodp87riirj28g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6704f486966704f27699','aut6704f089666704f2761f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241008@095102.6300 0fohuqqg5vtbiodp87riirj28g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241008@095102.6314 0fohuqqg5vtbiodp87riirj28g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241008@095102.6340 0fohuqqg5vtbiodp87riirj28g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut6704f486966704f27699',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6704f089666704f2761f' ,0,0 ,2,23.00,20000,?,?,?,?)
20241008@095102.6547 0fohuqqg5vtbiodp87riirj28g Query : use flama_phc
20241008@095102.6550 0fohuqqg5vtbiodp87riirj28g Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241008@095102.6568 0fohuqqg5vtbiodp87riirj28g Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
