20240903@182537.1073 32on249tqjn9rknbb5m29tdstf INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240903@182537.1072 32on249tqjn9rknbb5m29tdstf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182537.1087 32on249tqjn9rknbb5m29tdstf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182537.1099 32on249tqjn9rknbb5m29tdstf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182537.1112 32on249tqjn9rknbb5m29tdstf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d745434066d7469110',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182537.1363 32on249tqjn9rknbb5m29tdstf Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182537.1386 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.1446 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182537.2583 32on249tqjn9rknbb5m29tdstf Query : select 'normal' from dummy
20240903@182537.2600 32on249tqjn9rknbb5m29tdstf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d745434066d7469110',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',588,102155,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182537.3197 32on249tqjn9rknbb5m29tdstf Query : use flama_phc
20240903@182537.3201 32on249tqjn9rknbb5m29tdstf Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20240903@182537.3221 32on249tqjn9rknbb5m29tdstf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20240903@182537.3235 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3251 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.3277 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3291 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.3299 32on249tqjn9rknbb5m29tdstf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182537.3311 32on249tqjn9rknbb5m29tdstf Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20240903@182537.3324 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3338 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.3349 32on249tqjn9rknbb5m29tdstf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746843266d7469151','aut66d745434066d7469110' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182537.3353 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3367 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.3392 32on249tqjn9rknbb5m29tdstf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746843266d7469151',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66d745434066d7469110' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182537.3784 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3801 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.3827 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3842 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.3850 32on249tqjn9rknbb5m29tdstf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182537.3862 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3876 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.3887 32on249tqjn9rknbb5m29tdstf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740131766d746915e','aut66d745434066d7469110' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182537.3892 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.3906 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.3933 32on249tqjn9rknbb5m29tdstf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d740131766d746915e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d745434066d7469110' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182537.4196 32on249tqjn9rknbb5m29tdstf Query : use flama_phc
20240903@182537.4199 32on249tqjn9rknbb5m29tdstf Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20240903@182537.4218 32on249tqjn9rknbb5m29tdstf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20240903@182537.4231 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.4246 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.4271 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.4284 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.4293 32on249tqjn9rknbb5m29tdstf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182537.4305 32on249tqjn9rknbb5m29tdstf Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20240903@182537.4317 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.4331 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.4342 32on249tqjn9rknbb5m29tdstf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740577366d7469169','aut66d745434066d7469110' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182537.4347 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.4582 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.4757 32on249tqjn9rknbb5m29tdstf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740577366d7469169',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d745434066d7469110' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182537.5035 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5051 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.5076 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5090 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.5099 32on249tqjn9rknbb5m29tdstf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182537.5110 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5124 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.5135 32on249tqjn9rknbb5m29tdstf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744904066d746917c','aut66d745434066d7469110' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182537.5139 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5152 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.5178 32on249tqjn9rknbb5m29tdstf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d744904066d746917c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d745434066d7469110' ,0,0 ,2,23.00,50000,?,?,?)
20240903@182537.5441 32on249tqjn9rknbb5m29tdstf Query : use flama_phc
20240903@182537.5444 32on249tqjn9rknbb5m29tdstf Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20240903@182537.5463 32on249tqjn9rknbb5m29tdstf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20240903@182537.5476 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5491 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.5514 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5528 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.5536 32on249tqjn9rknbb5m29tdstf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182537.5548 32on249tqjn9rknbb5m29tdstf Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20240903@182537.5560 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5576 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182537.5588 32on249tqjn9rknbb5m29tdstf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744304266d7469187','aut66d745434066d7469110' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182537.5592 32on249tqjn9rknbb5m29tdstf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.5606 32on249tqjn9rknbb5m29tdstf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182537.5632 32on249tqjn9rknbb5m29tdstf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744304266d7469187',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d745434066d7469110' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240903@182537.5876 32on249tqjn9rknbb5m29tdstf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d745434066d7469110','2405712','wait',39,'adm09112754980.682000002')
20240903@182537.5952 32on249tqjn9rknbb5m29tdstf Query : use flama_phc
20240903@182537.5956 32on249tqjn9rknbb5m29tdstf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182537.5988 32on249tqjn9rknbb5m29tdstf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1810';
20240903@182537.6023 32on249tqjn9rknbb5m29tdstf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1810';
20240903@182537.6065 32on249tqjn9rknbb5m29tdstf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1810';
20240903@182537.6095 32on249tqjn9rknbb5m29tdstf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1810';
20240903@182537.6645 bc00t1srsoch4qv2c9or4um8nf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182537.6656 bc00t1srsoch4qv2c9or4um8nf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182537.6717 bc00t1srsoch4qv2c9or4um8nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1811';
20240903@182537.6774 bc00t1srsoch4qv2c9or4um8nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1811';
20240903@182537.6826 bc00t1srsoch4qv2c9or4um8nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1811';
20240903@182537.6852 bc00t1srsoch4qv2c9or4um8nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1811';
20240903@182537.6901 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.6904 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182537.6971 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.6974 bc00t1srsoch4qv2c9or4um8nf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240903@182537.7058 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240903@182537.7229 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405713 and bi.ref ='324.736.00.01' and bi.lordem =1
20240903@182537.7612 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240903@182537.7634 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405713 and bi.ref ='324.736.00.01' and bi.lordem =1
20240903@182537.7651 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240903@182537.7671 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405713 and bi.ref ='324.736.00.01' and bi.lordem =1
20240903@182537.7689 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240903@182537.7708 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405713 and bi.ref ='324.736.00.01' and bi.lordem =1
20240903@182537.7727 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240903@182537.7745 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405713 and bi.ref ='324.736.00.01' and bi.lordem =1
20240903@182537.7762 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.7765 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182537.7797 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.7800 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182537.7831 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.7833 bc00t1srsoch4qv2c9or4um8nf 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')
20240903@182537.7862 bc00t1srsoch4qv2c9or4um8nf 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
20240903@182537.7895 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.7900 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240903@182537.7929 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.7932 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182537.7963 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.7966 bc00t1srsoch4qv2c9or4um8nf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182537.8008 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.8011 bc00t1srsoch4qv2c9or4um8nf Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240903@182537.8062 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182537.8065 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from td where ndoc = 39
20240903@182537.9042 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182537.9216 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.9233 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182537.9264 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.9278 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182537.9304 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.9318 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182537.9329 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182537.9398 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182537.9411 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.9425 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182537.9439 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d746862766d74691e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182537.9624 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182537.9639 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182537.9671 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182537.9683 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182537.9693 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182537.9706 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182537.9717 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182537.9728 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182537.9739 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d746862766d74691e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182537.9985 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182538.1200 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.3200 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182538.5600 bc00t1srsoch4qv2c9or4um8nf Query : select 'normal' from dummy
20240903@182538.7100 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d746862766d74691e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',589,100810,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182538.3920 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182538.3950 bc00t1srsoch4qv2c9or4um8nf Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240903@182538.4220 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240903@182538.5880 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.6050 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.6300 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.6450 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.6530 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182538.6650 bc00t1srsoch4qv2c9or4um8nf Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240903@182538.6780 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.6930 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.7060 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745939966d7469210','aut66d746862766d74691e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182538.7100 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.7250 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.7540 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745939966d7469210',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66d746862766d74691e3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182538.1013 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182538.1016 bc00t1srsoch4qv2c9or4um8nf Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240903@182538.1036 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240903@182538.1049 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1066 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.1092 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1107 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.1116 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182538.1128 bc00t1srsoch4qv2c9or4um8nf Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240903@182538.1140 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1155 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.1167 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746903966d746921b','aut66d746862766d74691e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182538.1171 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1185 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.1214 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746903966d746921b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut66d746862766d74691e3' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182538.1717 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182538.1720 bc00t1srsoch4qv2c9or4um8nf Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240903@182538.1740 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240903@182538.1756 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1777 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.1802 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1815 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.1823 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182538.1834 bc00t1srsoch4qv2c9or4um8nf Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240903@182538.1846 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1860 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.1872 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742267566d746922d','aut66d746862766d74691e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182538.1876 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.1891 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.1920 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742267566d746922d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut66d746862766d74691e3' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240903@182538.2189 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182538.2192 bc00t1srsoch4qv2c9or4um8nf Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240903@182538.2213 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240903@182538.2227 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2243 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.2269 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2284 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.2292 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182538.2305 bc00t1srsoch4qv2c9or4um8nf Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240903@182538.2320 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2337 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.2349 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744148066d7469238','aut66d746862766d74691e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182538.2353 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2368 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.2396 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744148066d7469238',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut66d746862766d74691e3' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182538.2723 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182538.2726 bc00t1srsoch4qv2c9or4um8nf Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240903@182538.2746 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240903@182538.2761 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2778 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.2806 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2820 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.2829 bc00t1srsoch4qv2c9or4um8nf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182538.2841 bc00t1srsoch4qv2c9or4um8nf Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240903@182538.2854 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2868 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182538.2880 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745475166d7469245','aut66d746862766d74691e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182538.2884 bc00t1srsoch4qv2c9or4um8nf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182538.2899 bc00t1srsoch4qv2c9or4um8nf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182538.2927 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745475166d7469245',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut66d746862766d74691e3' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240903@182538.3183 bc00t1srsoch4qv2c9or4um8nf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d746862766d74691e3','2405713','wait',39,'adm09112754980.682000002')
20240903@182538.3259 bc00t1srsoch4qv2c9or4um8nf Query : use flama_phc
20240903@182538.3262 bc00t1srsoch4qv2c9or4um8nf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182538.3537 bc00t1srsoch4qv2c9or4um8nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1811';
20240903@182538.4714 bc00t1srsoch4qv2c9or4um8nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1811';
20240903@182538.4763 bc00t1srsoch4qv2c9or4um8nf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1811';
20240903@182538.4796 bc00t1srsoch4qv2c9or4um8nf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1811';
20240903@182538.5515 0il40ps8efqcbgqc1oi0rf3gke Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182538.5526 0il40ps8efqcbgqc1oi0rf3gke Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182538.5589 0il40ps8efqcbgqc1oi0rf3gke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1812';
20240903@182538.5647 0il40ps8efqcbgqc1oi0rf3gke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1812';
20240903@182538.5703 0il40ps8efqcbgqc1oi0rf3gke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1812';
20240903@182538.5731 0il40ps8efqcbgqc1oi0rf3gke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1812';
20240903@182538.5792 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182538.5795 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182538.5863 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182538.5866 0il40ps8efqcbgqc1oi0rf3gke Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20240903@182538.5908 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20240903@182538.6164 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.1706.00.1' and bi.lordem =1
20240903@182538.6488 0il40ps8efqcbgqc1oi0rf3gke 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'
20240903@182538.6511 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='304.421.00.04' and bi.lordem =2
20240903@182538.6819 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.551.00.15'
20240903@182538.6990 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='325.551.00.15' and bi.lordem =3
20240903@182538.7321 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20240903@182538.7479 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.1716.00.1' and bi.lordem =4
20240903@182538.7797 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240903@182538.8041 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.5540.00.1' and bi.lordem =5
20240903@182538.8384 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240903@182538.8407 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.5540.00.1' and bi.lordem =5
20240903@182538.8423 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240903@182538.8579 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='304.4860.00.1' and bi.lordem =6
20240903@182538.8897 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240903@182538.8917 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='304.4860.00.1' and bi.lordem =6
20240903@182538.8933 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240903@182538.9096 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4902.00.1' and bi.lordem =7
20240903@182538.9527 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240903@182538.9693 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4906.00.1' and bi.lordem =8
20240903@182539.2790 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240903@182539.1505 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4521.00.1' and bi.lordem =9
20240903@182539.1999 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240903@182539.2022 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4521.00.1' and bi.lordem =9
20240903@182539.2039 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20240903@182539.2061 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.2066.00.1' and bi.lordem =10
20240903@182539.2372 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240903@182539.2621 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.969.00.01' and bi.lordem =11
20240903@182539.2945 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240903@182539.2965 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.969.00.01' and bi.lordem =11
20240903@182539.2983 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20240903@182539.3143 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4964.00.1' and bi.lordem =12
20240903@182539.3462 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20240903@182539.3615 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4963.00.1' and bi.lordem =13
20240903@182539.3931 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240903@182539.3950 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.2221.00.1' and bi.lordem =15
20240903@182539.4254 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240903@182539.4275 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.2221.00.1' and bi.lordem =15
20240903@182539.4292 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20240903@182539.4449 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4961.00.1' and bi.lordem =16
20240903@182539.4849 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240903@182539.5005 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.2223.00.1' and bi.lordem =17
20240903@182539.5369 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240903@182539.5391 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.2222.00.1' and bi.lordem =18
20240903@182539.5710 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240903@182539.5731 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.2224.00.1' and bi.lordem =19
20240903@182539.6033 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240903@182539.6054 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.2224.00.1' and bi.lordem =19
20240903@182539.6070 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1426.00.1'
20240903@182539.6232 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.1426.00.1' and bi.lordem =20
20240903@182539.6548 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1426.00.1'
20240903@182539.6568 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.1426.00.1' and bi.lordem =20
20240903@182539.6586 0il40ps8efqcbgqc1oi0rf3gke 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'
20240903@182539.6736 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4980.00.1' and bi.lordem =21
20240903@182539.7077 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240903@182539.7238 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.5501.00.1' and bi.lordem =22
20240903@182539.7565 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20240903@182539.7729 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4585.00.1' and bi.lordem =23
20240903@182539.8054 0il40ps8efqcbgqc1oi0rf3gke 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'
20240903@182539.8225 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405714 and bi.ref ='324.4840.00.1' and bi.lordem =24
20240903@182539.8570 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182539.8574 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182539.8651 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182539.8660 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182539.8953 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182539.8958 0il40ps8efqcbgqc1oi0rf3gke 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')
20240903@182539.9011 0il40ps8efqcbgqc1oi0rf3gke 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
20240903@182540.2540 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.2570 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20240903@182540.2900 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.2940 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182540.3250 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.3280 0il40ps8efqcbgqc1oi0rf3gke Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182540.3690 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.3730 0il40ps8efqcbgqc1oi0rf3gke Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20240903@182540.4190 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.4230 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from td where ndoc = 39
20240903@182540.4350 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182540.4480 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.4650 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182540.4830 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.4970 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182540.5240 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5390 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182540.5530 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182540.6230 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182540.6350 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.6490 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182540.6640 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182540.8450 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.8600 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182540.8910 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182540.9030 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182540.9160 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182540.9280 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182540.9400 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182540.9520 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182540.9630 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d747372566d746940d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182540.1214 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182540.1237 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.1253 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182540.1275 0il40ps8efqcbgqc1oi0rf3gke Query : select 'normal' from dummy
20240903@182540.1292 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d747372566d746940d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',590,199510,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182540.1727 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.1730 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20240903@182540.1755 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1706.00.1'
20240903@182540.1914 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.1929 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.1955 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.1970 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.1979 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.1991 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20240903@182540.2005 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.2020 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.2032 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742026666d7469430','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.2036 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.2050 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.2078 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742026666d7469430',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182540.2369 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.2372 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240903@182540.2392 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240903@182540.2406 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.2422 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.2490 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.2787 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.2796 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.2809 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240903@182540.2822 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.2838 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.2850 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746039066d7469444','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.2855 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.2869 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.2897 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746039066d7469444',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182540.3162 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3177 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.3202 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3217 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.3225 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.3237 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3252 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.3264 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741306966d746944f','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.3268 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3282 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.3310 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d741306966d746944f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,30000,?,?,?)
20240903@182540.3541 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.3544 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '325.551.00.15'
20240903@182540.3564 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.551.00.15'
20240903@182540.3717 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3732 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.3758 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3772 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.3783 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.3796 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='325.551.00.15' and lote = 'r210109070'
20240903@182540.3810 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3825 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.3836 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747504466d746945d','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.3840 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.3855 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.3883 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747504466d746945d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',54.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240903@182540.4180 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.4196 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.4224 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.4552 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.4562 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.4577 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.4593 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.4606 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746969466d746946f','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.4611 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.4626 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.4654 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d746969466d746946f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,60000,?,?,?)
20240903@182540.4923 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.4925 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20240903@182540.4946 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1716.00.1'
20240903@182540.5098 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5114 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.5138 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5153 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.5161 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.5173 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20240903@182540.5200 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5214 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.5225 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744864166d746947e','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.5229 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5243 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.5269 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744864166d746947e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240903@182540.5520 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.5523 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240903@182540.5543 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240903@182540.5689 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5705 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.5729 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5742 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.5751 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.5762 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240903@182540.5791 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5805 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.5882 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747722666d746948d','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.5886 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.5903 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.5931 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747722666d746948d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240903@182540.7145 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.7167 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240903@182540.7188 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240903@182540.7331 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.7347 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.7370 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.7383 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.7391 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.7403 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240903@182540.7415 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.7429 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.7439 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742682666d74694b5','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.7444 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.7459 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.7485 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742682666d74694b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240903@182540.7756 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.7759 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240903@182540.7778 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4860.00.1'
20240903@182540.7930 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.7945 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.7969 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.7983 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.7991 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.8009 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240903@182540.8028 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.8042 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.8053 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740411766d74694c4','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.8057 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.8071 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.8098 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740411766d74694c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240903@182540.8369 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.8372 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240903@182540.8391 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4860.00.1'
20240903@182540.8406 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.8421 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.8446 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.8460 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.8468 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.8480 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240903@182540.8492 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.8507 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.8518 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743806766d74694cf','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.8522 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.8539 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.8566 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743806766d74694cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240903@182540.8906 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.8909 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240903@182540.8930 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240903@182540.9078 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9093 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.9117 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9131 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.9139 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.9151 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240903@182540.9166 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9180 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.9197 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746444066d74694df','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.9201 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9215 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.9243 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746444066d74694df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240903@182540.9503 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9518 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.9543 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9558 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.9566 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182540.9577 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9591 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182540.9602 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747048466d74694e9','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182540.9606 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182540.9619 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182540.9645 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747048466d74694e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,140000,?,?,?)
20240903@182540.9893 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182540.9896 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240903@182540.9915 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240903@182541.6300 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.7900 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.1070 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1430 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.1510 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.1620 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240903@182541.1750 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1900 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.2020 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747635766d7469504','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.2060 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2210 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.2470 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747635766d7469504',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240903@182541.5170 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.5330 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.5580 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.5720 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.5800 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.5910 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.6050 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.6160 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740156566d746950e','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.6200 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.6340 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.6610 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d740156566d746950e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,170000,?,?,?)
20240903@182541.9170 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.9200 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240903@182541.9390 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20240903@182541.1089 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1104 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.1127 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1141 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.1149 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.1161 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240903@182541.1214 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1310 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.1321 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748905566d746951d','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.1325 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1339 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.1365 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748905566d746951d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240903@182541.1902 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.1905 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240903@182541.1924 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20240903@182541.1940 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1957 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.1981 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.1995 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.2004 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.2016 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240903@182541.2027 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2042 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.2053 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745113966d7469531','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.2057 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2070 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.2096 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745113966d7469531',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20240903@182541.2346 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.2349 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20240903@182541.2367 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20240903@182541.2380 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2394 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.2418 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2432 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.2440 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.2451 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20240903@182541.2483 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2497 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.2508 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748100366d746953c','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.2513 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2526 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.2555 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748100366d746953c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20240903@182541.2901 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2921 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.2950 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.2967 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.2976 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.2988 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.3006 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.3017 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747888866d7469548','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.3021 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.3035 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.3061 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747888866d7469548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,220000,?,?,?)
20240903@182541.3313 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.3316 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20240903@182541.3336 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20240903@182541.3524 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.3619 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.3643 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.3657 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.3665 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.3676 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20240903@182541.3689 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.3704 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.3715 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745357966d746955a','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.3719 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.3733 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.3760 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745357966d746955a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20240903@182541.4043 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.4054 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20240903@182541.4072 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20240903@182541.4086 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4101 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.4126 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4140 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.4149 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.4160 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20240903@182541.4172 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4185 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.4196 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748841766d7469565','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.4200 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4214 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.4239 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748841766d7469565',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240903@182541.4513 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.4516 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20240903@182541.4536 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20240903@182541.4696 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4712 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.4735 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4750 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.4758 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.4769 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20240903@182541.4792 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4806 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.4818 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740329966d7469575','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.4822 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.4835 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.4862 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740329966d7469575',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20240903@182541.5116 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.5119 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20240903@182541.5138 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4963.00.1'
20240903@182541.5290 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.5305 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.5328 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.5342 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.5351 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.5362 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20240903@182541.5375 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.5389 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.5406 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748361166d7469583','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.5410 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.6546 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.6575 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748361166d7469583',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20240903@182541.6831 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.6834 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240903@182541.6852 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20240903@182541.6865 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.6881 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.6905 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.6921 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.6929 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.6941 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301281300a'
20240903@182541.6953 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.6967 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.6978 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745649366d74695a9','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.6983 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.6997 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.7024 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745649366d74695a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240903@182541.7288 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.7291 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20240903@182541.7310 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20240903@182541.7325 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.7342 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.7370 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.7386 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.7395 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.7408 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20240903@182541.7423 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.7439 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.7451 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748595466d74695b5','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.7456 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.7471 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.7503 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748595466d74695b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20240903@182541.7767 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.7770 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20240903@182541.7792 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20240903@182541.8411 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.8470 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.8578 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.8676 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.8685 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.8700 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20240903@182541.8723 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.8740 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.8753 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749845366d74695d4','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.8757 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.8772 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.8805 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749845366d74695d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20240903@182541.9066 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.9070 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20240903@182541.9091 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20240903@182541.9241 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9258 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.9285 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9302 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.9311 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.9324 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301281500a'
20240903@182541.9339 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9354 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.9367 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746499266d74695e4','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.9371 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9386 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.9417 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746499266d74695e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20240903@182541.9675 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182541.9678 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20240903@182541.9700 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20240903@182541.9715 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9732 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.9758 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9772 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.9781 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182541.9792 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20240903@182541.9804 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9818 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182541.9829 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746715666d74695ef','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182541.9834 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182541.9848 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182541.9875 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746715666d74695ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,320000,?,?,?,?,?)
20240903@182542.1590 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.1620 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240903@182542.1810 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20240903@182542.1940 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.2100 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.2330 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.2470 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.2570 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.2680 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20240903@182542.2800 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.2940 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.3050 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746707766d7469606','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.3090 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.3220 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.3490 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746707766d7469606',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,330000,?,?,?,?,?)
20240903@182542.6340 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.6370 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20240903@182542.6570 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20240903@182542.6700 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.6850 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.7090 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7230 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.7310 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.7430 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20240903@182542.7560 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7710 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.7820 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749190366d7469612','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.7860 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.8000 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.8280 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749190366d7469612',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20240903@182542.1084 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.1087 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.1426.00.1'
20240903@182542.1107 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1426.00.1'
20240903@182542.1256 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.1271 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.1297 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.1311 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.1319 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.1330 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.1426.00.1' and lote = 'r2100465200a'
20240903@182542.1345 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.1358 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.1370 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746720766d7469620','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.1374 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.1388 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.1695 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746720766d7469620',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,350000,?,?,?,?,?)
20240903@182542.1976 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.1993 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.2017 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.2031 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.2039 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.2051 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.2065 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.2076 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747678566d7469632','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.2081 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.2094 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.2121 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747678566d7469632',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,360000,?,?,?)
20240903@182542.2494 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.2987 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.1426.00.1'
20240903@182542.3010 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1426.00.1'
20240903@182542.3024 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.3039 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.3063 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.3077 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.3085 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.3096 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.1426.00.1' and lote = 'r2100465200a'
20240903@182542.3108 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.3121 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.3132 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740923466d746964b','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.3137 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.3151 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.3178 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740923466d746964b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,380000,?,?,?,?,?)
20240903@182542.3457 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.3473 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.3497 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.3511 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.3519 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.4455 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.4696 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.4708 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749553566d746966c','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.4713 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.4728 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.4754 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d749553566d746966c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,390000,?,?,?)
20240903@182542.5012 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.5015 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240903@182542.5037 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182542.5191 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5206 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.5230 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5243 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.5251 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.5262 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240903@182542.5275 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5288 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.5300 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744057466d7469680','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.5304 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5318 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.5344 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744057466d7469680',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,410000,?,?,?,?,?)
20240903@182542.5605 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.5608 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240903@182542.5628 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5501.00.1'
20240903@182542.5773 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5787 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.5811 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5824 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.5832 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.5864 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240903@182542.5877 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5891 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.5901 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748880566d746968f','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.5905 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.5919 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.5945 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748880566d746968f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,420000,?,?,?,?,?)
20240903@182542.6202 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.6212 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4585.00.1'
20240903@182542.6233 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4585.00.1'
20240903@182542.6391 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.6407 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.7076 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7093 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.7102 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.7114 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4585.00.1' and lote = 'r2300381200a'
20240903@182542.7128 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7143 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.7154 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747550066d74696ae','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.7158 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7173 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.7200 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747550066d74696ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20240903@182542.7461 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.7464 0il40ps8efqcbgqc1oi0rf3gke Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20240903@182542.7483 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182542.7635 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7651 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.7698 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7712 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.7721 0il40ps8efqcbgqc1oi0rf3gke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182542.7734 0il40ps8efqcbgqc1oi0rf3gke Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20240903@182542.7749 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7763 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182542.7775 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745756466d74696bd','aut66d747372566d746940d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182542.7779 0il40ps8efqcbgqc1oi0rf3gke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182542.7793 0il40ps8efqcbgqc1oi0rf3gke Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182542.7822 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745756466d74696bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d747372566d746940d' ,0,0 ,2,23.00,440000,?,?,?,?,?)
20240903@182542.8075 0il40ps8efqcbgqc1oi0rf3gke Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d747372566d746940d','2405714','wait',39,'adm09112754980.682000002')
20240903@182542.8166 0il40ps8efqcbgqc1oi0rf3gke Query : use flama_phc
20240903@182542.8169 0il40ps8efqcbgqc1oi0rf3gke Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182542.8199 0il40ps8efqcbgqc1oi0rf3gke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1812';
20240903@182542.8237 0il40ps8efqcbgqc1oi0rf3gke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1812';
20240903@182542.8276 0il40ps8efqcbgqc1oi0rf3gke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1812';
20240903@182542.8301 0il40ps8efqcbgqc1oi0rf3gke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1812';
20240903@182542.9380 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182542.9392 2t5dqidoh76i1q3es5m8s6tdhi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182542.9454 2t5dqidoh76i1q3es5m8s6tdhi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1813';
20240903@182542.9531 2t5dqidoh76i1q3es5m8s6tdhi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1813';
20240903@182542.9592 2t5dqidoh76i1q3es5m8s6tdhi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1813';
20240903@182542.9635 2t5dqidoh76i1q3es5m8s6tdhi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1813';
20240903@182542.9690 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182542.9697 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182542.9761 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182542.9765 2t5dqidoh76i1q3es5m8s6tdhi Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240903@182542.9868 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240903@182543.4100 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405715 and bi.ref ='324.600.94.01' and bi.lordem =1
20240903@182543.3520 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240903@182543.5360 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405715 and bi.ref ='324.2000.94.1' and bi.lordem =2
20240903@182543.8520 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240903@182543.1009 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405715 and bi.ref ='324.900.94.01' and bi.lordem =3
20240903@182543.1931 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240903@182543.1952 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405715 and bi.ref ='324.900.94.01' and bi.lordem =3
20240903@182543.1968 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240903@182543.2134 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405715 and bi.ref ='324.700.94.01' and bi.lordem =4
20240903@182543.2449 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240903@182543.2600 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405715 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240903@182543.2921 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.2924 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182543.2957 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.2960 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182543.2992 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.2994 2t5dqidoh76i1q3es5m8s6tdhi 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')
20240903@182543.3021 2t5dqidoh76i1q3es5m8s6tdhi 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
20240903@182543.3054 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.3057 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240903@182543.3180 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.3182 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182543.3211 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.3214 2t5dqidoh76i1q3es5m8s6tdhi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182543.3251 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.3254 2t5dqidoh76i1q3es5m8s6tdhi Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240903@182543.3299 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.3302 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from td where ndoc = 39
20240903@182543.3315 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182543.3327 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.3343 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182543.3360 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.3991 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182543.4026 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.4041 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182543.4053 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182543.4121 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182543.4133 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.4146 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182543.4161 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182543.4341 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.4355 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182543.4385 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182543.4396 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182543.4407 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182543.4418 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182543.4429 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182543.4440 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182543.4450 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d741004566d7469762',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182543.4923 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182543.5722 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.5739 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182543.5759 2t5dqidoh76i1q3es5m8s6tdhi Query : select 'normal' from dummy
20240903@182543.5774 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d741004566d7469762',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',591,199800,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182543.6068 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.6072 2t5dqidoh76i1q3es5m8s6tdhi Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240903@182543.6095 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20240903@182543.6249 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.6266 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.6293 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.6307 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.6316 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182543.6327 2t5dqidoh76i1q3es5m8s6tdhi Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240903@182543.6340 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.6354 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.6365 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746399366d746979a','aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182543.6369 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.6383 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.6410 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746399366d746979a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d741004566d7469762' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182543.6665 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.6681 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.6706 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.7340 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.7350 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182543.7364 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.7380 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.7392 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748322766d74697b3','aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182543.7396 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.7410 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.7438 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d748322766d74697b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d741004566d7469762' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182543.7708 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.7711 2t5dqidoh76i1q3es5m8s6tdhi Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240903@182543.7732 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240903@182543.7878 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.7893 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.7918 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.7932 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.7940 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182543.7952 2t5dqidoh76i1q3es5m8s6tdhi Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240903@182543.7965 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.7979 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.7991 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743273166d74697c2','aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182543.7995 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.8009 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.8036 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743273166d74697c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66d741004566d7469762' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182543.8287 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.8290 2t5dqidoh76i1q3es5m8s6tdhi Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240903@182543.8310 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240903@182543.8459 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.8475 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.8500 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.8515 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.8524 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182543.8535 2t5dqidoh76i1q3es5m8s6tdhi Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240903@182543.8548 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.8561 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.8572 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740662266d74697d0','aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182543.8576 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.8589 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.8616 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740662266d74697d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66d741004566d7469762' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240903@182543.9404 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.9445 2t5dqidoh76i1q3es5m8s6tdhi Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240903@182543.9469 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240903@182543.9483 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.9500 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.9525 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.9539 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.9547 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182543.9559 2t5dqidoh76i1q3es5m8s6tdhi Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240903@182543.9572 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.9586 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182543.9597 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742234666d74697e9','aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182543.9602 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182543.9616 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182543.9643 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742234666d74697e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d741004566d7469762' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240903@182543.9922 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182543.9925 2t5dqidoh76i1q3es5m8s6tdhi Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240903@182543.9945 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20240903@182544.9600 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.1130 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182544.1390 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.1540 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182544.1620 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182544.1740 2t5dqidoh76i1q3es5m8s6tdhi Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240903@182544.1870 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.2010 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182544.2130 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746828966d7469804','aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182544.2170 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.2300 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182544.2580 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746828966d7469804',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut66d741004566d7469762' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240903@182544.5200 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182544.5230 2t5dqidoh76i1q3es5m8s6tdhi Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240903@182544.5430 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20240903@182544.6970 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.7130 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182544.7460 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.7660 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182544.7750 2t5dqidoh76i1q3es5m8s6tdhi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182544.7880 2t5dqidoh76i1q3es5m8s6tdhi Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240903@182544.8010 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.8160 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182544.8270 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746105566d7469813','aut66d741004566d7469762' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182544.8310 2t5dqidoh76i1q3es5m8s6tdhi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.8450 2t5dqidoh76i1q3es5m8s6tdhi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182544.8710 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746105566d7469813',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut66d741004566d7469762' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240903@182544.1196 2t5dqidoh76i1q3es5m8s6tdhi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d741004566d7469762','2405715','wait',39,'adm09112754980.682000002')
20240903@182544.1268 2t5dqidoh76i1q3es5m8s6tdhi Query : use flama_phc
20240903@182544.1271 2t5dqidoh76i1q3es5m8s6tdhi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182544.1308 2t5dqidoh76i1q3es5m8s6tdhi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1813';
20240903@182544.1344 2t5dqidoh76i1q3es5m8s6tdhi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1813';
20240903@182544.1388 2t5dqidoh76i1q3es5m8s6tdhi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1813';
20240903@182544.1431 2t5dqidoh76i1q3es5m8s6tdhi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1813';
20240903@182544.2423 0g1c8l04o4lqubpkubrtuurc11 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182544.2434 0g1c8l04o4lqubpkubrtuurc11 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182544.2495 0g1c8l04o4lqubpkubrtuurc11 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1814';
20240903@182544.2553 0g1c8l04o4lqubpkubrtuurc11 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1814';
20240903@182544.2606 0g1c8l04o4lqubpkubrtuurc11 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1814';
20240903@182544.2630 0g1c8l04o4lqubpkubrtuurc11 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1814';
20240903@182544.2684 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.2687 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182544.2754 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.2757 0g1c8l04o4lqubpkubrtuurc11 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20240903@182544.2838 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240903@182544.3003 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405716 and bi.ref ='324.1461.00.1' and bi.lordem =1
20240903@182544.3314 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3317 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182544.3351 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3354 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182544.3383 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3386 0g1c8l04o4lqubpkubrtuurc11 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')
20240903@182544.3412 0g1c8l04o4lqubpkubrtuurc11 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
20240903@182544.3445 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3448 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20240903@182544.3582 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3585 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182544.3617 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3619 0g1c8l04o4lqubpkubrtuurc11 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182544.3661 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3664 0g1c8l04o4lqubpkubrtuurc11 Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20240903@182544.3712 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.3714 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from td where ndoc = 39
20240903@182544.3726 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182544.3739 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.3755 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182544.3773 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.3789 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182544.3817 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.3831 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182544.3843 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182544.3911 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182544.3924 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.3938 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182544.3953 0g1c8l04o4lqubpkubrtuurc11 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d743045766d746985d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182544.4180 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.4758 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182544.4790 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182544.5123 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182544.5951 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182544.5964 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182544.5976 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182544.5987 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182544.6000 0g1c8l04o4lqubpkubrtuurc11 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d743045766d746985d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182544.6258 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182544.6287 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.6303 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182544.6325 0g1c8l04o4lqubpkubrtuurc11 Query : select 'normal' from dummy
20240903@182544.6340 0g1c8l04o4lqubpkubrtuurc11 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d743045766d746985d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',592,100800,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182544.6639 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.6642 0g1c8l04o4lqubpkubrtuurc11 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20240903@182544.6663 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20240903@182544.6809 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.6824 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182544.6849 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.6863 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182544.6871 0g1c8l04o4lqubpkubrtuurc11 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182544.6883 0g1c8l04o4lqubpkubrtuurc11 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20240903@182544.6897 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.6911 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182544.6922 0g1c8l04o4lqubpkubrtuurc11 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747720666d74698a8','aut66d743045766d746985d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182544.6926 0g1c8l04o4lqubpkubrtuurc11 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182544.6940 0g1c8l04o4lqubpkubrtuurc11 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182544.6968 0g1c8l04o4lqubpkubrtuurc11 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747720666d74698a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d743045766d746985d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182544.7216 0g1c8l04o4lqubpkubrtuurc11 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d743045766d746985d','2405716','wait',39,'adm09112754980.682000002')
20240903@182544.7288 0g1c8l04o4lqubpkubrtuurc11 Query : use flama_phc
20240903@182544.7291 0g1c8l04o4lqubpkubrtuurc11 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182544.7322 0g1c8l04o4lqubpkubrtuurc11 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1814';
20240903@182544.7358 0g1c8l04o4lqubpkubrtuurc11 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1814';
20240903@182544.7404 0g1c8l04o4lqubpkubrtuurc11 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1814';
20240903@182544.7432 0g1c8l04o4lqubpkubrtuurc11 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1814';
20240903@182544.9157 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182544.9167 lb0d2p90j64ehmm0d757dr3ln9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182544.9233 lb0d2p90j64ehmm0d757dr3ln9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1815';
20240903@182544.9293 lb0d2p90j64ehmm0d757dr3ln9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1815';
20240903@182544.9360 lb0d2p90j64ehmm0d757dr3ln9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1815';
20240903@182544.9385 lb0d2p90j64ehmm0d757dr3ln9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1815';
20240903@182544.9437 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182544.9442 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182544.9505 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182544.9508 lb0d2p90j64ehmm0d757dr3ln9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20240903@182544.9671 lb0d2p90j64ehmm0d757dr3ln9 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'
20240903@182544.9693 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405717 and bi.ref ='324.727.00.01' and bi.lordem =1
20240903@182545.5000 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.5400 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182545.8900 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.9200 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182545.1230 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.1260 lb0d2p90j64ehmm0d757dr3ln9 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')
20240903@182545.1540 lb0d2p90j64ehmm0d757dr3ln9 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
20240903@182545.1900 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.1940 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 ~inactivo valor from cl where no = '100041' and estab = 0 order by inactivo desc
20240903@182545.3200 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.3230 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182545.3560 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.3580 lb0d2p90j64ehmm0d757dr3ln9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182545.3990 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.4020 lb0d2p90j64ehmm0d757dr3ln9 Query : select szadrsstamp valor from szadrs where szadrsdesc='radiobela som, lda'
20240903@182545.4590 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.4620 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from td where ndoc = 39
20240903@182545.4750 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182545.4890 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.5050 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182545.5260 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.5410 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182545.5680 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.5830 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182545.5950 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182545.6640 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182545.6780 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.6930 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182545.7080 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d749315266d746990e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182545.8930 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9090 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182545.9420 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182545.9530 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182545.9640 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182545.9760 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182545.9880 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182545.1000 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182545.1011 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d749315266d746990e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182545.1269 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182545.1297 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.1313 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182545.1337 lb0d2p90j64ehmm0d757dr3ln9 Query : select 'normal' from dummy
20240903@182545.1354 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d749315266d746990e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',593,100041,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182545.1947 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.1950 lb0d2p90j64ehmm0d757dr3ln9 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182545.1973 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182545.1988 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2005 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.2032 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2047 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.2056 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182545.2069 lb0d2p90j64ehmm0d757dr3ln9 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20240903@182545.2083 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2097 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.2109 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749386666d7469932','aut66d749315266d746990e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182545.2113 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2128 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.2156 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749386666d7469932',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66d749315266d746990e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182545.2431 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2447 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.2473 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2488 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.2496 lb0d2p90j64ehmm0d757dr3ln9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182545.2509 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2523 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.2536 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746486866d746993d','aut66d749315266d746990e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182545.2540 lb0d2p90j64ehmm0d757dr3ln9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.2554 lb0d2p90j64ehmm0d757dr3ln9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.2582 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d746486866d746993d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d749315266d746990e' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182545.2844 lb0d2p90j64ehmm0d757dr3ln9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d749315266d746990e','2405717','wait',39,'adm09112754980.682000002')
20240903@182545.3002 lb0d2p90j64ehmm0d757dr3ln9 Query : use flama_phc
20240903@182545.3005 lb0d2p90j64ehmm0d757dr3ln9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182545.3040 lb0d2p90j64ehmm0d757dr3ln9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1815';
20240903@182545.3077 lb0d2p90j64ehmm0d757dr3ln9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1815';
20240903@182545.3121 lb0d2p90j64ehmm0d757dr3ln9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1815';
20240903@182545.3147 lb0d2p90j64ehmm0d757dr3ln9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1815';
20240903@182545.3760 2fvnsfdma02toq56uq45u1ne1e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182545.3774 2fvnsfdma02toq56uq45u1ne1e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182545.3840 2fvnsfdma02toq56uq45u1ne1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1816';
20240903@182545.3898 2fvnsfdma02toq56uq45u1ne1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1816';
20240903@182545.3953 2fvnsfdma02toq56uq45u1ne1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1816';
20240903@182545.3980 2fvnsfdma02toq56uq45u1ne1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1816';
20240903@182545.4031 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.4034 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182545.4106 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.4108 2fvnsfdma02toq56uq45u1ne1e Query : select no, estab,szadrsdesc from szadrs where u_coddest=2159
20240903@182545.4196 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240903@182545.4460 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405718 and bi.ref ='324.646.00.01' and bi.lordem =1
20240903@182545.4803 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.318.09.00'
20240903@182545.4823 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405718 and bi.ref ='323.318.09.00' and bi.lordem =2
20240903@182545.6239 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240903@182545.6467 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405718 and bi.ref ='324.645.00.01' and bi.lordem =3
20240903@182545.6789 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.6794 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182545.6829 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.6832 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182545.6888 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.6891 2fvnsfdma02toq56uq45u1ne1e 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')
20240903@182545.6920 2fvnsfdma02toq56uq45u1ne1e 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
20240903@182545.6955 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.6958 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 ~inactivo valor from cl where no = '100725' and estab = 0 order by inactivo desc
20240903@182545.7089 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.7093 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182545.7123 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.7127 2fvnsfdma02toq56uq45u1ne1e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182545.7168 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.7171 2fvnsfdma02toq56uq45u1ne1e Query : select szadrsstamp valor from szadrs where szadrsdesc='adriano antonio ivo'
20240903@182545.7220 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.7223 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from td where ndoc = 39
20240903@182545.7236 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182545.7251 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.7269 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182545.7289 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.7306 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182545.7345 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.7363 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182545.7378 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182545.7447 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182545.7462 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.7477 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182545.7494 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d744244266d74699b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182545.7709 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.7739 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182545.7773 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182545.7784 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182545.7796 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182545.7810 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182545.7823 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182545.7837 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182545.7850 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d744244266d74699b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182545.8126 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182545.8153 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.8171 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182545.8195 2fvnsfdma02toq56uq45u1ne1e Query : select 'normal' from dummy
20240903@182545.8211 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d744244266d74699b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',594,100725,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182545.8552 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.8555 2fvnsfdma02toq56uq45u1ne1e Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240903@182545.8579 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240903@182545.8728 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.8750 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.8777 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.8793 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.8802 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182545.8814 2fvnsfdma02toq56uq45u1ne1e Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240903@182545.8829 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.8844 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.8858 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747218866d74699d7','aut66d744244266d74699b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182545.8862 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.8877 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.8977 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747218866d74699d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d744244266d74699b4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182545.9327 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9345 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.9374 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9388 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.9397 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182545.9410 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9426 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.9439 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742733766d74699e5','aut66d744244266d74699b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182545.9443 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9458 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.9485 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d742733766d74699e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d744244266d74699b4' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182545.9793 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182545.9797 2fvnsfdma02toq56uq45u1ne1e Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20240903@182545.9817 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20240903@182545.9832 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9848 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.9874 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9889 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.9899 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182545.9911 2fvnsfdma02toq56uq45u1ne1e Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20240903@182545.9924 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9938 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182545.9949 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745924866d74699f2','aut66d744244266d74699b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182545.9953 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182545.9968 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182545.9995 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745924866d74699f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d744244266d74699b4' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182546.2590 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182546.2620 2fvnsfdma02toq56uq45u1ne1e Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20240903@182546.2820 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20240903@182546.5280 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5460 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.5740 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5890 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.6140 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182546.6260 2fvnsfdma02toq56uq45u1ne1e Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2400055200a'
20240903@182546.6390 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.6530 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.6650 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748258366d7469a0f','aut66d744244266d74699b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182546.6700 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.6840 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.7120 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748258366d7469a0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d744244266d74699b4' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240903@182546.1003 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.1019 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.1045 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.1060 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.1068 2fvnsfdma02toq56uq45u1ne1e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182546.1080 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.1095 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.1107 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748759466d7469a1a','aut66d744244266d74699b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182546.1111 2fvnsfdma02toq56uq45u1ne1e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.1126 2fvnsfdma02toq56uq45u1ne1e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.1153 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d748759466d7469a1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d744244266d74699b4' ,0,0 ,2,23.00,60000,?,?,?)
20240903@182546.1473 2fvnsfdma02toq56uq45u1ne1e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d744244266d74699b4','2405718','wait',39,'adm09112754980.682000002')
20240903@182546.1585 2fvnsfdma02toq56uq45u1ne1e Query : use flama_phc
20240903@182546.1588 2fvnsfdma02toq56uq45u1ne1e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182546.1619 2fvnsfdma02toq56uq45u1ne1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1816';
20240903@182546.1657 2fvnsfdma02toq56uq45u1ne1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1816';
20240903@182546.1703 2fvnsfdma02toq56uq45u1ne1e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1816';
20240903@182546.1738 2fvnsfdma02toq56uq45u1ne1e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1816';
20240903@182546.3170 pk49q4s2jpog9dv7qrpjgia27v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182546.3182 pk49q4s2jpog9dv7qrpjgia27v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182546.3249 pk49q4s2jpog9dv7qrpjgia27v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1817';
20240903@182546.3307 pk49q4s2jpog9dv7qrpjgia27v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1817';
20240903@182546.3359 pk49q4s2jpog9dv7qrpjgia27v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1817';
20240903@182546.3384 pk49q4s2jpog9dv7qrpjgia27v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1817';
20240903@182546.3431 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.3434 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182546.3496 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.3499 pk49q4s2jpog9dv7qrpjgia27v Query : select no, estab,szadrsdesc from szadrs where u_coddest=908
20240903@182546.3598 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240903@182546.3760 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405719 and bi.ref ='324.4743.00.1' and bi.lordem =1
20240903@182546.4084 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20240903@182546.4269 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405719 and bi.ref ='327.8253.00.1' and bi.lordem =2
20240903@182546.4594 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.4597 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182546.4632 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.4636 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182546.4665 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.4668 pk49q4s2jpog9dv7qrpjgia27v 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')
20240903@182546.4695 pk49q4s2jpog9dv7qrpjgia27v 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
20240903@182546.4730 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.4733 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240903@182546.4880 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.4883 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182546.4913 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.4916 pk49q4s2jpog9dv7qrpjgia27v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182546.4957 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.4960 pk49q4s2jpog9dv7qrpjgia27v Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda-aveiro'
20240903@182546.5007 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.5010 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from td where ndoc = 39
20240903@182546.5023 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182546.5039 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5054 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182546.5072 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5086 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182546.5113 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5127 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182546.5138 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182546.5208 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182546.5220 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5235 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182546.5250 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d748459066d7469a7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182546.5432 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5451 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182546.5500 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182546.5512 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182546.5523 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182546.5546 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182546.5557 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182546.5569 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182546.5581 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d748459066d7469a7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182546.5841 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182546.5864 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.5880 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182546.5903 pk49q4s2jpog9dv7qrpjgia27v Query : select 'normal' from dummy
20240903@182546.5917 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d748459066d7469a7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',595,101621,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182546.6210 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.6213 pk49q4s2jpog9dv7qrpjgia27v Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240903@182546.6235 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4743.00.1'
20240903@182546.6385 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.6401 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.6426 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.6440 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.6448 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182546.6459 pk49q4s2jpog9dv7qrpjgia27v Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240903@182546.6472 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.6502 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.6513 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748553866d7469a9e','aut66d748459066d7469a7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182546.6517 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.6531 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.6558 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748553866d7469a9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d748459066d7469a7d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182546.6814 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.6817 pk49q4s2jpog9dv7qrpjgia27v Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20240903@182546.6838 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20240903@182546.6986 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7001 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.7024 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7037 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.7046 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182546.7057 pk49q4s2jpog9dv7qrpjgia27v Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400072300a'
20240903@182546.7070 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7083 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.7094 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746344066d7469aac','aut66d748459066d7469a7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182546.7114 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7128 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.7154 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746344066d7469aac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d748459066d7469a7d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182546.7418 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7432 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.7456 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7469 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.7477 pk49q4s2jpog9dv7qrpjgia27v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182546.7488 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7502 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182546.7513 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742145166d7469ab6','aut66d748459066d7469a7d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182546.7517 pk49q4s2jpog9dv7qrpjgia27v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182546.7533 pk49q4s2jpog9dv7qrpjgia27v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182546.7559 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d742145166d7469ab6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d748459066d7469a7d' ,0,0 ,2,23.00,30000,?,?,?)
20240903@182546.7818 pk49q4s2jpog9dv7qrpjgia27v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d748459066d7469a7d','2405719','wait',39,'adm09112754980.682000002')
20240903@182546.7889 pk49q4s2jpog9dv7qrpjgia27v Query : use flama_phc
20240903@182546.7892 pk49q4s2jpog9dv7qrpjgia27v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182546.7922 pk49q4s2jpog9dv7qrpjgia27v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1817';
20240903@182546.7957 pk49q4s2jpog9dv7qrpjgia27v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1817';
20240903@182546.7999 pk49q4s2jpog9dv7qrpjgia27v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1817';
20240903@182546.8026 pk49q4s2jpog9dv7qrpjgia27v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1817';
20240903@182546.9431 m9toi8po6hg9dt959k9nilprgi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182546.9443 m9toi8po6hg9dt959k9nilprgi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182546.9507 m9toi8po6hg9dt959k9nilprgi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1818';
20240903@182546.9561 m9toi8po6hg9dt959k9nilprgi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1818';
20240903@182546.9617 m9toi8po6hg9dt959k9nilprgi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1818';
20240903@182546.9645 m9toi8po6hg9dt959k9nilprgi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1818';
20240903@182546.9698 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182546.9701 m9toi8po6hg9dt959k9nilprgi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182546.9771 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182546.9774 m9toi8po6hg9dt959k9nilprgi Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20240903@182547.2000 m9toi8po6hg9dt959k9nilprgi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240903@182547.4200 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405720 and bi.ref ='324.646.00.01' and bi.lordem =1
20240903@182547.3860 m9toi8po6hg9dt959k9nilprgi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240903@182547.4170 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405720 and bi.ref ='324.646.00.01' and bi.lordem =2
20240903@182547.7650 m9toi8po6hg9dt959k9nilprgi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240903@182547.9250 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405720 and bi.ref ='324.691.00.01' and bi.lordem =3
20240903@182547.1293 m9toi8po6hg9dt959k9nilprgi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240903@182547.1314 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405720 and bi.ref ='324.691.00.01' and bi.lordem =4
20240903@182547.1911 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.1914 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182547.1950 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.1953 m9toi8po6hg9dt959k9nilprgi Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182547.1982 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.1985 m9toi8po6hg9dt959k9nilprgi 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')
20240903@182547.2013 m9toi8po6hg9dt959k9nilprgi 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
20240903@182547.2050 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.2053 m9toi8po6hg9dt959k9nilprgi Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240903@182547.2087 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.2090 m9toi8po6hg9dt959k9nilprgi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182547.2121 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.2124 m9toi8po6hg9dt959k9nilprgi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182547.2167 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.2169 m9toi8po6hg9dt959k9nilprgi Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20240903@182547.2218 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.2220 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from td where ndoc = 39
20240903@182547.2232 m9toi8po6hg9dt959k9nilprgi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182547.2247 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.2263 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182547.2282 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.2298 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182547.2326 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.2341 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182547.2353 m9toi8po6hg9dt959k9nilprgi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182547.2421 m9toi8po6hg9dt959k9nilprgi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182547.2434 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.2448 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182547.2464 m9toi8po6hg9dt959k9nilprgi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182547.2653 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.2668 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182547.2703 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182547.2715 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182547.2726 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182547.2738 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182547.2750 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182547.2761 m9toi8po6hg9dt959k9nilprgi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182547.2772 m9toi8po6hg9dt959k9nilprgi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d743678566d7469b39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182547.3018 m9toi8po6hg9dt959k9nilprgi Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182547.3045 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3062 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182547.3085 m9toi8po6hg9dt959k9nilprgi Query : select 'normal' from dummy
20240903@182547.3100 m9toi8po6hg9dt959k9nilprgi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d743678566d7469b39',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',596,101621,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182547.3402 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.3405 m9toi8po6hg9dt959k9nilprgi Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240903@182547.3426 m9toi8po6hg9dt959k9nilprgi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240903@182547.3440 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3456 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.3483 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3498 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.3506 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.3519 m9toi8po6hg9dt959k9nilprgi Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240903@182547.3532 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3546 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.3557 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742515666d7469b56','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.3562 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3576 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.3604 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742515666d7469b56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182547.3879 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3895 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.3922 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3950 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.3966 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.3977 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.3991 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.4002 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743397266d7469b61','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.4006 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4020 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.4046 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d743397266d7469b61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182547.4320 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.4323 m9toi8po6hg9dt959k9nilprgi Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240903@182547.4343 m9toi8po6hg9dt959k9nilprgi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240903@182547.4357 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4376 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.4403 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4417 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.4426 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.4438 m9toi8po6hg9dt959k9nilprgi Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240903@182547.4451 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4465 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.4477 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748525766d7469b6c','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.4482 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4497 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.4525 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748525766d7469b6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182547.4804 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4821 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.4846 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4862 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.4870 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.4882 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4896 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.4907 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741825366d7469b77','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.4911 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.4925 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.4952 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d741825366d7469b77',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,50000,?,?,?)
20240903@182547.5240 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.5243 m9toi8po6hg9dt959k9nilprgi Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240903@182547.5264 m9toi8po6hg9dt959k9nilprgi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240903@182547.5421 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.5437 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.5465 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.5482 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.5490 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.5504 m9toi8po6hg9dt959k9nilprgi Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240903@182547.5517 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.5542 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.5558 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740220366d7469b86','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.5563 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.5582 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.5617 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740220366d7469b86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240903@182547.5911 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.5930 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.5964 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.5980 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.5989 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.6002 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.6017 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.6029 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747388066d7469b92','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.6033 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.7176 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.7208 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747388066d7469b92',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,80000,?,?,?)
20240903@182547.7680 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.7683 m9toi8po6hg9dt959k9nilprgi Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240903@182547.7703 m9toi8po6hg9dt959k9nilprgi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240903@182547.7717 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.7733 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.7758 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.7772 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.7781 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.7793 m9toi8po6hg9dt959k9nilprgi Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240903@182547.7805 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.7819 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.7830 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741517966d7469bbe','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.7835 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.7849 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.7877 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d741517966d7469bbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240903@182547.8144 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.8159 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.8186 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.8200 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.8209 m9toi8po6hg9dt959k9nilprgi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182547.8221 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.8236 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182547.8248 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741285466d7469bc8','aut66d743678566d7469b39' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182547.8252 m9toi8po6hg9dt959k9nilprgi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182547.8267 m9toi8po6hg9dt959k9nilprgi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182547.8296 m9toi8po6hg9dt959k9nilprgi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d741285466d7469bc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d743678566d7469b39' ,0,0 ,2,23.00,110000,?,?,?)
20240903@182547.8621 m9toi8po6hg9dt959k9nilprgi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d743678566d7469b39','2405720','wait',39,'adm09112754980.682000002')
20240903@182547.8699 m9toi8po6hg9dt959k9nilprgi Query : use flama_phc
20240903@182547.8703 m9toi8po6hg9dt959k9nilprgi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182547.8736 m9toi8po6hg9dt959k9nilprgi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1818';
20240903@182547.8773 m9toi8po6hg9dt959k9nilprgi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1818';
20240903@182547.8818 m9toi8po6hg9dt959k9nilprgi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1818';
20240903@182547.8846 m9toi8po6hg9dt959k9nilprgi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1818';
20240903@182547.9471 vapuvhbsdvaed72aiboukkn11e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182547.9483 vapuvhbsdvaed72aiboukkn11e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182547.9549 vapuvhbsdvaed72aiboukkn11e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1819';
20240903@182547.9614 vapuvhbsdvaed72aiboukkn11e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1819';
20240903@182547.9667 vapuvhbsdvaed72aiboukkn11e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1819';
20240903@182547.9696 vapuvhbsdvaed72aiboukkn11e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1819';
20240903@182547.9747 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182547.9758 vapuvhbsdvaed72aiboukkn11e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182547.9841 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182547.9844 vapuvhbsdvaed72aiboukkn11e Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20240903@182547.9935 vapuvhbsdvaed72aiboukkn11e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20240903@182547.9956 vapuvhbsdvaed72aiboukkn11e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405721 and bi.ref ='327.8253.00.1' and bi.lordem =1
20240903@182548.3010 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.3040 vapuvhbsdvaed72aiboukkn11e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182548.3410 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.3450 vapuvhbsdvaed72aiboukkn11e Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182548.3800 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.3830 vapuvhbsdvaed72aiboukkn11e 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')
20240903@182548.4140 vapuvhbsdvaed72aiboukkn11e 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
20240903@182548.4530 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.4570 vapuvhbsdvaed72aiboukkn11e Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240903@182548.4900 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.4930 vapuvhbsdvaed72aiboukkn11e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182548.5250 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.5280 vapuvhbsdvaed72aiboukkn11e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182548.5710 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.5740 vapuvhbsdvaed72aiboukkn11e Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20240903@182548.6240 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.6260 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from td where ndoc = 39
20240903@182548.6390 vapuvhbsdvaed72aiboukkn11e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182548.6530 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.6710 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182548.6910 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.7060 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182548.7360 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.7510 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182548.7640 vapuvhbsdvaed72aiboukkn11e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182548.8320 vapuvhbsdvaed72aiboukkn11e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182548.8460 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8610 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182548.8770 vapuvhbsdvaed72aiboukkn11e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d749784766d7469c12' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182548.1097 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.1115 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182548.1150 vapuvhbsdvaed72aiboukkn11e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182548.1164 vapuvhbsdvaed72aiboukkn11e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182548.1177 vapuvhbsdvaed72aiboukkn11e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182548.1190 vapuvhbsdvaed72aiboukkn11e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182548.1203 vapuvhbsdvaed72aiboukkn11e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182548.1215 vapuvhbsdvaed72aiboukkn11e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182548.1227 vapuvhbsdvaed72aiboukkn11e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d749784766d7469c12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182548.1756 vapuvhbsdvaed72aiboukkn11e Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182548.1784 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.1801 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182548.1825 vapuvhbsdvaed72aiboukkn11e Query : select 'normal' from dummy
20240903@182548.1841 vapuvhbsdvaed72aiboukkn11e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d749784766d7469c12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',597,101621,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182548.2135 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.2138 vapuvhbsdvaed72aiboukkn11e Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20240903@182548.2162 vapuvhbsdvaed72aiboukkn11e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20240903@182548.2176 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2192 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.2222 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2236 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.2245 vapuvhbsdvaed72aiboukkn11e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182548.2258 vapuvhbsdvaed72aiboukkn11e Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400072300a'
20240903@182548.2271 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2286 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.2299 vapuvhbsdvaed72aiboukkn11e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745185466d7469c37','aut66d749784766d7469c12' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182548.2310 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2325 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.2354 vapuvhbsdvaed72aiboukkn11e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745185466d7469c37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d749784766d7469c12' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182548.2631 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2647 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.2674 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2689 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.2698 vapuvhbsdvaed72aiboukkn11e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182548.2711 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2726 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.2738 vapuvhbsdvaed72aiboukkn11e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743487066d7469c42','aut66d749784766d7469c12' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182548.2742 vapuvhbsdvaed72aiboukkn11e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.2756 vapuvhbsdvaed72aiboukkn11e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.2785 vapuvhbsdvaed72aiboukkn11e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d743487066d7469c42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d749784766d7469c12' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182548.3024 vapuvhbsdvaed72aiboukkn11e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d749784766d7469c12','2405721','wait',39,'adm09112754980.682000002')
20240903@182548.3108 vapuvhbsdvaed72aiboukkn11e Query : use flama_phc
20240903@182548.3111 vapuvhbsdvaed72aiboukkn11e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182548.3147 vapuvhbsdvaed72aiboukkn11e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1819';
20240903@182548.3182 vapuvhbsdvaed72aiboukkn11e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1819';
20240903@182548.3223 vapuvhbsdvaed72aiboukkn11e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1819';
20240903@182548.3250 vapuvhbsdvaed72aiboukkn11e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1819';
20240903@182548.4966 678veitos79k3fd9v64h8a7l7v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182548.4977 678veitos79k3fd9v64h8a7l7v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182548.5036 678veitos79k3fd9v64h8a7l7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1820';
20240903@182548.5095 678veitos79k3fd9v64h8a7l7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1820';
20240903@182548.5150 678veitos79k3fd9v64h8a7l7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1820';
20240903@182548.5175 678veitos79k3fd9v64h8a7l7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1820';
20240903@182548.5226 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.5230 678veitos79k3fd9v64h8a7l7v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182548.5294 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.5300 678veitos79k3fd9v64h8a7l7v Query : select no, estab,szadrsdesc from szadrs where u_coddest=8301
20240903@182548.5403 678veitos79k3fd9v64h8a7l7v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240903@182548.5425 678veitos79k3fd9v64h8a7l7v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405722 and bi.ref ='324.691.00.01' and bi.lordem =1
20240903@182548.5767 678veitos79k3fd9v64h8a7l7v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240903@182548.5787 678veitos79k3fd9v64h8a7l7v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405722 and bi.ref ='324.691.00.01' and bi.lordem =2
20240903@182548.6125 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6128 678veitos79k3fd9v64h8a7l7v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182548.6163 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6166 678veitos79k3fd9v64h8a7l7v Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182548.6199 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6202 678veitos79k3fd9v64h8a7l7v 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')
20240903@182548.6234 678veitos79k3fd9v64h8a7l7v 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
20240903@182548.6289 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6292 678veitos79k3fd9v64h8a7l7v Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240903@182548.6323 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6326 678veitos79k3fd9v64h8a7l7v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182548.6355 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6358 678veitos79k3fd9v64h8a7l7v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182548.6402 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6404 678veitos79k3fd9v64h8a7l7v Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - alverca'
20240903@182548.6454 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.6457 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from td where ndoc = 39
20240903@182548.6469 678veitos79k3fd9v64h8a7l7v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182548.6483 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.6503 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182548.6521 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.6535 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182548.6563 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.6577 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182548.6589 678veitos79k3fd9v64h8a7l7v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182548.6658 678veitos79k3fd9v64h8a7l7v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182548.6673 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.6688 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182548.6704 678veitos79k3fd9v64h8a7l7v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d746487166d7469ca0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182548.6883 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.6898 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182548.6930 678veitos79k3fd9v64h8a7l7v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182548.6942 678veitos79k3fd9v64h8a7l7v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182548.6953 678veitos79k3fd9v64h8a7l7v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182548.6965 678veitos79k3fd9v64h8a7l7v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182548.6980 678veitos79k3fd9v64h8a7l7v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182548.6994 678veitos79k3fd9v64h8a7l7v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182548.7008 678veitos79k3fd9v64h8a7l7v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d746487166d7469ca0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182548.7266 678veitos79k3fd9v64h8a7l7v Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182548.7293 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.7310 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182548.7335 678veitos79k3fd9v64h8a7l7v Query : select 'normal' from dummy
20240903@182548.7352 678veitos79k3fd9v64h8a7l7v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d746487166d7469ca0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',598,101621,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182548.7664 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.7667 678veitos79k3fd9v64h8a7l7v Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240903@182548.7690 678veitos79k3fd9v64h8a7l7v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240903@182548.7705 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.7722 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.7748 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.7763 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.7772 678veitos79k3fd9v64h8a7l7v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182548.7784 678veitos79k3fd9v64h8a7l7v Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240903@182548.7796 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.7810 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.7822 678veitos79k3fd9v64h8a7l7v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749915366d7469cbe','aut66d746487166d7469ca0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182548.7826 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.7840 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.7868 678veitos79k3fd9v64h8a7l7v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749915366d7469cbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66d746487166d7469ca0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182548.8165 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8181 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.8206 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8221 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.8230 678veitos79k3fd9v64h8a7l7v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182548.8242 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8257 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.8269 678veitos79k3fd9v64h8a7l7v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749249366d7469cc9','aut66d746487166d7469ca0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182548.8273 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8288 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.8316 678veitos79k3fd9v64h8a7l7v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d749249366d7469cc9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d746487166d7469ca0' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182548.8560 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.8563 678veitos79k3fd9v64h8a7l7v Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240903@182548.8582 678veitos79k3fd9v64h8a7l7v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240903@182548.8596 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8611 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.8637 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8652 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.8661 678veitos79k3fd9v64h8a7l7v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182548.8673 678veitos79k3fd9v64h8a7l7v Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240903@182548.8685 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8699 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.8711 678veitos79k3fd9v64h8a7l7v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743135066d7469cd4','aut66d746487166d7469ca0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182548.8715 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.8729 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.8757 678veitos79k3fd9v64h8a7l7v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743135066d7469cd4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d746487166d7469ca0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182548.9027 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.9044 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.9070 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.9084 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.9092 678veitos79k3fd9v64h8a7l7v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182548.9105 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.9119 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182548.9131 678veitos79k3fd9v64h8a7l7v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743793366d7469cde','aut66d746487166d7469ca0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182548.9135 678veitos79k3fd9v64h8a7l7v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182548.9149 678veitos79k3fd9v64h8a7l7v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182548.9178 678veitos79k3fd9v64h8a7l7v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d743793366d7469cde',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d746487166d7469ca0' ,0,0 ,2,23.00,50000,?,?,?)
20240903@182548.9427 678veitos79k3fd9v64h8a7l7v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d746487166d7469ca0','2405722','wait',39,'adm09112754980.682000002')
20240903@182548.9507 678veitos79k3fd9v64h8a7l7v Query : use flama_phc
20240903@182548.9510 678veitos79k3fd9v64h8a7l7v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182548.9545 678veitos79k3fd9v64h8a7l7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1820';
20240903@182548.9581 678veitos79k3fd9v64h8a7l7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1820';
20240903@182548.9624 678veitos79k3fd9v64h8a7l7v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1820';
20240903@182548.9651 678veitos79k3fd9v64h8a7l7v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1820';
20240903@182549.1076 5hfv1j6pslg66b51g9os5j3b5o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182549.1087 5hfv1j6pslg66b51g9os5j3b5o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182549.1155 5hfv1j6pslg66b51g9os5j3b5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1821';
20240903@182549.1246 5hfv1j6pslg66b51g9os5j3b5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1821';
20240903@182549.1295 5hfv1j6pslg66b51g9os5j3b5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1821';
20240903@182549.1320 5hfv1j6pslg66b51g9os5j3b5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1821';
20240903@182549.1367 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.1370 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182549.1445 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.1448 5hfv1j6pslg66b51g9os5j3b5o Query : select no, estab,szadrsdesc from szadrs where u_coddest=3304
20240903@182549.1540 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240903@182549.1585 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405723 and bi.ref ='324.691.00.01' and bi.lordem =1
20240903@182549.1951 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240903@182549.1973 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405723 and bi.ref ='324.691.00.01' and bi.lordem =2
20240903@182549.2281 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2284 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182549.2320 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2323 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182549.2354 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2356 5hfv1j6pslg66b51g9os5j3b5o 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')
20240903@182549.2384 5hfv1j6pslg66b51g9os5j3b5o 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
20240903@182549.2422 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2425 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240903@182549.2454 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2456 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182549.2488 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2492 5hfv1j6pslg66b51g9os5j3b5o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182549.2531 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2536 5hfv1j6pslg66b51g9os5j3b5o Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - chaves'
20240903@182549.2583 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.2586 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from td where ndoc = 39
20240903@182549.2598 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182549.2612 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.2628 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182549.2646 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.2660 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182549.2686 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.2700 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182549.2712 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182549.2779 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182549.2792 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.2806 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182549.2822 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d748000266d7469d42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182549.3015 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.3030 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182549.3061 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182549.3073 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182549.3084 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182549.3101 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182549.3112 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182549.3124 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182549.3135 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d748000266d7469d42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182549.3397 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182549.3423 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.3438 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182549.3460 5hfv1j6pslg66b51g9os5j3b5o Query : select 'normal' from dummy
20240903@182549.3476 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d748000266d7469d42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',599,101621,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182549.3772 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.3775 5hfv1j6pslg66b51g9os5j3b5o Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240903@182549.3798 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240903@182549.3812 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.3827 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.3852 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.3866 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.3874 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182549.3886 5hfv1j6pslg66b51g9os5j3b5o Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240903@182549.3899 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.3913 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.3924 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748720566d7469d5f','aut66d748000266d7469d42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182549.3928 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.3942 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.3969 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748720566d7469d5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66d748000266d7469d42' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182549.4242 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4257 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.4281 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4295 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.4303 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182549.4315 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4328 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.4340 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747930766d7469d69','aut66d748000266d7469d42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182549.4344 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4358 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.4384 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747930766d7469d69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d748000266d7469d42' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182549.4661 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.4664 5hfv1j6pslg66b51g9os5j3b5o Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240903@182549.4682 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240903@182549.4696 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4712 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.4737 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4751 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.4759 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182549.4770 5hfv1j6pslg66b51g9os5j3b5o Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240903@182549.4782 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4798 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.4812 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742542766d7469d74','aut66d748000266d7469d42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182549.4817 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.4831 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.4858 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d742542766d7469d74',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d748000266d7469d42' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182549.5118 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.5133 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.5158 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.5171 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.5179 5hfv1j6pslg66b51g9os5j3b5o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182549.5191 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.5205 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.5216 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d742093366d7469d7e','aut66d748000266d7469d42' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182549.5220 5hfv1j6pslg66b51g9os5j3b5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.5234 5hfv1j6pslg66b51g9os5j3b5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.5261 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d742093366d7469d7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d748000266d7469d42' ,0,0 ,2,23.00,50000,?,?,?)
20240903@182549.5501 5hfv1j6pslg66b51g9os5j3b5o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d748000266d7469d42','2405723','wait',39,'adm09112754980.682000002')
20240903@182549.5579 5hfv1j6pslg66b51g9os5j3b5o Query : use flama_phc
20240903@182549.5583 5hfv1j6pslg66b51g9os5j3b5o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182549.5612 5hfv1j6pslg66b51g9os5j3b5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1821';
20240903@182549.5646 5hfv1j6pslg66b51g9os5j3b5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1821';
20240903@182549.5685 5hfv1j6pslg66b51g9os5j3b5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1821';
20240903@182549.5711 5hfv1j6pslg66b51g9os5j3b5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1821';
20240903@182549.6296 2q70k84tjveti2mvbhol4ra7b5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182549.6307 2q70k84tjveti2mvbhol4ra7b5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182549.6365 2q70k84tjveti2mvbhol4ra7b5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1822';
20240903@182549.6422 2q70k84tjveti2mvbhol4ra7b5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1822';
20240903@182549.6474 2q70k84tjveti2mvbhol4ra7b5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1822';
20240903@182549.6501 2q70k84tjveti2mvbhol4ra7b5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1822';
20240903@182549.6552 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.6557 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182549.6619 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.6623 2q70k84tjveti2mvbhol4ra7b5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240903@182549.6666 2q70k84tjveti2mvbhol4ra7b5 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'
20240903@182549.6688 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405726 and bi.ref ='324.727.00.01' and bi.lordem =1
20240903@182549.7018 2q70k84tjveti2mvbhol4ra7b5 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'
20240903@182549.7036 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405726 and bi.ref ='324.727.00.01' and bi.lordem =1
20240903@182549.7053 2q70k84tjveti2mvbhol4ra7b5 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'
20240903@182549.7072 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405726 and bi.ref ='324.727.00.01' and bi.lordem =1
20240903@182549.7089 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7093 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182549.7127 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7130 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182549.7160 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7164 2q70k84tjveti2mvbhol4ra7b5 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')
20240903@182549.7192 2q70k84tjveti2mvbhol4ra7b5 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
20240903@182549.7226 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7228 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240903@182549.7261 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7264 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182549.7294 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7297 2q70k84tjveti2mvbhol4ra7b5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182549.7339 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7341 2q70k84tjveti2mvbhol4ra7b5 Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240903@182549.7388 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.7391 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from td where ndoc = 39
20240903@182549.7405 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182549.7419 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.7436 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182549.7456 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.7471 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182549.7502 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.7517 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182549.7530 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182549.7601 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182549.7614 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.7628 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182549.7644 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d741894566d7469db7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182549.7822 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.7837 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182549.7874 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182549.7887 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182549.7900 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182549.7913 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182549.7952 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182549.7965 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182549.7978 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d741894566d7469db7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182549.8228 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182549.8254 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.8271 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182549.8296 2q70k84tjveti2mvbhol4ra7b5 Query : select 'normal' from dummy
20240903@182549.8311 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d741894566d7469db7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',600,101597,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182549.8599 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.8602 2q70k84tjveti2mvbhol4ra7b5 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182549.8623 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182549.8636 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.8653 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.8677 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.8691 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.8700 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182549.8712 2q70k84tjveti2mvbhol4ra7b5 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20240903@182549.8725 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.8739 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.8750 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744520166d7469dd5','aut66d741894566d7469db7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182549.8755 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.8771 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.8851 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744520166d7469dd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d741894566d7469db7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182549.9146 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9164 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.9192 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9207 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.9216 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182549.9229 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9244 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.9257 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745757666d7469de1','aut66d741894566d7469db7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182549.9261 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9276 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.9305 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d745757666d7469de1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d741894566d7469db7' ,0,0 ,2,23.00,20000,?,?,?)
20240903@182549.9576 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182549.9579 2q70k84tjveti2mvbhol4ra7b5 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182549.9601 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182549.9615 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9632 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.9658 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9672 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.9680 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182549.9693 2q70k84tjveti2mvbhol4ra7b5 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20240903@182549.9708 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9722 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182549.9734 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745735066d7469ded','aut66d741894566d7469db7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182549.9738 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182549.9753 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182549.9781 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745735066d7469ded',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut66d741894566d7469db7' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182550.5900 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.7400 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.1000 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.1140 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.1220 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182550.1350 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.1490 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.1600 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746186066d7469e03','aut66d741894566d7469db7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182550.1640 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.1780 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.2100 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d746186066d7469e03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d741894566d7469db7' ,0,0 ,2,23.00,50000,?,?,?)
20240903@182550.5110 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182550.5150 2q70k84tjveti2mvbhol4ra7b5 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240903@182550.5360 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182550.5510 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.5680 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.5950 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6090 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.6180 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182550.6310 2q70k84tjveti2mvbhol4ra7b5 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2400239200a'
20240903@182550.6440 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6590 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.6710 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d743851866d7469e0f','aut66d741894566d7469db7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182550.6750 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6900 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.7190 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d743851866d7469e0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d741894566d7469db7' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240903@182550.9840 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.1000 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.1024 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.1038 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.1047 2q70k84tjveti2mvbhol4ra7b5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182550.1059 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.1073 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.1084 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745177066d7469e19','aut66d741894566d7469db7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182550.1088 2q70k84tjveti2mvbhol4ra7b5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.1102 2q70k84tjveti2mvbhol4ra7b5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.1129 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d745177066d7469e19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d741894566d7469db7' ,0,0 ,2,23.00,80000,?,?,?)
20240903@182550.1387 2q70k84tjveti2mvbhol4ra7b5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d741894566d7469db7','2405726','wait',39,'adm09112754980.682000002')
20240903@182550.1757 2q70k84tjveti2mvbhol4ra7b5 Query : use flama_phc
20240903@182550.1760 2q70k84tjveti2mvbhol4ra7b5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182550.1791 2q70k84tjveti2mvbhol4ra7b5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1822';
20240903@182550.1831 2q70k84tjveti2mvbhol4ra7b5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1822';
20240903@182550.1876 2q70k84tjveti2mvbhol4ra7b5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1822';
20240903@182550.1901 2q70k84tjveti2mvbhol4ra7b5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1822';
20240903@182550.2505 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182550.2520 9jf25vk7a5h05u0lgpvfdn9e17 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182550.2657 9jf25vk7a5h05u0lgpvfdn9e17 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1823';
20240903@182550.2730 9jf25vk7a5h05u0lgpvfdn9e17 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1823';
20240903@182550.2782 9jf25vk7a5h05u0lgpvfdn9e17 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1823';
20240903@182550.2816 9jf25vk7a5h05u0lgpvfdn9e17 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1823';
20240903@182550.2864 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.2867 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182550.2937 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.2941 9jf25vk7a5h05u0lgpvfdn9e17 Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20240903@182550.3123 9jf25vk7a5h05u0lgpvfdn9e17 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'
20240903@182550.3297 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405728 and bi.ref ='324.4930.00.1' and bi.lordem =1
20240903@182550.3660 9jf25vk7a5h05u0lgpvfdn9e17 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'
20240903@182550.3679 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405728 and bi.ref ='324.4980.00.1' and bi.lordem =2
20240903@182550.4230 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4272 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182550.4320 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4323 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182550.4354 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4360 9jf25vk7a5h05u0lgpvfdn9e17 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')
20240903@182550.4395 9jf25vk7a5h05u0lgpvfdn9e17 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
20240903@182550.4433 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4436 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20240903@182550.4572 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4643 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182550.4677 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4680 9jf25vk7a5h05u0lgpvfdn9e17 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182550.4720 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4723 9jf25vk7a5h05u0lgpvfdn9e17 Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20240903@182550.4770 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.4773 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from td where ndoc = 39
20240903@182550.4785 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182550.4798 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.4814 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182550.4832 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.4851 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182550.4891 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.4906 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182550.4918 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182550.4989 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182550.5002 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.5018 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182550.5035 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d746718866d7469e78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182550.5224 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.5240 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182550.5273 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182550.5284 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182550.5296 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182550.5308 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182550.5319 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182550.5330 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182550.5341 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d746718866d7469e78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182550.5584 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182550.5608 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.5624 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182550.5650 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 'normal' from dummy
20240903@182550.5664 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d746718866d7469e78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',601,100327,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182550.5976 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.5979 9jf25vk7a5h05u0lgpvfdn9e17 Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20240903@182550.6000 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182550.6157 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6173 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.6197 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6211 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.6219 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182550.6230 9jf25vk7a5h05u0lgpvfdn9e17 Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20240903@182550.6245 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6260 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.6271 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746337866d7469e98','aut66d746718866d7469e78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182550.6275 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6291 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.6319 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746337866d7469e98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66d746718866d7469e78' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182550.6604 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.6607 9jf25vk7a5h05u0lgpvfdn9e17 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20240903@182550.6627 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182550.6640 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6657 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.6682 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6696 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.6705 9jf25vk7a5h05u0lgpvfdn9e17 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182550.6716 9jf25vk7a5h05u0lgpvfdn9e17 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2301092100a'
20240903@182550.6728 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6742 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182550.6753 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746266066d7469ea4','aut66d746718866d7469e78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182550.6758 9jf25vk7a5h05u0lgpvfdn9e17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182550.6771 9jf25vk7a5h05u0lgpvfdn9e17 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182550.6798 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746266066d7469ea4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d746718866d7469e78' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182550.7058 9jf25vk7a5h05u0lgpvfdn9e17 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d746718866d7469e78','2405728','wait',39,'adm09112754980.682000002')
20240903@182550.7135 9jf25vk7a5h05u0lgpvfdn9e17 Query : use flama_phc
20240903@182550.7138 9jf25vk7a5h05u0lgpvfdn9e17 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182550.7350 9jf25vk7a5h05u0lgpvfdn9e17 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1823';
20240903@182550.7395 9jf25vk7a5h05u0lgpvfdn9e17 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1823';
20240903@182550.7437 9jf25vk7a5h05u0lgpvfdn9e17 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1823';
20240903@182550.7464 9jf25vk7a5h05u0lgpvfdn9e17 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1823';
20240903@182550.8556 8dt2cfi7376c561e4p5er4u4t5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182550.8567 8dt2cfi7376c561e4p5er4u4t5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182550.8628 8dt2cfi7376c561e4p5er4u4t5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1824';
20240903@182550.8695 8dt2cfi7376c561e4p5er4u4t5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1824';
20240903@182550.8749 8dt2cfi7376c561e4p5er4u4t5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1824';
20240903@182550.8786 8dt2cfi7376c561e4p5er4u4t5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1824';
20240903@182550.8834 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182550.8837 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182550.8904 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182550.8907 8dt2cfi7376c561e4p5er4u4t5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5187
20240903@182550.8997 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240903@182550.9018 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405730 and bi.ref ='324.736.00.01' and bi.lordem =1
20240903@182550.9365 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240903@182550.9386 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405730 and bi.ref ='324.1667.00.1' and bi.lordem =2
20240903@182550.9745 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182550.9749 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182550.9783 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182550.9786 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182550.9816 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182550.9819 8dt2cfi7376c561e4p5er4u4t5 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')
20240903@182550.9847 8dt2cfi7376c561e4p5er4u4t5 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
20240903@182550.9883 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182550.9886 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240903@182551.2400 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182551.2700 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182551.6000 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182551.6300 8dt2cfi7376c561e4p5er4u4t5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182551.1040 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182551.1070 8dt2cfi7376c561e4p5er4u4t5 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - grucoga'
20240903@182551.1550 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182551.1570 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from td where ndoc = 39
20240903@182551.1700 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182551.1830 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2000 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182551.2190 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2320 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182551.2590 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2730 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182551.2850 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182551.3540 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182551.3670 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3820 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182551.4010 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d749125266d7469f06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182551.6140 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.6330 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182551.6650 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182551.6770 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182551.6870 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182551.6990 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182551.7100 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182551.7210 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182551.7320 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d749125266d7469f06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182551.1232 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182551.2116 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2133 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182551.2153 8dt2cfi7376c561e4p5er4u4t5 Query : select 'normal' from dummy
20240903@182551.2168 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d749125266d7469f06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',602,200500,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182551.2480 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182551.2483 8dt2cfi7376c561e4p5er4u4t5 Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240903@182551.2503 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20240903@182551.2516 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2531 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.2556 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2574 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.2582 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182551.2594 8dt2cfi7376c561e4p5er4u4t5 Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240903@182551.2606 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2620 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.2631 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749524866d7469f3f','aut66d749125266d7469f06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182551.2635 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.2649 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.2676 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d749524866d7469f3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d749125266d7469f06' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182551.2964 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182551.2967 8dt2cfi7376c561e4p5er4u4t5 Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240903@182551.2986 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20240903@182551.3002 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3017 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.3042 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3056 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.3064 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182551.3077 8dt2cfi7376c561e4p5er4u4t5 Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20240903@182551.3089 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3103 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.3113 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d741504166d7469f4b','aut66d749125266d7469f06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182551.3118 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3132 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.3158 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d741504166d7469f4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d749125266d7469f06' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182551.3426 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3440 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.3464 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3479 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.3487 8dt2cfi7376c561e4p5er4u4t5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182551.3504 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3518 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.3529 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d749419066d7469f55','aut66d749125266d7469f06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182551.3533 8dt2cfi7376c561e4p5er4u4t5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.3546 8dt2cfi7376c561e4p5er4u4t5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.3574 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d749419066d7469f55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d749125266d7469f06' ,0,0 ,2,23.00,30000,?,?,?)
20240903@182551.3834 8dt2cfi7376c561e4p5er4u4t5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d749125266d7469f06','2405730','wait',39,'adm09112754980.682000002')
20240903@182551.3918 8dt2cfi7376c561e4p5er4u4t5 Query : use flama_phc
20240903@182551.3922 8dt2cfi7376c561e4p5er4u4t5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182551.3962 8dt2cfi7376c561e4p5er4u4t5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1824';
20240903@182551.4003 8dt2cfi7376c561e4p5er4u4t5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1824';
20240903@182551.4056 8dt2cfi7376c561e4p5er4u4t5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1824';
20240903@182551.4086 8dt2cfi7376c561e4p5er4u4t5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1824';
20240903@182551.4696 bkll20opcbhi25su5t5p79pr68 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182551.4708 bkll20opcbhi25su5t5p79pr68 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182551.4782 bkll20opcbhi25su5t5p79pr68 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1825';
20240903@182551.4842 bkll20opcbhi25su5t5p79pr68 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1825';
20240903@182551.4902 bkll20opcbhi25su5t5p79pr68 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1825';
20240903@182551.4929 bkll20opcbhi25su5t5p79pr68 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1825';
20240903@182551.4993 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.4996 bkll20opcbhi25su5t5p79pr68 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182551.5070 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.5073 bkll20opcbhi25su5t5p79pr68 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6625
20240903@182551.5161 bkll20opcbhi25su5t5p79pr68 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'
20240903@182551.5183 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405731 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240903@182551.5517 bkll20opcbhi25su5t5p79pr68 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240903@182551.5538 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405731 and bi.ref ='324.691.00.01' and bi.lordem =2
20240903@182551.5837 bkll20opcbhi25su5t5p79pr68 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240903@182551.5858 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405731 and bi.ref ='324.958.00.01' and bi.lordem =3
20240903@182551.6208 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6212 bkll20opcbhi25su5t5p79pr68 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182551.6247 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6250 bkll20opcbhi25su5t5p79pr68 Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182551.6281 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6286 bkll20opcbhi25su5t5p79pr68 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')
20240903@182551.6318 bkll20opcbhi25su5t5p79pr68 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
20240903@182551.6426 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6430 bkll20opcbhi25su5t5p79pr68 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240903@182551.6460 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6463 bkll20opcbhi25su5t5p79pr68 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182551.6494 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6498 bkll20opcbhi25su5t5p79pr68 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182551.6540 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6544 bkll20opcbhi25su5t5p79pr68 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser - mesur'
20240903@182551.6593 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.6596 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from td where ndoc = 39
20240903@182551.6608 bkll20opcbhi25su5t5p79pr68 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182551.6622 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.6639 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182551.6660 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.6677 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182551.6707 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.6725 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182551.6740 bkll20opcbhi25su5t5p79pr68 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182551.6814 bkll20opcbhi25su5t5p79pr68 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182551.6829 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.6844 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182551.6860 bkll20opcbhi25su5t5p79pr68 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d741984866d7469fa4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182551.7086 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.7276 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182551.7309 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182551.7321 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182551.7333 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182551.7344 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182551.7356 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182551.7367 bkll20opcbhi25su5t5p79pr68 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182551.7378 bkll20opcbhi25su5t5p79pr68 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d741984866d7469fa4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182551.7660 bkll20opcbhi25su5t5p79pr68 Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182551.7686 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.7702 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182551.7724 bkll20opcbhi25su5t5p79pr68 Query : select 'normal' from dummy
20240903@182551.7738 bkll20opcbhi25su5t5p79pr68 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d741984866d7469fa4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',603,200500,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182551.8065 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.8068 bkll20opcbhi25su5t5p79pr68 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240903@182551.8089 bkll20opcbhi25su5t5p79pr68 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182551.8103 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8120 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.8145 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8160 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.8168 bkll20opcbhi25su5t5p79pr68 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182551.8180 bkll20opcbhi25su5t5p79pr68 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240903@182551.8192 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8206 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.8218 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d745629266d7469fc8','aut66d741984866d7469fa4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182551.8222 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8236 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.8264 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d745629266d7469fc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66d741984866d7469fa4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182551.8524 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.8527 bkll20opcbhi25su5t5p79pr68 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240903@182551.8545 bkll20opcbhi25su5t5p79pr68 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240903@182551.8559 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8574 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.8598 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8613 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.8621 bkll20opcbhi25su5t5p79pr68 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182551.8632 bkll20opcbhi25su5t5p79pr68 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240903@182551.8644 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8659 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.8670 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d740421066d7469fd3','aut66d741984866d7469fa4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182551.8674 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.8689 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.8796 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d740421066d7469fd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d741984866d7469fa4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182551.9066 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9082 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.9108 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9122 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.9130 bkll20opcbhi25su5t5p79pr68 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182551.9142 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9156 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.9169 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747179466d7469fdf','aut66d741984866d7469fa4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182551.9173 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9187 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.9218 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d747179466d7469fdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d741984866d7469fa4' ,0,0 ,2,23.00,30000,?,?,?)
20240903@182551.9459 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182551.9462 bkll20opcbhi25su5t5p79pr68 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240903@182551.9480 bkll20opcbhi25su5t5p79pr68 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240903@182551.9494 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9509 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.9550 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9565 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.9575 bkll20opcbhi25su5t5p79pr68 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182551.9587 bkll20opcbhi25su5t5p79pr68 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240903@182551.9600 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9615 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182551.9626 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d746449066d7469fea','aut66d741984866d7469fa4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182551.9632 bkll20opcbhi25su5t5p79pr68 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182551.9646 bkll20opcbhi25su5t5p79pr68 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182551.9698 bkll20opcbhi25su5t5p79pr68 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d746449066d7469fea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d741984866d7469fa4' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240903@182551.9958 bkll20opcbhi25su5t5p79pr68 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d741984866d7469fa4','2405731','wait',39,'adm09112754980.682000002')
20240903@182552.2700 bkll20opcbhi25su5t5p79pr68 Query : use flama_phc
20240903@182552.3000 bkll20opcbhi25su5t5p79pr68 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182552.1240 bkll20opcbhi25su5t5p79pr68 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1825';
20240903@182552.1610 bkll20opcbhi25su5t5p79pr68 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1825';
20240903@182552.2010 bkll20opcbhi25su5t5p79pr68 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1825';
20240903@182552.2300 bkll20opcbhi25su5t5p79pr68 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1825';
20240903@182552.1072 ttlj80g5rbvvoqtebro0hm0upt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182552.1084 ttlj80g5rbvvoqtebro0hm0upt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182552.1146 ttlj80g5rbvvoqtebro0hm0upt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1826';
20240903@182552.1203 ttlj80g5rbvvoqtebro0hm0upt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1826';
20240903@182552.1258 ttlj80g5rbvvoqtebro0hm0upt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1826';
20240903@182552.1284 ttlj80g5rbvvoqtebro0hm0upt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1826';
20240903@182552.1333 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.1335 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182552.1401 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.1406 ttlj80g5rbvvoqtebro0hm0upt Query : select no, estab,szadrsdesc from szadrs where u_coddest=6975
20240903@182552.1585 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240903@182552.1757 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405732 and bi.ref ='324.988.00.01' and bi.lordem =1
20240903@182552.2085 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240903@182552.2107 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405732 and bi.ref ='324.988.00.01' and bi.lordem =1
20240903@182552.2124 ttlj80g5rbvvoqtebro0hm0upt 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'
20240903@182552.2143 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405732 and bi.ref ='324.1705.00.1' and bi.lordem =2
20240903@182552.2460 ttlj80g5rbvvoqtebro0hm0upt 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'
20240903@182552.2479 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405732 and bi.ref ='324.1705.00.1' and bi.lordem =2
20240903@182552.2494 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.2497 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240903@182552.3664 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.3668 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 1 valor from td where td.ndoc = 39
20240903@182552.3697 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.3700 ttlj80g5rbvvoqtebro0hm0upt 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')
20240903@182552.3729 ttlj80g5rbvvoqtebro0hm0upt 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
20240903@182552.3765 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.3768 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240903@182552.3797 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.3800 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240903@182552.3832 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.3835 ttlj80g5rbvvoqtebro0hm0upt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240903@182552.3875 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.3878 ttlj80g5rbvvoqtebro0hm0upt Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - tarragona'
20240903@182552.3924 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.3926 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from td where ndoc = 39
20240903@182552.3938 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240903@182552.3951 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.3967 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182552.3985 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.4000 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182552.4027 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.4040 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182552.4053 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182552.4121 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240903@182552.4134 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.4148 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240903@182552.4163 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d744841866d746a062' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240903@182552.4343 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.4359 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240903@182552.4392 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240903@182552.4404 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240903@182552.4416 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240903@182552.4427 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240903@182552.4439 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240903@182552.4451 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240903@182552.4463 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d744841866d746a062',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240903@182552.4713 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 fno valor from wsftdata order by fno desc
20240903@182552.4742 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.4760 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240903@182552.4785 ttlj80g5rbvvoqtebro0hm0upt Query : select 'normal' from dummy
20240903@182552.4804 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d744841866d746a062',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',604,200500,0,'2024-09-03',39,'euro',0,0,2024 ,?,?)
20240903@182552.5117 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.5121 ttlj80g5rbvvoqtebro0hm0upt Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240903@182552.5144 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240903@182552.5295 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5311 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.5337 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5352 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.5360 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182552.5372 ttlj80g5rbvvoqtebro0hm0upt Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20240903@182552.5386 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5401 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.5412 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748873866d746a083','aut66d744841866d746a062' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182552.5416 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5430 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.5460 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748873866d746a083',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d744841866d746a062' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240903@182552.5715 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.5718 ttlj80g5rbvvoqtebro0hm0upt Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240903@182552.5738 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240903@182552.5754 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5768 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.5791 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5806 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.5814 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182552.5825 ttlj80g5rbvvoqtebro0hm0upt Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20240903@182552.5836 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5849 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.5860 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d744373366d746a08e','aut66d744841866d746a062' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182552.5865 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.5878 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.5905 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d744373366d746a08e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d744841866d746a062' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240903@182552.6186 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.6189 ttlj80g5rbvvoqtebro0hm0upt Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240903@182552.6208 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182552.6222 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6237 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.6265 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6278 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.6289 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182552.6300 ttlj80g5rbvvoqtebro0hm0upt Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240903@182552.6312 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6325 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.6335 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d747122966d746a09a','aut66d744841866d746a062' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182552.6340 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6353 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.6380 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d747122966d746a09a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d744841866d746a062' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240903@182552.6637 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.6640 ttlj80g5rbvvoqtebro0hm0upt Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240903@182552.6660 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240903@182552.6673 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6687 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.6711 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6724 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.6732 ttlj80g5rbvvoqtebro0hm0upt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240903@182552.6743 ttlj80g5rbvvoqtebro0hm0upt Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240903@182552.6755 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6769 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240903@182552.6779 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d748835566d746a0a4','aut66d744841866d746a062' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240903@182552.6784 ttlj80g5rbvvoqtebro0hm0upt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240903@182552.6798 ttlj80g5rbvvoqtebro0hm0upt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240903@182552.6823 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d748835566d746a0a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d744841866d746a062' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240903@182552.7093 ttlj80g5rbvvoqtebro0hm0upt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d744841866d746a062','2405732','wait',39,'adm09112754980.682000002')
20240903@182552.7167 ttlj80g5rbvvoqtebro0hm0upt Query : use flama_phc
20240903@182552.7171 ttlj80g5rbvvoqtebro0hm0upt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240903@182552.7203 ttlj80g5rbvvoqtebro0hm0upt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1826';
20240903@182552.7238 ttlj80g5rbvvoqtebro0hm0upt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1826';
20240903@182552.7280 ttlj80g5rbvvoqtebro0hm0upt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1826';
20240903@182552.7306 ttlj80g5rbvvoqtebro0hm0upt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1826';
20240903@182552.7908 va3pf968tv12njt2u84ca2rhfc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240903@182552.7919 va3pf968tv12njt2u84ca2rhfc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240903@182552.7983 va3pf968tv12njt2u84ca2rhfc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1827';
20240903@182552.8044 va3pf968tv12njt2u84ca2rhfc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1827';
20240903@182552.8092 va3pf968tv12njt2u84ca2rhfc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1827';
20240903@182552.8118 va3pf968tv12njt2u84ca2rhfc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1827';
20240903@182552.8180 va3pf968tv12njt2u84ca2rhfc Query : use flama_phc
20240903@182552.8183 va3pf968tv12njt2u84ca2rhfc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240903@182552.8250 va3pf968tv12njt2u84ca2rhfc Query : use flama_phc
20240903@182552.8253 va3pf968tv12njt2u84ca2rhfc Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20240903@182552.8345 va3pf968tv12njt2u84ca2rhfc 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'
20240903@182552.8511 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.711.00.01' and bi.lordem =1
20240903@182552.8830 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240903@182552.8853 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1646.00.1' and bi.lordem =2
20240903@182552.9437 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20240903@182552.9459 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1536.00.1' and bi.lordem =3
20240903@182552.9789 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20240903@182552.9810 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1536.00.1' and bi.lordem =3
20240903@182552.9826 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240903@182552.9846 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.2223.00.1' and bi.lordem =4
20240903@182553.1920 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240903@182553.2140 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.2224.00.1' and bi.lordem =5
20240903@182553.1620 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4585.00.1'
20240903@182553.1643 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.4585.00.1' and bi.lordem =6
20240903@182553.1981 va3pf968tv12njt2u84ca2rhfc 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'
20240903@182553.2002 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.4840.00.1' and bi.lordem =7
20240903@182553.2318 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4724.00.1'
20240903@182553.2473 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.4724.00.1' and bi.lordem =8
20240903@182553.2804 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240903@182553.2826 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.2221.00.1' and bi.lordem =9
20240903@182553.3139 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240903@182553.3161 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.2222.00.1' and bi.lordem =10
20240903@182553.3690 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2160.00.1'
20240903@182553.3863 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.2160.00.1' and bi.lordem =11
20240903@182553.4177 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2160.00.1'
20240903@182553.4198 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.2160.00.1' and bi.lordem =11
20240903@182553.4215 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20240903@182553.4391 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1293.00.1' and bi.lordem =12
20240903@182553.4741 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1221.00.1'
20240903@182553.4908 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1221.00.1' and bi.lordem =13
20240903@182553.5244 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1221.00.1'
20240903@182553.5265 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1221.00.1' and bi.lordem =13
20240903@182553.5282 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20240903@182553.5442 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1643.00.1' and bi.lordem =14
20240903@182553.5906 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182553.5974 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1831.00.2' and bi.lordem =15
20240903@182553.6316 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240903@182553.6337 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1831.00.2' and bi.lordem =15
20240903@182553.6355 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240903@182553.6516 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1832.00.2' and bi.lordem =16
20240903@182553.6851 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240903@182553.7011 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1833.00.2' and bi.lordem =17
20240903@182553.8421 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240903@182553.8441 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.1833.00.2' and bi.lordem =17
20240903@182553.8462 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240903@182553.8637 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.945.00.01' and bi.lordem =18
20240903@182553.8961 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240903@182553.8982 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.945.00.01' and bi.lordem =18
20240903@182553.8998 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20240903@182553.9157 va3pf968tv12njt2u84ca2rhfc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2057 and bo.obrano = 2405733 and bi.ref ='324.5365.00.1' and bi.lordem =19
20240903@182553.9475 va3pf968tv12njt2u84ca2rhfc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
