20230426@175836.2703 7b4mbja1hgkhbpienll8jh69eq INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20230426@175836.2700 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.2709 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.2720 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.2733 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.2744 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495101146449583c42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,50000,?,?,?)
20230426@175836.2981 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.2996 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.3001 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495101146449583c42','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.3005 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.3009 7b4mbja1hgkhbpienll8jh69eq Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230426@175836.3021 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230426@175836.3311 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.3433 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.3444 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.3458 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.3464 7b4mbja1hgkhbpienll8jh69eq Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230426@175836.3476 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.3529 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.3677 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.3735 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495789126449583c56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230426@175836.4134 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.4228 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.4233 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495789126449583c56','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.4239 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.4254 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.4265 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.4278 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.4283 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.4293 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.4306 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.4316 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495117436449583c68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,80000,?,?,?)
20230426@175836.4560 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.4575 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.4580 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495117436449583c68','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.4585 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.4589 7b4mbja1hgkhbpienll8jh69eq Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20230426@175836.4601 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.719.00.01'
20230426@175836.4738 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.4753 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.4763 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.4777 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.4781 7b4mbja1hgkhbpienll8jh69eq Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2100602100a'
20230426@175836.4793 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.4803 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.4816 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.4827 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495374286449583c75',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20230426@175836.5066 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.5083 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.5088 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495374286449583c75','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.5093 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.5108 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.5119 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.5132 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.5136 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.5147 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.5159 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.5170 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495798096449583c7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,110000,?,?,?)
20230426@175836.5413 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.5432 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175836.5437 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495798096449583c7d','aut64495128316449583c1b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175836.5442 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.5445 7b4mbja1hgkhbpienll8jh69eq Query : select st.usalote valor from st where st.ref = '324.724.00.01'
20230426@175836.5458 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.724.00.01'
20230426@175836.5596 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.5611 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175836.5621 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175836.5636 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175836.5641 7b4mbja1hgkhbpienll8jh69eq Query : select sestamp valor from se where ref ='324.724.00.01' and lote = '11/18'
20230426@175836.5646 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175836.5656 7b4mbja1hgkhbpienll8jh69eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175836.5669 7b4mbja1hgkhbpienll8jh69eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175836.5679 7b4mbja1hgkhbpienll8jh69eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495289276449583c8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut64495128316449583c1b' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20230426@175836.6009 7b4mbja1hgkhbpienll8jh69eq Query : use flama_phc
20230426@175836.6043 7b4mbja1hgkhbpienll8jh69eq Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175836.6091 7b4mbja1hgkhbpienll8jh69eq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='69';
20230426@175836.6103 7b4mbja1hgkhbpienll8jh69eq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='69';
20230426@175836.7287 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230426@175836.7300 h9bh4nmfvvsmvqturqohq6l9pf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230426@175836.7312 h9bh4nmfvvsmvqturqohq6l9pf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='70';
20230426@175836.7348 h9bh4nmfvvsmvqturqohq6l9pf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='70';
20230426@175836.7359 h9bh4nmfvvsmvqturqohq6l9pf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='70';
20230426@175836.7369 h9bh4nmfvvsmvqturqohq6l9pf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='70';
20230426@175836.7379 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175836.7382 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230426@175836.7394 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175836.7397 h9bh4nmfvvsmvqturqohq6l9pf Query : select no, estab,szadrsdesc from szadrs where u_coddest=1841
20230426@175836.7465 h9bh4nmfvvsmvqturqohq6l9pf 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'
20230426@175836.7475 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='304.421.00.04' and bi.lordem =1
20230426@175836.7758 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230426@175836.7771 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='304.422.00.07' and bi.lordem =2
20230426@175836.8054 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230426@175836.8066 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.1684.00.1' and bi.lordem =3
20230426@175836.8337 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20230426@175836.8527 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='325.1670.3015' and bi.lordem =4
20230426@175836.8957 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230426@175836.9084 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.948.00.01' and bi.lordem =5
20230426@175836.9361 h9bh4nmfvvsmvqturqohq6l9pf 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'
20230426@175836.9372 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.711.00.01' and bi.lordem =6
20230426@175836.9650 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230426@175836.9775 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.670.00.01' and bi.lordem =7
20230426@175837.5500 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1675.3015'
20230426@175837.1780 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='325.1675.3015' and bi.lordem =8
20230426@175837.5130 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.5170 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230426@175837.5330 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.5360 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 1 valor from td where td.ndoc = 39
20230426@175837.5480 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.5510 h9bh4nmfvvsmvqturqohq6l9pf Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230426@175837.5620 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230426@175837.5770 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.5800 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 ~inactivo valor from cl where no = '102370' and estab = 0 order by inactivo desc
20230426@175837.6710 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.6760 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230426@175837.6870 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.6900 h9bh4nmfvvsmvqturqohq6l9pf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230426@175837.7010 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.7040 h9bh4nmfvvsmvqturqohq6l9pf Query : select szadrsstamp valor from szadrs where szadrsdesc='genial & fabuloso electrodomÉsticos,unipessoal, lda.'
20230426@175837.7190 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.7220 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from td where ndoc = 39
20230426@175837.7330 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230426@175837.7450 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175837.7580 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230426@175837.7680 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175837.7810 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230426@175837.7860 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175837.7920 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175837.8330 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230426@175837.8430 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230426@175837.8490 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495528336449583d13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175837.8540 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230426@175837.8670 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230426@175837.8710 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495528336449583d13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175837.8760 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 fno valor from wsft039data order by fno desc
20230426@175837.8860 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230426@175837.8990 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230426@175837.9080 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut64495528336449583d13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',25,102370,0,'2023-04-26',39,'euro',0,0,2023 ,'20230426','1828',?,?,?)
20230426@175837.1156 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.1159 h9bh4nmfvvsmvqturqohq6l9pf Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230426@175837.1171 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20230426@175837.1183 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.1199 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175837.1208 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.1222 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175837.1226 h9bh4nmfvvsmvqturqohq6l9pf Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230426@175837.1237 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175837.1247 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.1260 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175837.1270 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495209506449583d1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut64495528336449583d13' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230426@175837.1483 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.1498 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175837.1503 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495209506449583d1e','aut64495528336449583d13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175837.1509 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.1523 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175837.1533 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.1547 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175837.1551 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175837.1563 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.1576 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175837.1586 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut64495664976449583d26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut64495528336449583d13' ,0,0 ,2,23.00,20000,?,?,?)
20230426@175837.1797 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.1812 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175837.1817 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495664976449583d26','aut64495528336449583d13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175837.1821 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.1825 h9bh4nmfvvsmvqturqohq6l9pf Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230426@175837.1837 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230426@175837.1848 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.1861 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175837.1872 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.1884 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175837.1889 h9bh4nmfvvsmvqturqohq6l9pf Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230334'
20230426@175837.1898 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175837.1908 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.1921 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175837.1930 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495814366449583d2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut64495528336449583d13' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230426@175837.2137 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.2151 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175837.2156 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495814366449583d2e','aut64495528336449583d13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175837.2160 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.2163 h9bh4nmfvvsmvqturqohq6l9pf Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230426@175837.2174 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20230426@175837.2185 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.2197 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175837.2207 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.2220 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175837.2224 h9bh4nmfvvsmvqturqohq6l9pf Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230426@175837.2234 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175837.2244 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.2255 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175837.2265 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495934266449583d36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495528336449583d13' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230426@175837.2477 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.2491 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175837.2495 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495934266449583d36','aut64495528336449583d13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175837.2499 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.2502 h9bh4nmfvvsmvqturqohq6l9pf Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20230426@175837.2513 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1670.3015'
20230426@175837.2780 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.2795 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175837.2805 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.2818 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175837.2822 h9bh4nmfvvsmvqturqohq6l9pf Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2300369200a'
20230426@175837.2833 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175837.2847 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.2859 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175837.2869 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495282486449583d45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3 ,'aut64495528336449583d13' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230426@175837.3093 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.4008 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230426@175837.4013 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64495282486449583d45','aut64495528336449583d13' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230426@175837.4018 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.4021 h9bh4nmfvvsmvqturqohq6l9pf Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230426@175837.4032 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20230426@175837.4162 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.4179 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230426@175837.4188 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230426@175837.4201 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230426@175837.4205 h9bh4nmfvvsmvqturqohq6l9pf Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230426@175837.4210 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230426@175837.4220 h9bh4nmfvvsmvqturqohq6l9pf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230426@175837.4233 h9bh4nmfvvsmvqturqohq6l9pf Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230426@175837.4242 h9bh4nmfvvsmvqturqohq6l9pf Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64495292126449583d67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut64495528336449583d13' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230426@175837.4457 h9bh4nmfvvsmvqturqohq6l9pf Query : use flama_phc
20230426@175837.4460 h9bh4nmfvvsmvqturqohq6l9pf Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230426@175837.4471 h9bh4nmfvvsmvqturqohq6l9pf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='70';
20230426@175837.4482 h9bh4nmfvvsmvqturqohq6l9pf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='70';

20230427@170610.2916 mcu3kmk3sarorqaag752htkmrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='71';
20230427@170610.2939 mcu3kmk3sarorqaag752htkmrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='71';
20230427@170610.2949 mcu3kmk3sarorqaag752htkmrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='71';
20230427@170610.2958 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.2961 mcu3kmk3sarorqaag752htkmrr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@170610.3003 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3006 mcu3kmk3sarorqaag752htkmrr Query : select no, estab,szadrsdesc from szadrs where u_coddest=2459
20230427@170610.3079 mcu3kmk3sarorqaag752htkmrr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230427@170610.3232 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3235 mcu3kmk3sarorqaag752htkmrr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@170610.3397 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3400 mcu3kmk3sarorqaag752htkmrr Query : select top 1 1 valor from td where td.ndoc = 39
20230427@170610.3465 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3468 mcu3kmk3sarorqaag752htkmrr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@170610.3508 mcu3kmk3sarorqaag752htkmrr Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@170610.3606 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3609 mcu3kmk3sarorqaag752htkmrr Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230427@170610.3713 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3716 mcu3kmk3sarorqaag752htkmrr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@170610.3776 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3779 mcu3kmk3sarorqaag752htkmrr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@170610.3817 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3820 mcu3kmk3sarorqaag752htkmrr Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a.'
20230427@170610.3832 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.3835 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from td where ndoc = 39
20230427@170610.4819 mcu3kmk3sarorqaag752htkmrr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@170610.4898 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@170610.5333 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@170610.5380 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@170610.5671 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@170610.5694 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@170610.5957 mcu3kmk3sarorqaag752htkmrr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@170610.6129 mcu3kmk3sarorqaag752htkmrr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@170610.6211 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@170610.6218 mcu3kmk3sarorqaag752htkmrr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644a945510644a9d7291' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@170610.7061 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@170610.7078 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@170610.7102 mcu3kmk3sarorqaag752htkmrr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644a945510644a9d7291',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@170610.7536 mcu3kmk3sarorqaag752htkmrr Query : select top 1 fno valor from wsft039data order by fno desc
20230427@170610.7662 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@170610.8505 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@170610.8540 mcu3kmk3sarorqaag752htkmrr Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644a945510644a9d7291',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',25,200500,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1736',?,?,?)
20230427@170610.8987 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170610.8990 mcu3kmk3sarorqaag752htkmrr Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230427@170610.9102 mcu3kmk3sarorqaag752htkmrr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230427@170610.9224 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@170610.9670 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@170610.9720 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@170610.9992 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@170611.1600 mcu3kmk3sarorqaag752htkmrr Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230427@170611.7500 mcu3kmk3sarorqaag752htkmrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@170611.1100 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@170611.1240 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@170611.1530 mcu3kmk3sarorqaag752htkmrr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut644a912339644a9d7302',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',792 ,'aut644a945510644a9d7291' ,0,0 ,2,23.00,10000,?,?,?,?)
20230427@170611.4880 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@170611.5040 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@170611.5270 mcu3kmk3sarorqaag752htkmrr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644a912339644a9d7302','aut644a945510644a9d7291' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@170611.6050 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@170611.6190 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@170611.6290 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@170611.6420 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@170611.6460 mcu3kmk3sarorqaag752htkmrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@170611.6570 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@170611.6710 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@170611.6820 mcu3kmk3sarorqaag752htkmrr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644a952694644a9d7310',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644a945510644a9d7291' ,0,0 ,2,23.00,20000,?,?,?)
20230427@170611.9280 mcu3kmk3sarorqaag752htkmrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@170611.9440 mcu3kmk3sarorqaag752htkmrr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@170611.9490 mcu3kmk3sarorqaag752htkmrr Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644a952694644a9d7310','aut644a945510644a9d7291' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@170611.9550 mcu3kmk3sarorqaag752htkmrr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644a945510644a9d7291','','wait',39,'ari17112337378,753000005')
20230427@170611.9890 mcu3kmk3sarorqaag752htkmrr Query : use flama_phc
20230427@170611.9920 mcu3kmk3sarorqaag752htkmrr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@170611.1017 mcu3kmk3sarorqaag752htkmrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='71';
20230427@170611.1029 mcu3kmk3sarorqaag752htkmrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='71';
20230427@170611.1038 mcu3kmk3sarorqaag752htkmrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='71';
20230427@170611.1049 mcu3kmk3sarorqaag752htkmrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='71';
20230427@172104.7096 o36h1tdquf6m86m4qdn8eadh5k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@172104.7112 o36h1tdquf6m86m4qdn8eadh5k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@172104.7127 o36h1tdquf6m86m4qdn8eadh5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='72';
20230427@172104.7164 o36h1tdquf6m86m4qdn8eadh5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='72';
20230427@172104.7226 o36h1tdquf6m86m4qdn8eadh5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='72';
20230427@172104.7237 o36h1tdquf6m86m4qdn8eadh5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='72';
20230427@172104.7247 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7251 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@172104.7264 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7272 o36h1tdquf6m86m4qdn8eadh5k Query : select no, estab,szadrsdesc from szadrs where u_coddest=2459
20230427@172104.7306 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230427@172104.7317 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7320 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@172104.7332 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7335 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 1 valor from td where td.ndoc = 39
20230427@172104.7345 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7348 o36h1tdquf6m86m4qdn8eadh5k Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@172104.7359 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@172104.7386 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7389 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230427@172104.7399 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7402 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@172104.7412 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7415 o36h1tdquf6m86m4qdn8eadh5k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@172104.7500 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7503 o36h1tdquf6m86m4qdn8eadh5k Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a.'
20230427@172104.7514 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.7517 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from td where ndoc = 39
20230427@172104.7526 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@172104.7545 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@172104.7559 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@172104.7570 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@172104.7582 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@172104.7586 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@172104.7593 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@172104.7634 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@172104.7644 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@172104.7650 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa46861644aa0f0b9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@172104.7668 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@172104.7680 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@172104.7685 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa46861644aa0f0b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@172104.7695 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 fno valor from wsft039data order by fno desc
20230427@172104.7727 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@172104.7740 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@172104.7750 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa46861644aa0f0b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',26,200500,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1751',?,?,?)
20230427@172104.8270 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.8275 o36h1tdquf6m86m4qdn8eadh5k Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230427@172104.8287 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230427@172104.8299 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@172104.8314 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@172104.8325 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@172104.8339 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@172104.8351 o36h1tdquf6m86m4qdn8eadh5k Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230427@172104.8362 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@172104.8374 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@172104.8388 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@172104.8398 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut644aa92422644aa0f0cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',208 ,'aut644aa46861644aa0f0b9' ,0,0 ,2,23.00,10000,?,?,?,?)
20230427@172104.8714 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@172104.8731 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@172104.8735 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa92422644aa0f0cc','aut644aa46861644aa0f0b9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@172104.8746 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@172104.8769 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@172104.8782 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@172104.8796 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@172104.8802 o36h1tdquf6m86m4qdn8eadh5k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@172104.8812 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@172104.8824 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@172104.8836 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa74031644aa0f0d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa46861644aa0f0b9' ,0,0 ,2,23.00,20000,?,?,?)
20230427@172104.9165 o36h1tdquf6m86m4qdn8eadh5k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@172104.9181 o36h1tdquf6m86m4qdn8eadh5k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@172104.9187 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa74031644aa0f0d7','aut644aa46861644aa0f0b9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@172104.9193 o36h1tdquf6m86m4qdn8eadh5k Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa46861644aa0f0b9','','wait',39,'ari17112337378,753000005')
20230427@172104.9215 o36h1tdquf6m86m4qdn8eadh5k Query : use flama_phc
20230427@172104.9218 o36h1tdquf6m86m4qdn8eadh5k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@172104.9231 o36h1tdquf6m86m4qdn8eadh5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='72';
20230427@172104.9243 o36h1tdquf6m86m4qdn8eadh5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='72';
20230427@172104.9253 o36h1tdquf6m86m4qdn8eadh5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='72';
20230427@172104.9271 o36h1tdquf6m86m4qdn8eadh5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='72';

20230427@175115.7700 llofsuthsukap1mncnbi9h6k9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='73';
20230427@175115.9100 llofsuthsukap1mncnbi9h6k9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='73';
20230427@175115.1020 llofsuthsukap1mncnbi9h6k9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='73';
20230427@175115.1120 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.1160 llofsuthsukap1mncnbi9h6k9r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175115.1280 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.1320 llofsuthsukap1mncnbi9h6k9r Query : select no, estab,szadrsdesc from szadrs where u_coddest=770
20230427@175115.2110 llofsuthsukap1mncnbi9h6k9r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230427@175115.3710 llofsuthsukap1mncnbi9h6k9r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.5500.00.1' and bi.lordem =1
20230427@175115.7030 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.7070 llofsuthsukap1mncnbi9h6k9r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175115.7210 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.7240 llofsuthsukap1mncnbi9h6k9r Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175115.7350 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.7380 llofsuthsukap1mncnbi9h6k9r Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175115.7490 llofsuthsukap1mncnbi9h6k9r Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175115.7630 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.7670 llofsuthsukap1mncnbi9h6k9r Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230427@175115.8730 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.8760 llofsuthsukap1mncnbi9h6k9r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175115.8880 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.8910 llofsuthsukap1mncnbi9h6k9r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175115.9020 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.9050 llofsuthsukap1mncnbi9h6k9r Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- azambuja'
20230427@175115.9180 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.9220 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from td where ndoc = 39
20230427@175115.9490 llofsuthsukap1mncnbi9h6k9r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175115.9610 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175115.9750 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175115.9850 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175115.9980 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175115.1002 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175115.1011 llofsuthsukap1mncnbi9h6k9r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175115.1056 llofsuthsukap1mncnbi9h6k9r Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175115.1066 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175115.1073 llofsuthsukap1mncnbi9h6k9r Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa25369644aa80318' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.1084 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175115.1098 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175115.1103 llofsuthsukap1mncnbi9h6k9r Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa25369644aa80318',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.1108 llofsuthsukap1mncnbi9h6k9r Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175115.1123 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175115.1137 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175115.1149 llofsuthsukap1mncnbi9h6k9r Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa25369644aa80318',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27,100810,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175115.1466 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.1471 llofsuthsukap1mncnbi9h6k9r Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230427@175115.1484 llofsuthsukap1mncnbi9h6k9r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20230427@175115.1633 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.1647 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175115.1658 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.1672 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175115.1678 llofsuthsukap1mncnbi9h6k9r Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230427@175115.1690 llofsuthsukap1mncnbi9h6k9r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175115.1701 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.1714 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175115.1725 llofsuthsukap1mncnbi9h6k9r Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa62541644aa80329',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20 ,'aut644aa25369644aa80318' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175115.1988 llofsuthsukap1mncnbi9h6k9r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.2019 llofsuthsukap1mncnbi9h6k9r Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175115.2024 llofsuthsukap1mncnbi9h6k9r Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa62541644aa80329','aut644aa25369644aa80318' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.2031 llofsuthsukap1mncnbi9h6k9r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa25369644aa80318','','wait',39,'ari17112337378,753000005')
20230427@175115.2051 llofsuthsukap1mncnbi9h6k9r Query : use flama_phc
20230427@175115.2054 llofsuthsukap1mncnbi9h6k9r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175115.2066 llofsuthsukap1mncnbi9h6k9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='73';
20230427@175115.2080 llofsuthsukap1mncnbi9h6k9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='73';
20230427@175115.2094 llofsuthsukap1mncnbi9h6k9r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='73';
20230427@175115.2109 llofsuthsukap1mncnbi9h6k9r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='73';
20230427@175115.2516 k0vatfo1g0nfj4klujkievt0qv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175115.2529 k0vatfo1g0nfj4klujkievt0qv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175115.2542 k0vatfo1g0nfj4klujkievt0qv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='74';
20230427@175115.2583 k0vatfo1g0nfj4klujkievt0qv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='74';
20230427@175115.2595 k0vatfo1g0nfj4klujkievt0qv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='74';
20230427@175115.2608 k0vatfo1g0nfj4klujkievt0qv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='74';
20230427@175115.2619 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.2622 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175115.2637 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.2640 k0vatfo1g0nfj4klujkievt0qv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230427@175115.2733 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230427@175115.2971 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='304.422.00.07' and bi.lordem =1
20230427@175115.3293 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230427@175115.3305 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='304.422.00.07' and bi.lordem =1
20230427@175115.3310 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20230427@175115.3463 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.719.00.01' and bi.lordem =2
20230427@175115.3790 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20230427@175115.3943 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.4988.00.1' and bi.lordem =3
20230427@175115.4882 k0vatfo1g0nfj4klujkievt0qv 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'
20230427@175115.5209 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='324.711.00.01' and bi.lordem =4
20230427@175115.5563 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5567 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175115.5596 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5600 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175115.5611 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5614 k0vatfo1g0nfj4klujkievt0qv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175115.5625 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175115.5646 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5649 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230427@175115.5660 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5663 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175115.5673 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5676 k0vatfo1g0nfj4klujkievt0qv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175115.5690 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5694 k0vatfo1g0nfj4klujkievt0qv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230427@175115.5708 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.5711 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from td where ndoc = 39
20230427@175115.5722 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175115.5733 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175115.5747 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175115.5757 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175115.5770 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175115.5774 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175115.5780 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175115.6097 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175115.6109 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175115.6116 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.6122 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175115.6138 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175115.6142 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa42487644aa8038d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.6148 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175115.6160 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175115.6178 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175115.6205 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa42487644aa8038d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28,100810,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175115.6553 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.6558 k0vatfo1g0nfj4klujkievt0qv Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230427@175115.6570 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230427@175115.6729 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.6745 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175115.6756 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.6771 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175115.6776 k0vatfo1g0nfj4klujkievt0qv Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230334'
20230427@175115.6788 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175115.6800 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.6814 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175115.6825 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa35797644aa803a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60 ,'aut644aa42487644aa8038d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175115.7075 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.7093 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175115.7196 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa35797644aa803a6','aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.7382 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.7386 k0vatfo1g0nfj4klujkievt0qv Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230427@175115.7398 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230427@175115.7409 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.7422 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175115.7432 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.7444 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175115.7448 k0vatfo1g0nfj4klujkievt0qv Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230222'
20230427@175115.7459 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175115.7469 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.7481 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175115.7490 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa16644644aa803b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60 ,'aut644aa42487644aa8038d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175115.7740 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.7755 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175115.7761 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa16644644aa803b6','aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.7765 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.7768 k0vatfo1g0nfj4klujkievt0qv Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20230427@175115.7781 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.719.00.01'
20230427@175115.7929 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.7943 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175115.7954 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.7968 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175115.7973 k0vatfo1g0nfj4klujkievt0qv Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2100602100a'
20230427@175115.7986 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175115.8246 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.8336 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175115.8349 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa10869644aa803c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',200 ,'aut644aa42487644aa8038d' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230427@175115.8613 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.8631 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175115.8636 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa10869644aa803c9','aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.8643 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.8659 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175115.8686 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.8701 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175115.8706 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175115.8717 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.8731 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175115.8743 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa91855644aa803d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa42487644aa8038d' ,0,0 ,2,23.00,40000,?,?,?)
20230427@175115.9009 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.9025 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175115.9031 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa91855644aa803d4','aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.9042 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.9046 k0vatfo1g0nfj4klujkievt0qv Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20230427@175115.9060 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20230427@175115.9213 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.9230 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175115.9242 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.9259 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175115.9264 k0vatfo1g0nfj4klujkievt0qv Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100743100a'
20230427@175115.9283 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175115.9295 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.9309 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175115.9322 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa42664644aa803e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52 ,'aut644aa42487644aa8038d' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230427@175115.9576 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.9593 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175115.9598 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa42664644aa803e2','aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175115.9603 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175115.9607 k0vatfo1g0nfj4klujkievt0qv Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20230427@175115.9620 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20230427@175115.9775 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.9790 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175115.9801 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175115.9816 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175115.9821 k0vatfo1g0nfj4klujkievt0qv Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2100723100a'
20230427@175115.9835 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175115.9846 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175115.9861 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175115.9873 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa71389644aa803f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',304 ,'aut644aa42487644aa8038d' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230427@175116.1350 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.1520 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175116.1570 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa71389644aa803f0','aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.1620 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.1760 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175116.1880 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.2020 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175116.2080 k0vatfo1g0nfj4klujkievt0qv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175116.2200 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.2340 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175116.2450 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa55387644aa80405',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa42487644aa8038d' ,0,0 ,2,23.00,80000,?,?,?)
20230427@175116.4970 k0vatfo1g0nfj4klujkievt0qv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.5140 k0vatfo1g0nfj4klujkievt0qv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175116.5190 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa55387644aa80405','aut644aa42487644aa8038d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.5250 k0vatfo1g0nfj4klujkievt0qv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa42487644aa8038d','','wait',39,'ari17112337378,753000005')
20230427@175116.5420 k0vatfo1g0nfj4klujkievt0qv Query : use flama_phc
20230427@175116.5450 k0vatfo1g0nfj4klujkievt0qv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175116.5590 k0vatfo1g0nfj4klujkievt0qv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='74';
20230427@175116.5710 k0vatfo1g0nfj4klujkievt0qv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='74';
20230427@175116.5810 k0vatfo1g0nfj4klujkievt0qv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='74';
20230427@175116.5930 k0vatfo1g0nfj4klujkievt0qv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='74';
20230427@175116.2348 vapr2qvsqoschecb51sfak1rsq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175116.2361 vapr2qvsqoschecb51sfak1rsq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175116.2374 vapr2qvsqoschecb51sfak1rsq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='75';
20230427@175116.2428 vapr2qvsqoschecb51sfak1rsq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='75';
20230427@175116.2514 vapr2qvsqoschecb51sfak1rsq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='75';
20230427@175116.2525 vapr2qvsqoschecb51sfak1rsq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='75';
20230427@175116.2535 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.2539 vapr2qvsqoschecb51sfak1rsq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175116.2551 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.2554 vapr2qvsqoschecb51sfak1rsq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20230427@175116.2642 vapr2qvsqoschecb51sfak1rsq 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'
20230427@175116.2787 vapr2qvsqoschecb51sfak1rsq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='304.421.00.04' and bi.lordem =1
20230427@175116.3096 vapr2qvsqoschecb51sfak1rsq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20230427@175116.3251 vapr2qvsqoschecb51sfak1rsq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.499.00.01' and bi.lordem =2
20230427@175116.3578 vapr2qvsqoschecb51sfak1rsq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.959.00.01'
20230427@175116.3724 vapr2qvsqoschecb51sfak1rsq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 0 and bi.ref ='324.959.00.01' and bi.lordem =3
20230427@175116.4025 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4029 vapr2qvsqoschecb51sfak1rsq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175116.4042 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4045 vapr2qvsqoschecb51sfak1rsq Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175116.4056 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4059 vapr2qvsqoschecb51sfak1rsq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175116.4069 vapr2qvsqoschecb51sfak1rsq Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175116.4084 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4087 vapr2qvsqoschecb51sfak1rsq Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20230427@175116.4191 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4194 vapr2qvsqoschecb51sfak1rsq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175116.4206 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4210 vapr2qvsqoschecb51sfak1rsq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175116.4221 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4224 vapr2qvsqoschecb51sfak1rsq Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20230427@175116.4239 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4241 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from td where ndoc = 39
20230427@175116.4251 vapr2qvsqoschecb51sfak1rsq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175116.4263 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175116.4277 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175116.4288 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175116.4314 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175116.4318 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175116.4325 vapr2qvsqoschecb51sfak1rsq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175116.4366 vapr2qvsqoschecb51sfak1rsq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175116.4377 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175116.4383 vapr2qvsqoschecb51sfak1rsq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa39379644aa80469' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.4388 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175116.4400 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175116.4404 vapr2qvsqoschecb51sfak1rsq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa39379644aa80469',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.4409 vapr2qvsqoschecb51sfak1rsq Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175116.4420 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175116.4432 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175116.4444 vapr2qvsqoschecb51sfak1rsq Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa39379644aa80469',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',29,101900,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175116.4737 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.4741 vapr2qvsqoschecb51sfak1rsq Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230427@175116.4754 vapr2qvsqoschecb51sfak1rsq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20230427@175116.4903 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.4917 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175116.4927 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.4940 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175116.4944 vapr2qvsqoschecb51sfak1rsq Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230427@175116.4955 vapr2qvsqoschecb51sfak1rsq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175116.4965 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.4977 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175116.4987 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa08507644aa80479',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',68 ,'aut644aa39379644aa80469' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175116.5240 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.5254 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175116.5259 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa08507644aa80479','aut644aa39379644aa80469' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.5264 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.5277 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175116.5287 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.5299 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175116.5303 vapr2qvsqoschecb51sfak1rsq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175116.5313 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.5325 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175116.5335 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa30239644aa80481',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa39379644aa80469' ,0,0 ,2,23.00,20000,?,?,?)
20230427@175116.5594 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.5611 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175116.5616 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa30239644aa80481','aut644aa39379644aa80469' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.5620 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.5624 vapr2qvsqoschecb51sfak1rsq Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20230427@175116.5636 vapr2qvsqoschecb51sfak1rsq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20230427@175116.5790 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.5806 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175116.5817 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.5831 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175116.5836 vapr2qvsqoschecb51sfak1rsq Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20230427@175116.5848 vapr2qvsqoschecb51sfak1rsq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175116.5861 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.5892 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175116.5903 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa82864644aa8048f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644aa39379644aa80469' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175116.6199 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.6216 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175116.6221 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa82864644aa8048f','aut644aa39379644aa80469' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.6225 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.6228 vapr2qvsqoschecb51sfak1rsq Query : select st.usalote valor from st where st.ref = '324.959.00.01'
20230427@175116.6240 vapr2qvsqoschecb51sfak1rsq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.959.00.01'
20230427@175116.6391 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.6412 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175116.6422 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.6435 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175116.6439 vapr2qvsqoschecb51sfak1rsq Query : select sestamp valor from se where ref ='324.959.00.01' and lote = 'r2100174200a'
20230427@175116.6450 vapr2qvsqoschecb51sfak1rsq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175116.6460 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175116.6471 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175116.6481 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa75148644aa8049d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644aa39379644aa80469' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230427@175116.6773 vapr2qvsqoschecb51sfak1rsq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175116.7000 vapr2qvsqoschecb51sfak1rsq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175116.7006 vapr2qvsqoschecb51sfak1rsq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa75148644aa8049d','aut644aa39379644aa80469' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175116.7011 vapr2qvsqoschecb51sfak1rsq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa39379644aa80469','','wait',39,'ari17112337378,753000005')
20230427@175116.7062 vapr2qvsqoschecb51sfak1rsq Query : use flama_phc
20230427@175116.7065 vapr2qvsqoschecb51sfak1rsq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175116.7076 vapr2qvsqoschecb51sfak1rsq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='75';
20230427@175116.7088 vapr2qvsqoschecb51sfak1rsq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='75';
20230427@175116.7097 vapr2qvsqoschecb51sfak1rsq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='75';
20230427@175116.7107 vapr2qvsqoschecb51sfak1rsq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='75';
20230427@175118.9970 l7ce0m6ahsanq6g2l12qoua4pb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175118.1010 l7ce0m6ahsanq6g2l12qoua4pb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175118.1027 l7ce0m6ahsanq6g2l12qoua4pb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='76';
20230427@175118.1081 l7ce0m6ahsanq6g2l12qoua4pb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='76';
20230427@175118.1092 l7ce0m6ahsanq6g2l12qoua4pb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='76';
20230427@175118.1104 l7ce0m6ahsanq6g2l12qoua4pb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='76';
20230427@175118.1114 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.1117 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175118.1309 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.1337 l7ce0m6ahsanq6g2l12qoua4pb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20230427@175118.1443 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20230427@175118.1605 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='304.4320.00.1' and bi.lordem =1
20230427@175118.1929 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.1932 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175118.1945 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.1948 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175118.1958 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.1960 l7ce0m6ahsanq6g2l12qoua4pb Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175118.1971 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175118.1985 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.1987 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230427@175118.2096 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.2099 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175118.2110 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.2113 l7ce0m6ahsanq6g2l12qoua4pb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175118.2215 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.2232 l7ce0m6ahsanq6g2l12qoua4pb Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20230427@175118.2332 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.2336 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from td where ndoc = 39
20230427@175118.2346 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175118.2357 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175118.2371 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175118.2381 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175118.2393 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175118.2397 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175118.2403 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175118.2445 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175118.2454 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175118.2460 l7ce0m6ahsanq6g2l12qoua4pb Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa50163644aa8063a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175118.2465 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175118.2477 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175118.2481 l7ce0m6ahsanq6g2l12qoua4pb Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa50163644aa8063a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175118.2485 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175118.2495 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175118.2507 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175118.2516 l7ce0m6ahsanq6g2l12qoua4pb Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa50163644aa8063a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30,101597,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175118.2819 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.2824 l7ce0m6ahsanq6g2l12qoua4pb Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230427@175118.2836 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20230427@175118.2988 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175118.3003 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175118.3014 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175118.3028 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175118.3032 l7ce0m6ahsanq6g2l12qoua4pb Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230547'
20230427@175118.3044 l7ce0m6ahsanq6g2l12qoua4pb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175118.3054 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175118.3067 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175118.3079 l7ce0m6ahsanq6g2l12qoua4pb Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa50343644aa8064a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80 ,'aut644aa50163644aa8063a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175118.3334 l7ce0m6ahsanq6g2l12qoua4pb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175118.3349 l7ce0m6ahsanq6g2l12qoua4pb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175118.3353 l7ce0m6ahsanq6g2l12qoua4pb Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa50343644aa8064a','aut644aa50163644aa8063a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175118.3359 l7ce0m6ahsanq6g2l12qoua4pb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa50163644aa8063a','','wait',39,'ari17112337378,753000005')
20230427@175118.3376 l7ce0m6ahsanq6g2l12qoua4pb Query : use flama_phc
20230427@175118.3379 l7ce0m6ahsanq6g2l12qoua4pb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175118.3390 l7ce0m6ahsanq6g2l12qoua4pb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='76';
20230427@175118.3402 l7ce0m6ahsanq6g2l12qoua4pb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='76';
20230427@175118.3412 l7ce0m6ahsanq6g2l12qoua4pb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='76';
20230427@175118.3424 l7ce0m6ahsanq6g2l12qoua4pb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='76';
20230427@175118.4480 8qv8rtoh4lu3rv1941gsnol33u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175118.4494 8qv8rtoh4lu3rv1941gsnol33u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175118.4509 8qv8rtoh4lu3rv1941gsnol33u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='77';
20230427@175118.4548 8qv8rtoh4lu3rv1941gsnol33u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='77';
20230427@175118.4559 8qv8rtoh4lu3rv1941gsnol33u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='77';
20230427@175118.4571 8qv8rtoh4lu3rv1941gsnol33u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='77';
20230427@175118.4580 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.4584 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175118.4597 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.4600 8qv8rtoh4lu3rv1941gsnol33u Query : select no, estab,szadrsdesc from szadrs where u_coddest=4782
20230427@175118.4672 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20230427@175118.4684 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.499.00.01' and bi.lordem =1
20230427@175118.5084 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20230427@175118.5241 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.4970.00.1' and bi.lordem =2
20230427@175118.5964 8qv8rtoh4lu3rv1941gsnol33u 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'
20230427@175118.6519 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1705.00.1' and bi.lordem =3
20230427@175118.6833 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.6837 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175118.6849 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.6852 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175118.6862 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.6865 8qv8rtoh4lu3rv1941gsnol33u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175118.6876 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175118.6890 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.6893 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 ~inactivo valor from cl where no = '101848' and estab = 0 order by inactivo desc
20230427@175118.7004 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.7007 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175118.7018 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.7021 8qv8rtoh4lu3rv1941gsnol33u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175118.7032 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.7035 8qv8rtoh4lu3rv1941gsnol33u Query : select szadrsstamp valor from szadrs where szadrsdesc='101848 - media markt braga-prod.inf.e eelect.,lda'
20230427@175118.7048 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.7051 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from td where ndoc = 39
20230427@175118.7060 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175118.7072 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175118.7085 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175118.7095 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175118.7108 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175118.7112 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175118.7119 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175118.7158 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175118.7168 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175118.7174 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa91555644aa806ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175118.7179 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175118.7191 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175118.7195 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa91555644aa806ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175118.7199 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175118.7209 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175118.7222 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175118.7233 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa91555644aa806ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',31,101848,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175118.7568 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.7649 8qv8rtoh4lu3rv1941gsnol33u Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20230427@175118.8666 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20230427@175118.9011 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175118.9027 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175118.9038 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175118.9052 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175118.9058 8qv8rtoh4lu3rv1941gsnol33u Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20230427@175118.9070 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175118.9081 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175118.9095 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175118.9107 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa33152644aa806dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa91555644aa806ad' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175118.9367 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175118.9384 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175118.9389 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa33152644aa806dd','aut644aa91555644aa806ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175118.9393 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.9397 8qv8rtoh4lu3rv1941gsnol33u Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230427@175118.9409 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20230427@175118.9563 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175118.9577 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175118.9587 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175118.9601 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175118.9606 8qv8rtoh4lu3rv1941gsnol33u Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230427@175118.9618 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175118.9628 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175118.9641 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175118.9651 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa21394644aa806eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644aa91555644aa806ad' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175118.9914 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175118.9930 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175118.9934 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa21394644aa806eb','aut644aa91555644aa806ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175118.9939 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175118.9942 8qv8rtoh4lu3rv1941gsnol33u Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230427@175118.9955 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1705.00.1'
20230427@175119.1120 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175119.1260 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175119.1370 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175119.1500 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175119.1550 8qv8rtoh4lu3rv1941gsnol33u Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230427@175119.1670 8qv8rtoh4lu3rv1941gsnol33u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175119.1780 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175119.1910 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175119.2020 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa48933644aa80704',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa91555644aa806ad' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230427@175119.4650 8qv8rtoh4lu3rv1941gsnol33u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175119.4930 8qv8rtoh4lu3rv1941gsnol33u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175119.4980 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa48933644aa80704','aut644aa91555644aa806ad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175119.5030 8qv8rtoh4lu3rv1941gsnol33u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa91555644aa806ad','','wait',39,'ari17112337378,753000005')
20230427@175119.5200 8qv8rtoh4lu3rv1941gsnol33u Query : use flama_phc
20230427@175119.5230 8qv8rtoh4lu3rv1941gsnol33u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175119.5340 8qv8rtoh4lu3rv1941gsnol33u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='77';
20230427@175119.5460 8qv8rtoh4lu3rv1941gsnol33u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='77';
20230427@175119.5550 8qv8rtoh4lu3rv1941gsnol33u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='77';
20230427@175119.5660 8qv8rtoh4lu3rv1941gsnol33u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='77';
20230427@175119.6005 945au11a9anisktu13pa7mlnkb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175119.6030 945au11a9anisktu13pa7mlnkb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175119.6043 945au11a9anisktu13pa7mlnkb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='78';
20230427@175119.6080 945au11a9anisktu13pa7mlnkb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='78';
20230427@175119.6105 945au11a9anisktu13pa7mlnkb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='78';
20230427@175119.6116 945au11a9anisktu13pa7mlnkb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='78';
20230427@175119.6142 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6145 945au11a9anisktu13pa7mlnkb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175119.6157 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6160 945au11a9anisktu13pa7mlnkb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20230427@175119.6236 945au11a9anisktu13pa7mlnkb 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'
20230427@175119.6396 945au11a9anisktu13pa7mlnkb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 8 and bi.ref ='324.1461.00.1' and bi.lordem =1
20230427@175119.6708 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6712 945au11a9anisktu13pa7mlnkb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175119.6727 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6730 945au11a9anisktu13pa7mlnkb Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175119.6740 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6743 945au11a9anisktu13pa7mlnkb Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175119.6755 945au11a9anisktu13pa7mlnkb Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175119.6771 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6775 945au11a9anisktu13pa7mlnkb Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20230427@175119.6913 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6919 945au11a9anisktu13pa7mlnkb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175119.6930 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6933 945au11a9anisktu13pa7mlnkb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175119.6944 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6947 945au11a9anisktu13pa7mlnkb Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20230427@175119.6960 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.6963 945au11a9anisktu13pa7mlnkb Query : select 1 valor from td where ndoc = 39
20230427@175119.6973 945au11a9anisktu13pa7mlnkb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175119.6985 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175119.6998 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175119.7009 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175119.7024 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175119.7029 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175119.7036 945au11a9anisktu13pa7mlnkb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175119.7078 945au11a9anisktu13pa7mlnkb Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175119.7089 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175119.7096 945au11a9anisktu13pa7mlnkb Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa19275644aa807ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175119.7101 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175119.7114 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175119.7119 945au11a9anisktu13pa7mlnkb Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa19275644aa807ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175119.7124 945au11a9anisktu13pa7mlnkb Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175119.7136 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175119.7170 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175119.7181 945au11a9anisktu13pa7mlnkb Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa19275644aa807ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32,100800,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175119.7481 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.7485 945au11a9anisktu13pa7mlnkb Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20230427@175119.7497 945au11a9anisktu13pa7mlnkb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1461.00.1'
20230427@175119.7699 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175119.7713 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175119.7724 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175119.7737 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175119.7742 945au11a9anisktu13pa7mlnkb Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100211200a'
20230427@175119.7756 945au11a9anisktu13pa7mlnkb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175119.7767 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175119.7779 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175119.7789 945au11a9anisktu13pa7mlnkb Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa78661644aa807bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa19275644aa807ab' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175119.8055 945au11a9anisktu13pa7mlnkb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175119.8915 945au11a9anisktu13pa7mlnkb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175119.8922 945au11a9anisktu13pa7mlnkb Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa78661644aa807bd','aut644aa19275644aa807ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175119.8927 945au11a9anisktu13pa7mlnkb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa19275644aa807ab','','wait',39,'ari17112337378,753000005')
20230427@175119.8943 945au11a9anisktu13pa7mlnkb Query : use flama_phc
20230427@175119.8946 945au11a9anisktu13pa7mlnkb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175119.8957 945au11a9anisktu13pa7mlnkb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='78';
20230427@175119.8967 945au11a9anisktu13pa7mlnkb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='78';
20230427@175119.8977 945au11a9anisktu13pa7mlnkb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='78';
20230427@175119.8987 945au11a9anisktu13pa7mlnkb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='78';
20230427@175119.9645 lgoi1od2n70v297p8ge9r8pj6i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175119.9658 lgoi1od2n70v297p8ge9r8pj6i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175119.9673 lgoi1od2n70v297p8ge9r8pj6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='79';
20230427@175119.9707 lgoi1od2n70v297p8ge9r8pj6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='79';
20230427@175119.9719 lgoi1od2n70v297p8ge9r8pj6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='79';
20230427@175119.9742 lgoi1od2n70v297p8ge9r8pj6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='79';
20230427@175119.9753 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9756 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175119.9769 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9775 lgoi1od2n70v297p8ge9r8pj6i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20230427@175119.9809 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20230427@175119.9822 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 9 and bi.ref ='304.422.00.07' and bi.lordem =1
20230427@175119.9829 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9834 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175119.9849 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9853 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175119.9864 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9867 lgoi1od2n70v297p8ge9r8pj6i Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175119.9878 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175119.9892 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9896 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 ~inactivo valor from cl where no = '100800' and estab = 0 order by inactivo desc
20230427@175119.9907 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9911 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175119.9923 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9927 lgoi1od2n70v297p8ge9r8pj6i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175119.9938 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9941 lgoi1od2n70v297p8ge9r8pj6i Query : select szadrsstamp valor from szadrs where szadrsdesc='100800 - modelo continente hipermercados, sa'
20230427@175119.9955 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175119.9957 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from td where ndoc = 39
20230427@175119.9967 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175119.9978 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175119.9993 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175120.3000 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175120.1700 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175120.2100 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175120.2700 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175120.6800 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175120.7900 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175120.8600 lgoi1od2n70v297p8ge9r8pj6i Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa97519644aa80800' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.9100 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175120.1040 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175120.1080 lgoi1od2n70v297p8ge9r8pj6i Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa97519644aa80800',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.1140 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175120.1250 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175120.1390 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175120.1490 lgoi1od2n70v297p8ge9r8pj6i Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa97519644aa80800',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',33,100800,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175120.4380 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175120.4420 lgoi1od2n70v297p8ge9r8pj6i Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230427@175120.4540 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20230427@175120.4650 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.4800 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175120.4910 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.5040 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175120.5080 lgoi1od2n70v297p8ge9r8pj6i Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230163'
20230427@175120.5310 lgoi1od2n70v297p8ge9r8pj6i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175120.5410 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.5550 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175120.5660 lgoi1od2n70v297p8ge9r8pj6i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa51941644aa8080d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120 ,'aut644aa97519644aa80800' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175120.8250 lgoi1od2n70v297p8ge9r8pj6i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.8390 lgoi1od2n70v297p8ge9r8pj6i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175120.8440 lgoi1od2n70v297p8ge9r8pj6i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa51941644aa8080d','aut644aa97519644aa80800' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.8490 lgoi1od2n70v297p8ge9r8pj6i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa97519644aa80800','','wait',39,'ari17112337378,753000005')
20230427@175120.8640 lgoi1od2n70v297p8ge9r8pj6i Query : use flama_phc
20230427@175120.8670 lgoi1od2n70v297p8ge9r8pj6i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175120.8780 lgoi1od2n70v297p8ge9r8pj6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='79';
20230427@175120.8890 lgoi1od2n70v297p8ge9r8pj6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='79';
20230427@175120.8990 lgoi1od2n70v297p8ge9r8pj6i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='79';
20230427@175120.9090 lgoi1od2n70v297p8ge9r8pj6i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='79';
20230427@175120.1362 8ejsrme3c7cfmvh8ni0f4m99ml Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175120.1375 8ejsrme3c7cfmvh8ni0f4m99ml Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175120.1390 8ejsrme3c7cfmvh8ni0f4m99ml Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='80';
20230427@175120.1447 8ejsrme3c7cfmvh8ni0f4m99ml Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='80';
20230427@175120.1459 8ejsrme3c7cfmvh8ni0f4m99ml Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='80';
20230427@175120.1470 8ejsrme3c7cfmvh8ni0f4m99ml Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='80';
20230427@175120.1480 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.1483 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175120.1496 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.1499 8ejsrme3c7cfmvh8ni0f4m99ml Query : select no, estab,szadrsdesc from szadrs where u_coddest=3658
20230427@175120.1573 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230427@175120.1732 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.670.00.01' and bi.lordem =1
20230427@175120.2058 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2062 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175120.2074 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2078 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175120.2087 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2090 8ejsrme3c7cfmvh8ni0f4m99ml Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175120.2101 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175120.2114 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2117 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 ~inactivo valor from cl where no = '102488' and estab = 0 order by inactivo desc
20230427@175120.2221 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2225 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175120.2235 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2237 8ejsrme3c7cfmvh8ni0f4m99ml Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175120.2247 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2250 8ejsrme3c7cfmvh8ni0f4m99ml Query : select szadrsstamp valor from szadrs where szadrsdesc='kühne + nagel, s.a.'
20230427@175120.2262 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2265 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from td where ndoc = 39
20230427@175120.2277 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175120.2288 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175120.2301 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175120.2310 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175120.2322 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175120.2326 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175120.2332 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175120.2373 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175120.2382 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175120.2455 8ejsrme3c7cfmvh8ni0f4m99ml Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa56565644aa80838' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.2460 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175120.2472 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175120.2476 8ejsrme3c7cfmvh8ni0f4m99ml Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa56565644aa80838',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.2481 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175120.2491 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175120.2503 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175120.2514 8ejsrme3c7cfmvh8ni0f4m99ml Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa56565644aa80838',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',34,102488,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175120.2794 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.2798 8ejsrme3c7cfmvh8ni0f4m99ml Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230427@175120.2810 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.670.00.01'
20230427@175120.2999 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.3013 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175120.3023 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.3041 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175120.3045 8ejsrme3c7cfmvh8ni0f4m99ml Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230427@175120.3056 8ejsrme3c7cfmvh8ni0f4m99ml Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175120.3066 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.3077 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175120.3086 8ejsrme3c7cfmvh8ni0f4m99ml Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa66977644aa8084a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',33 ,'aut644aa56565644aa80838' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175120.3378 8ejsrme3c7cfmvh8ni0f4m99ml Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.3393 8ejsrme3c7cfmvh8ni0f4m99ml Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175120.3397 8ejsrme3c7cfmvh8ni0f4m99ml Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa66977644aa8084a','aut644aa56565644aa80838' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.3402 8ejsrme3c7cfmvh8ni0f4m99ml Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa56565644aa80838','','wait',39,'ari17112337378,753000005')
20230427@175120.3417 8ejsrme3c7cfmvh8ni0f4m99ml Query : use flama_phc
20230427@175120.3420 8ejsrme3c7cfmvh8ni0f4m99ml Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175120.3431 8ejsrme3c7cfmvh8ni0f4m99ml Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='80';
20230427@175120.3441 8ejsrme3c7cfmvh8ni0f4m99ml Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='80';
20230427@175120.3451 8ejsrme3c7cfmvh8ni0f4m99ml Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='80';
20230427@175120.3460 8ejsrme3c7cfmvh8ni0f4m99ml Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='80';
20230427@175120.5010 5b93b0c2bhg6nue65hbs3knagd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175120.5023 5b93b0c2bhg6nue65hbs3knagd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175120.5035 5b93b0c2bhg6nue65hbs3knagd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='81';
20230427@175120.5072 5b93b0c2bhg6nue65hbs3knagd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='81';
20230427@175120.5082 5b93b0c2bhg6nue65hbs3knagd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='81';
20230427@175120.5092 5b93b0c2bhg6nue65hbs3knagd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='81';
20230427@175120.5101 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.5105 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175120.5116 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.5119 5b93b0c2bhg6nue65hbs3knagd Query : select no, estab,szadrsdesc from szadrs where u_coddest=339
20230427@175120.5190 5b93b0c2bhg6nue65hbs3knagd 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'
20230427@175120.5347 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.727.00.01' and bi.lordem =2
20230427@175120.5664 5b93b0c2bhg6nue65hbs3knagd 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'
20230427@175120.5816 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.2031.00.1' and bi.lordem =3
20230427@175120.6793 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.6835 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175120.6858 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.6861 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175120.6872 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.6875 5b93b0c2bhg6nue65hbs3knagd Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175120.6885 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175120.6900 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.6905 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 ~inactivo valor from cl where no = '102177' and estab = 0 order by inactivo desc
20230427@175120.7031 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.7034 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175120.7045 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.7048 5b93b0c2bhg6nue65hbs3knagd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175120.7059 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.7062 5b93b0c2bhg6nue65hbs3knagd Query : select szadrsstamp valor from szadrs where szadrsdesc='electrÃo, lda.'
20230427@175120.7075 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.7078 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from td where ndoc = 39
20230427@175120.7089 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175120.7100 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175120.7113 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175120.7122 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175120.7134 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175120.7138 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175120.7144 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175120.7183 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175120.7192 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175120.7198 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa25368644aa808ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.7204 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175120.7219 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175120.7223 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa25368644aa808ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.7228 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175120.7263 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175120.7279 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175120.7288 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa25368644aa808ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',35,102177,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175120.7585 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.7589 5b93b0c2bhg6nue65hbs3knagd Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20230427@175120.7601 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20230427@175120.7755 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.7770 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175120.7779 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.7791 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175120.7796 5b93b0c2bhg6nue65hbs3knagd Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2101251200a'
20230427@175120.7808 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175120.7818 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.7831 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175120.7841 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa61303644aa808be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644aa25368644aa808ae' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175120.8098 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.8114 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175120.8120 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa61303644aa808be','aut644aa25368644aa808ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.8126 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.8141 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175120.8152 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.8164 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175120.8168 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175120.8178 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.8190 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175120.8201 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa54418644aa808c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa25368644aa808ae' ,0,0 ,2,23.00,20000,?,?,?)
20230427@175120.8467 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.8485 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175120.8490 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa54418644aa808c7','aut644aa25368644aa808ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175120.8495 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175120.8498 5b93b0c2bhg6nue65hbs3knagd Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20230427@175120.8511 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20230427@175120.8685 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.8699 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175120.8708 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175120.8725 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175120.8729 5b93b0c2bhg6nue65hbs3knagd Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20230427@175120.8740 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175120.8823 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175120.8838 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175120.8848 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa76146644aa808d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644aa25368644aa808ae' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175120.9272 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.5400 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175121.5450 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa76146644aa808d7','aut644aa25368644aa808ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175121.5510 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.5650 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175121.5750 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.5880 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175121.5930 5b93b0c2bhg6nue65hbs3knagd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175121.6030 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.6160 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175121.6260 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa02970644aa8090e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa25368644aa808ae' ,0,0 ,2,23.00,50000,?,?,?)
20230427@175121.8920 5b93b0c2bhg6nue65hbs3knagd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.9070 5b93b0c2bhg6nue65hbs3knagd Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175121.9120 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa02970644aa8090e','aut644aa25368644aa808ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175121.9170 5b93b0c2bhg6nue65hbs3knagd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa25368644aa808ae','','wait',39,'ari17112337378,753000005')
20230427@175121.9520 5b93b0c2bhg6nue65hbs3knagd Query : use flama_phc
20230427@175121.9550 5b93b0c2bhg6nue65hbs3knagd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175121.9700 5b93b0c2bhg6nue65hbs3knagd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='81';
20230427@175121.9810 5b93b0c2bhg6nue65hbs3knagd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='81';
20230427@175121.9910 5b93b0c2bhg6nue65hbs3knagd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='81';
20230427@175121.1001 5b93b0c2bhg6nue65hbs3knagd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='81';
20230427@175121.1467 3jdi23hs13ptjht6uuc69hguvl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175121.1479 3jdi23hs13ptjht6uuc69hguvl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175121.1493 3jdi23hs13ptjht6uuc69hguvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='82';
20230427@175121.1532 3jdi23hs13ptjht6uuc69hguvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='82';
20230427@175121.1546 3jdi23hs13ptjht6uuc69hguvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='82';
20230427@175121.1557 3jdi23hs13ptjht6uuc69hguvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='82';
20230427@175121.1568 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.1571 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175121.1585 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.1589 3jdi23hs13ptjht6uuc69hguvl Query : select no, estab,szadrsdesc from szadrs where u_coddest=2140
20230427@175121.1673 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20230427@175121.1833 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1676.00.1' and bi.lordem =1
20230427@175121.2233 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20230427@175121.2244 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.5500.00.1' and bi.lordem =2
20230427@175121.3084 3jdi23hs13ptjht6uuc69hguvl 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'
20230427@175121.3539 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1536.00.1' and bi.lordem =3
20230427@175121.3861 3jdi23hs13ptjht6uuc69hguvl 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'
20230427@175121.4018 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1716.00.1' and bi.lordem =4
20230427@175121.4326 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20230427@175121.4479 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1816.00.1' and bi.lordem =5
20230427@175121.4931 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20230427@175121.5228 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1803.00.1' and bi.lordem =6
20230427@175121.5744 3jdi23hs13ptjht6uuc69hguvl 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'
20230427@175121.5912 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1221.00.1' and bi.lordem =7
20230427@175121.6233 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6236 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175121.6250 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6253 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175121.6262 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6265 3jdi23hs13ptjht6uuc69hguvl Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175121.6276 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175121.6291 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6294 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 ~inactivo valor from cl where no = '100413' and estab = 0 order by inactivo desc
20230427@175121.6402 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6406 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175121.6418 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6421 3jdi23hs13ptjht6uuc69hguvl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175121.6431 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6434 3jdi23hs13ptjht6uuc69hguvl Query : select szadrsstamp valor from szadrs where szadrsdesc='eugenio domingos jesus ladeira'
20230427@175121.6447 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6450 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from td where ndoc = 39
20230427@175121.6460 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175121.6471 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175121.6485 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175121.6496 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175121.6509 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175121.6514 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175121.6520 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175121.6560 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175121.6570 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175121.6576 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175121.6581 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175121.6592 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175121.6597 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa71269644aa8099f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175121.6601 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175121.6612 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175121.6624 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175121.6634 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa71269644aa8099f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36,100413,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175121.6935 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.6939 3jdi23hs13ptjht6uuc69hguvl Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230427@175121.6951 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20230427@175121.7100 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.7114 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175121.7125 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.7137 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175121.7141 3jdi23hs13ptjht6uuc69hguvl Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230427@175121.7152 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175121.7162 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.7174 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175121.7186 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa63132644aa809ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175121.7571 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.7591 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175121.7595 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa63132644aa809ae','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175121.7600 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.7604 3jdi23hs13ptjht6uuc69hguvl Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230427@175121.7705 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20230427@175121.7763 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.7778 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175121.7787 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.7800 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175121.7804 3jdi23hs13ptjht6uuc69hguvl Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230427@175121.7814 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175121.7825 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.7839 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175121.7850 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa09397644aa809bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175121.8112 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.8127 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175121.8132 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa09397644aa809bf','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175121.8136 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.8139 3jdi23hs13ptjht6uuc69hguvl Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20230427@175121.8152 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1536.00.1'
20230427@175121.8310 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.8324 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175121.8333 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.8363 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175121.8367 3jdi23hs13ptjht6uuc69hguvl Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100241100a'
20230427@175121.8377 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175121.8386 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.8397 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175121.8407 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa34955644aa809cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230427@175121.8671 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.8689 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175121.8695 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa34955644aa809cc','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175121.8701 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175121.8705 3jdi23hs13ptjht6uuc69hguvl Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20230427@175121.8719 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1716.00.1'
20230427@175121.8944 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.8960 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175121.8974 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175121.8988 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175121.8993 3jdi23hs13ptjht6uuc69hguvl Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100893150a'
20230427@175121.9007 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175121.9019 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175121.9033 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175121.9044 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa40060644aa809dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175121.9556 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.7800 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.8300 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa40060644aa809dc','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.8800 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175122.9200 3jdi23hs13ptjht6uuc69hguvl Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230427@175122.1040 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20230427@175122.4050 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.4210 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.4320 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.4460 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.4500 3jdi23hs13ptjht6uuc69hguvl Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230427@175122.4610 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.4710 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.4830 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.4920 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa98416644aa80a0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230427@175122.7650 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.7800 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.7840 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa98416644aa80a0b','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.7890 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.8010 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.8110 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.8230 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.8270 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.8360 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.8480 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.8570 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa76253644aa80a14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,60000,?,?,?)
20230427@175122.1131 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.1153 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.1160 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa76253644aa80a14','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.1165 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175122.1168 3jdi23hs13ptjht6uuc69hguvl Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20230427@175122.1180 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20230427@175122.1331 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.1345 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.1354 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.1367 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.1372 3jdi23hs13ptjht6uuc69hguvl Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2200669200a'
20230427@175122.1383 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.1392 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.1405 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.1415 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa64037644aa80a21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230427@175122.1667 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.1683 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.1688 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa64037644aa80a21','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.1692 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175122.1695 3jdi23hs13ptjht6uuc69hguvl Query : select st.usalote valor from st where st.ref = '324.1221.00.1'
20230427@175122.1707 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1221.00.1'
20230427@175122.1854 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.1868 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.1878 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.1891 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.1898 3jdi23hs13ptjht6uuc69hguvl Query : select sestamp valor from se where ref ='324.1221.00.1' and lote = 'r2101229200a'
20230427@175122.1909 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.1921 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.1949 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.1959 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa53144644aa80a2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20230427@175122.2222 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.2240 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.2245 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa53144644aa80a2e','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.2251 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.2266 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.2278 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.2290 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.2294 3jdi23hs13ptjht6uuc69hguvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.2304 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.2317 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.2327 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa90981644aa80a38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa71269644aa8099f' ,0,0 ,2,23.00,100000,?,?,?)
20230427@175122.2602 3jdi23hs13ptjht6uuc69hguvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.2619 3jdi23hs13ptjht6uuc69hguvl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.2624 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa90981644aa80a38','aut644aa71269644aa8099f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.2628 3jdi23hs13ptjht6uuc69hguvl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa71269644aa8099f','','wait',39,'ari17112337378,753000005')
20230427@175122.2659 3jdi23hs13ptjht6uuc69hguvl Query : use flama_phc
20230427@175122.2662 3jdi23hs13ptjht6uuc69hguvl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175122.2674 3jdi23hs13ptjht6uuc69hguvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='82';
20230427@175122.2686 3jdi23hs13ptjht6uuc69hguvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='82';
20230427@175122.2696 3jdi23hs13ptjht6uuc69hguvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='82';
20230427@175122.2707 3jdi23hs13ptjht6uuc69hguvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='82';
20230427@175122.3129 b8i130dg8nk9dpa7893k7um3ra Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175122.3141 b8i130dg8nk9dpa7893k7um3ra Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175122.3154 b8i130dg8nk9dpa7893k7um3ra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='83';
20230427@175122.3192 b8i130dg8nk9dpa7893k7um3ra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='83';
20230427@175122.3205 b8i130dg8nk9dpa7893k7um3ra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='83';
20230427@175122.3215 b8i130dg8nk9dpa7893k7um3ra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='83';
20230427@175122.3225 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.3228 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175122.3241 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.3244 b8i130dg8nk9dpa7893k7um3ra Query : select no, estab,szadrsdesc from szadrs where u_coddest=3155
20230427@175122.3318 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20230427@175122.3476 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1879.00.1' and bi.lordem =1
20230427@175122.3811 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20230427@175122.3963 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1837.00.1' and bi.lordem =2
20230427@175122.5092 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1888.00.1'
20230427@175122.5268 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1888.00.1' and bi.lordem =3
20230427@175122.5576 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1557.00.1'
20230427@175122.5729 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 6 and bi.ref ='324.1557.00.1' and bi.lordem =4
20230427@175122.6281 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6320 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175122.6335 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6338 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175122.6348 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6352 b8i130dg8nk9dpa7893k7um3ra Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175122.6364 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175122.6379 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6383 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 ~inactivo valor from cl where no = '101176' and estab = 0 order by inactivo desc
20230427@175122.6489 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6492 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175122.6504 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6507 b8i130dg8nk9dpa7893k7um3ra Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175122.6517 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6521 b8i130dg8nk9dpa7893k7um3ra Query : select szadrsstamp valor from szadrs where szadrsdesc='soares & filhos, lda.-entrega'
20230427@175122.6534 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.6537 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from td where ndoc = 39
20230427@175122.6546 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175122.6558 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175122.6571 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175122.6581 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175122.6593 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175122.6597 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175122.6604 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175122.6644 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175122.6654 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175122.6661 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa60950644aa80aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.6665 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175122.6678 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175122.6688 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa60950644aa80aa1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.6692 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175122.6703 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175122.6716 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175122.6725 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa60950644aa80aa1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',37,101176,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175122.7005 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.7009 b8i130dg8nk9dpa7893k7um3ra Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230427@175122.7021 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230427@175122.7165 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.7180 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.7191 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.7205 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.7210 b8i130dg8nk9dpa7893k7um3ra Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230427@175122.7222 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.7232 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.7245 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.7256 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa60312644aa80ab0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa60950644aa80aa1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175122.7632 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.7753 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.7758 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa60312644aa80ab0','aut644aa60950644aa80aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.7764 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.7777 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.7787 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.7799 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.7803 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.7813 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.7825 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.7834 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa25913644aa80abe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa60950644aa80aa1' ,0,0 ,2,23.00,20000,?,?,?)
20230427@175122.8135 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.8356 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.8361 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa25913644aa80abe','aut644aa60950644aa80aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.8366 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.8369 b8i130dg8nk9dpa7893k7um3ra Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20230427@175122.8380 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20230427@175122.8528 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.8541 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.8550 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.8562 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.8566 b8i130dg8nk9dpa7893k7um3ra Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2200668100a'
20230427@175122.8576 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.8585 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.8596 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.8606 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa00028644aa80ad1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa60950644aa80aa1' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175122.8858 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.8874 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.8878 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa00028644aa80ad1','aut644aa60950644aa80aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.8882 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175122.8886 b8i130dg8nk9dpa7893k7um3ra Query : select st.usalote valor from st where st.ref = '324.1888.00.1'
20230427@175122.8897 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1888.00.1'
20230427@175122.9038 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.9051 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.9060 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.9072 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.9077 b8i130dg8nk9dpa7893k7um3ra Query : select sestamp valor from se where ref ='324.1888.00.1' and lote = 'r2200306100a'
20230427@175122.9089 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.9098 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.9110 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.9119 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa18089644aa80ade',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa60950644aa80aa1' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230427@175122.9507 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.9624 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175122.9629 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa18089644aa80ade','aut644aa60950644aa80aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175122.9634 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.9647 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175122.9712 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175122.9916 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175122.9921 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175122.9930 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175122.9943 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175122.9953 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa14001644aa80af2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa60950644aa80aa1' ,0,0 ,2,23.00,60000,?,?,?)
20230427@175123.2900 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.4820 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175123.5450 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa14001644aa80af2','aut644aa60950644aa80aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.5540 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175123.5580 b8i130dg8nk9dpa7893k7um3ra Query : select st.usalote valor from st where st.ref = '324.1557.00.1'
20230427@175123.5710 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1557.00.1'
20230427@175123.7320 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.7480 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175123.7600 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.7800 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175123.7990 b8i130dg8nk9dpa7893k7um3ra Query : select sestamp valor from se where ref ='324.1557.00.1' and lote = 'r2200786200a'
20230427@175123.8120 b8i130dg8nk9dpa7893k7um3ra Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175123.8230 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.8380 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175123.8520 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa92003644aa80b14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa60950644aa80aa1' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230427@175123.1119 b8i130dg8nk9dpa7893k7um3ra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.1135 b8i130dg8nk9dpa7893k7um3ra Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175123.1139 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa92003644aa80b14','aut644aa60950644aa80aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.1145 b8i130dg8nk9dpa7893k7um3ra Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa60950644aa80aa1','','wait',39,'ari17112337378,753000005')
20230427@175123.1162 b8i130dg8nk9dpa7893k7um3ra Query : use flama_phc
20230427@175123.1165 b8i130dg8nk9dpa7893k7um3ra Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175123.1176 b8i130dg8nk9dpa7893k7um3ra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='83';
20230427@175123.1191 b8i130dg8nk9dpa7893k7um3ra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='83';
20230427@175123.1200 b8i130dg8nk9dpa7893k7um3ra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='83';
20230427@175123.1210 b8i130dg8nk9dpa7893k7um3ra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='83';
20230427@175123.1876 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175123.1891 cq5n08m6pcj8g7tu31vh20o6j3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175123.1904 cq5n08m6pcj8g7tu31vh20o6j3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='84';
20230427@175123.1943 cq5n08m6pcj8g7tu31vh20o6j3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='84';
20230427@175123.1955 cq5n08m6pcj8g7tu31vh20o6j3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='84';
20230427@175123.1967 cq5n08m6pcj8g7tu31vh20o6j3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='84';
20230427@175123.1977 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.2005 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175123.2158 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.2177 cq5n08m6pcj8g7tu31vh20o6j3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2588
20230427@175123.2257 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230427@175123.2524 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.1684.00.1' and bi.lordem =1
20230427@175123.2879 cq5n08m6pcj8g7tu31vh20o6j3 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'
20230427@175123.3043 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.5540.00.1' and bi.lordem =2
20230427@175123.3812 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20230427@175123.3825 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.670.00.01' and bi.lordem =3
20230427@175123.4158 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20230427@175123.4241 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 7 and bi.ref ='324.719.00.01' and bi.lordem =4
20230427@175123.4563 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.4567 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175123.4580 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.4582 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175123.4592 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.4594 cq5n08m6pcj8g7tu31vh20o6j3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175123.4807 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175123.5518 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.5522 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 ~inactivo valor from cl where no = '102561' and estab = 0 order by inactivo desc
20230427@175123.5633 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.5636 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175123.5646 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.5649 cq5n08m6pcj8g7tu31vh20o6j3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175123.5659 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.5662 cq5n08m6pcj8g7tu31vh20o6j3 Query : select szadrsstamp valor from szadrs where szadrsdesc='caisdis sociedade de distribuiÇÃo s a'
20230427@175123.5674 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.5677 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from td where ndoc = 39
20230427@175123.5686 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175123.5696 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175123.5709 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175123.5733 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175123.5746 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175123.5750 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175123.5756 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175123.5795 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175123.5805 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175123.5811 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa65677644aa80b8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.5816 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175123.5829 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175123.5832 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa65677644aa80b8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.5837 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175123.5865 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175123.5876 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175123.5915 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa65677644aa80b8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',38,102561,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175123.6201 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.6205 cq5n08m6pcj8g7tu31vh20o6j3 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230427@175123.6218 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20230427@175123.6371 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.6385 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175123.6394 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.6407 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175123.6411 cq5n08m6pcj8g7tu31vh20o6j3 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230427@175123.6422 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175123.6431 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.6442 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175123.6451 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa00451644aa80b9d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644aa65677644aa80b8c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175123.6890 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.6955 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175123.6960 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa00451644aa80b9d','aut644aa65677644aa80b8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.6965 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.6969 cq5n08m6pcj8g7tu31vh20o6j3 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230427@175123.6979 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230427@175123.7203 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.7216 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175123.7226 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.7238 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175123.7242 cq5n08m6pcj8g7tu31vh20o6j3 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230427@175123.7252 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175123.7262 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.7277 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175123.7286 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa30931644aa80bb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644aa65677644aa80b8c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175123.7544 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.7558 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175123.7562 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa30931644aa80bb1','aut644aa65677644aa80b8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.7567 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.7610 cq5n08m6pcj8g7tu31vh20o6j3 Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230427@175123.7652 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.670.00.01'
20230427@175123.7662 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.7678 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175123.7687 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.7699 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175123.7703 cq5n08m6pcj8g7tu31vh20o6j3 Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230427@175123.7713 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175123.7723 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.7735 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175123.7744 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa89510644aa80bbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10 ,'aut644aa65677644aa80b8c' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230427@175123.7999 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.8012 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175123.8016 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa89510644aa80bbc','aut644aa65677644aa80b8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.8021 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.8023 cq5n08m6pcj8g7tu31vh20o6j3 Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20230427@175123.8033 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.719.00.01'
20230427@175123.8043 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.8055 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175123.8066 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.8079 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175123.8083 cq5n08m6pcj8g7tu31vh20o6j3 Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2100602100a'
20230427@175123.8092 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175123.8102 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.8114 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175123.8123 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa08184644aa80bc5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32 ,'aut644aa65677644aa80b8c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175123.8392 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.8407 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175123.8412 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa08184644aa80bc5','aut644aa65677644aa80b8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.8417 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.8430 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175123.8439 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.8452 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175123.8456 cq5n08m6pcj8g7tu31vh20o6j3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175123.8466 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175123.8477 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175123.8487 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa04900644aa80bce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa65677644aa80b8c' ,0,0 ,2,23.00,50000,?,?,?)
20230427@175123.8748 cq5n08m6pcj8g7tu31vh20o6j3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175123.8762 cq5n08m6pcj8g7tu31vh20o6j3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175123.8766 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa04900644aa80bce','aut644aa65677644aa80b8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175123.8772 cq5n08m6pcj8g7tu31vh20o6j3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa65677644aa80b8c','','wait',39,'ari17112337378,753000005')
20230427@175123.8795 cq5n08m6pcj8g7tu31vh20o6j3 Query : use flama_phc
20230427@175123.8797 cq5n08m6pcj8g7tu31vh20o6j3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175123.8809 cq5n08m6pcj8g7tu31vh20o6j3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='84';
20230427@175123.8819 cq5n08m6pcj8g7tu31vh20o6j3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='84';
20230427@175123.8828 cq5n08m6pcj8g7tu31vh20o6j3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='84';
20230427@175123.8838 cq5n08m6pcj8g7tu31vh20o6j3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='84';
20230427@175123.9280 smefaoufr6r9d3ppe1j4ro9jge Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175123.9294 smefaoufr6r9d3ppe1j4ro9jge Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175123.9309 smefaoufr6r9d3ppe1j4ro9jge Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='85';
20230427@175123.9357 smefaoufr6r9d3ppe1j4ro9jge Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='85';
20230427@175123.9369 smefaoufr6r9d3ppe1j4ro9jge Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='85';
20230427@175123.9379 smefaoufr6r9d3ppe1j4ro9jge Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='85';
20230427@175123.9388 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175123.9391 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175123.9404 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175123.9406 smefaoufr6r9d3ppe1j4ro9jge Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20230427@175123.9480 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1846.00.1'
20230427@175123.9632 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.1846.00.1' and bi.lordem =1
20230427@175123.9956 smefaoufr6r9d3ppe1j4ro9jge 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'
20230427@175124.1080 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.4902.00.1' and bi.lordem =2
20230427@175124.4130 smefaoufr6r9d3ppe1j4ro9jge 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'
20230427@175124.5680 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 1 and bi.ref ='324.4906.00.1' and bi.lordem =3
20230427@175124.8890 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.8930 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175124.9060 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.9090 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175124.9210 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.9240 smefaoufr6r9d3ppe1j4ro9jge Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175124.9390 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175124.9540 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.9580 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20230427@175124.1077 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.1080 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175124.1092 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.1095 smefaoufr6r9d3ppe1j4ro9jge Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175124.1106 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.1109 smefaoufr6r9d3ppe1j4ro9jge Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20230427@175124.1128 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.1133 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from td where ndoc = 39
20230427@175124.1160 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175124.1173 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175124.1187 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175124.1197 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175124.1216 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175124.1221 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175124.1228 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175124.1271 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175124.1281 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175124.1288 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa67223644aa80c1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.1299 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175124.1312 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175124.1317 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa67223644aa80c1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.1322 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175124.1333 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175124.1346 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175124.1356 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa67223644aa80c1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',39,100080,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175124.1652 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.1656 smefaoufr6r9d3ppe1j4ro9jge Query : select st.usalote valor from st where st.ref = '324.1846.00.1'
20230427@175124.1668 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1846.00.1'
20230427@175124.1814 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.1829 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.1849 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.1862 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.1866 smefaoufr6r9d3ppe1j4ro9jge Query : select sestamp valor from se where ref ='324.1846.00.1' and lote = 'r2200670200a'
20230427@175124.1877 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.1886 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.1898 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.1909 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa12572644aa80c2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5 ,'aut644aa67223644aa80c1d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175124.2168 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.2182 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175124.2189 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa12572644aa80c2e','aut644aa67223644aa80c1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.2194 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.2208 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.2219 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.2231 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.2236 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.2245 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.2258 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.2274 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa95222644aa80c36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa67223644aa80c1d' ,0,0 ,2,23.00,20000,?,?,?)
20230427@175124.2516 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.2531 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175124.2536 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa95222644aa80c36','aut644aa67223644aa80c1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.2541 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.2544 smefaoufr6r9d3ppe1j4ro9jge Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230427@175124.2556 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20230427@175124.2713 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.2728 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.2738 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.2752 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.2756 smefaoufr6r9d3ppe1j4ro9jge Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230427@175124.2768 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.2780 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.2793 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.2804 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa19232644aa80c43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644aa67223644aa80c1d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175124.3051 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.3068 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175124.3072 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa19232644aa80c43','aut644aa67223644aa80c1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.3077 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.3103 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.3113 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.3126 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.3130 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.3139 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.3151 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.3163 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa58232644aa80c4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa67223644aa80c1d' ,0,0 ,2,23.00,50000,?,?,?)
20230427@175124.3451 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.3467 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175124.3472 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa58232644aa80c4c','aut644aa67223644aa80c1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.3477 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.3481 smefaoufr6r9d3ppe1j4ro9jge Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230427@175124.3492 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20230427@175124.3653 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.3667 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.3677 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.3699 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.3703 smefaoufr6r9d3ppe1j4ro9jge Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2200756100a'
20230427@175124.3708 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.3720 smefaoufr6r9d3ppe1j4ro9jge Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.3732 smefaoufr6r9d3ppe1j4ro9jge Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.3741 smefaoufr6r9d3ppe1j4ro9jge Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa90793644aa80c5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644aa67223644aa80c1d' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230427@175124.4042 smefaoufr6r9d3ppe1j4ro9jge Query : use flama_phc
20230427@175124.4047 smefaoufr6r9d3ppe1j4ro9jge Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230427@175124.4110 smefaoufr6r9d3ppe1j4ro9jge Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='85';
20230427@175124.4120 smefaoufr6r9d3ppe1j4ro9jge Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='85';
20230427@175124.4524 86u25pgq2dtbtsf06dmujfs19u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175124.4536 86u25pgq2dtbtsf06dmujfs19u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175124.4548 86u25pgq2dtbtsf06dmujfs19u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='86';
20230427@175124.4586 86u25pgq2dtbtsf06dmujfs19u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='86';
20230427@175124.4596 86u25pgq2dtbtsf06dmujfs19u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='86';
20230427@175124.4607 86u25pgq2dtbtsf06dmujfs19u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='86';
20230427@175124.4617 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.4620 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175124.4634 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.4638 86u25pgq2dtbtsf06dmujfs19u Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20230427@175124.4711 86u25pgq2dtbtsf06dmujfs19u 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'
20230427@175124.4721 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='324.4902.00.1' and bi.lordem =1
20230427@175124.5056 86u25pgq2dtbtsf06dmujfs19u 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'
20230427@175124.5068 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='324.4906.00.1' and bi.lordem =2
20230427@175124.5395 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.5398 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175124.5412 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.5415 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175124.5425 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.5428 86u25pgq2dtbtsf06dmujfs19u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175124.5439 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175124.5453 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.5455 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 ~inactivo valor from cl where no = '101645' and estab = 0 order by inactivo desc
20230427@175124.6248 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.6291 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175124.6457 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.6460 86u25pgq2dtbtsf06dmujfs19u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175124.6472 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.6475 86u25pgq2dtbtsf06dmujfs19u Query : select szadrsstamp valor from szadrs where szadrsdesc='macorlux - electrodomÉsticos, s.a.'
20230427@175124.6561 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.6565 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from td where ndoc = 39
20230427@175124.6576 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175124.6588 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175124.6601 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175124.6616 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175124.6629 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175124.6633 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175124.6638 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175124.6678 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175124.6686 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175124.6692 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa72076644aa80ca2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.6697 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175124.6708 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175124.6712 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa72076644aa80ca2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.6717 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175124.6727 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175124.6738 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175124.6748 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa72076644aa80ca2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',39,101645,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175124.7041 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.7045 86u25pgq2dtbtsf06dmujfs19u Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230427@175124.7056 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20230427@175124.7068 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.7082 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.7091 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.7105 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.7110 86u25pgq2dtbtsf06dmujfs19u Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230427@175124.7120 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.7131 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.7144 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.7154 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa94618644aa80cae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa72076644aa80ca2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175124.7406 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.7422 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175124.7426 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa94618644aa80cae','aut644aa72076644aa80ca2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.7431 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.7446 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.7456 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.7474 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.7479 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.7490 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.7502 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.7512 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa11695644aa80cb6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa72076644aa80ca2' ,0,0 ,2,23.00,20000,?,?,?)
20230427@175124.7765 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.7782 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175124.7790 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa11695644aa80cb6','aut644aa72076644aa80ca2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175124.7796 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.7799 86u25pgq2dtbtsf06dmujfs19u Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230427@175124.7813 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20230427@175124.7827 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.7843 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175124.7856 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175124.7870 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175124.7876 86u25pgq2dtbtsf06dmujfs19u Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2200756100a'
20230427@175124.7881 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175124.7894 86u25pgq2dtbtsf06dmujfs19u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175124.7908 86u25pgq2dtbtsf06dmujfs19u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175124.7920 86u25pgq2dtbtsf06dmujfs19u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa73641644aa80cc0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644aa72076644aa80ca2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175124.8207 86u25pgq2dtbtsf06dmujfs19u Query : use flama_phc
20230427@175124.8211 86u25pgq2dtbtsf06dmujfs19u Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230427@175124.8224 86u25pgq2dtbtsf06dmujfs19u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='86';
20230427@175124.8236 86u25pgq2dtbtsf06dmujfs19u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='86';
20230427@175124.8814 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175124.8829 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175124.8844 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='87';
20230427@175124.8881 7r4ag9tnu6s0mb6ffg6dnm7797 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='87';
20230427@175124.8892 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='87';
20230427@175124.8903 7r4ag9tnu6s0mb6ffg6dnm7797 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='87';
20230427@175124.8913 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175124.8916 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175124.8940 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175124.8943 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5187
20230427@175124.9017 7r4ag9tnu6s0mb6ffg6dnm7797 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'
20230427@175124.9178 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.4840.00.1' and bi.lordem =1
20230427@175124.9500 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230427@175124.9513 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.1684.00.1' and bi.lordem =2
20230427@175124.9866 7r4ag9tnu6s0mb6ffg6dnm7797 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'
20230427@175125.2800 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.2221.00.1' and bi.lordem =3
20230427@175125.5220 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1518.00.1'
20230427@175125.6850 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.1518.00.1' and bi.lordem =4
20230427@175125.1014 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20230427@175125.1031 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 3 and bi.ref ='324.499.00.01' and bi.lordem =5
20230427@175125.1355 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1359 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175125.1374 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1377 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175125.1389 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1393 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175125.1406 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175125.1424 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1427 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230427@175125.1439 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1442 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175125.1455 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1458 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175125.1470 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1474 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - grucoga'
20230427@175125.1489 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.1493 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from td where ndoc = 39
20230427@175125.1504 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175125.1518 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175125.1534 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175125.1546 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175125.1581 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175125.1586 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175125.1594 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175125.1653 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175125.1665 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175125.1673 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa66146644aa80d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.1679 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175125.1694 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175125.1699 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa66146644aa80d26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.1704 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175125.1736 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175125.1751 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175125.1764 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa66146644aa80d26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',39,200500,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175125.2056 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.2060 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20230427@175125.2075 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20230427@175125.2226 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.2242 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.2254 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.2273 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.2279 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2101353200a'
20230427@175125.2292 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.2304 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.2317 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.2330 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa06857644aa80d38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa66146644aa80d26' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175125.2588 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.2604 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.2610 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa06857644aa80d38','aut644aa66146644aa80d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.2614 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.2618 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230427@175125.2631 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20230427@175125.2643 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.2659 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.2671 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.2683 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.2687 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230427@175125.2697 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.2707 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.2720 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.2730 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa23554644aa80d42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10 ,'aut644aa66146644aa80d26' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175125.2993 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.3009 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.3015 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa23554644aa80d42','aut644aa66146644aa80d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.3020 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.3023 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20230427@175125.3034 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20230427@175125.3185 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.3200 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.3232 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.3246 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.3250 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2101297200a'
20230427@175125.3262 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.3271 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.3284 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.3293 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa86034644aa80d4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut644aa66146644aa80d26' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230427@175125.3552 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.3567 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.3571 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa86034644aa80d4f','aut644aa66146644aa80d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.3576 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.3579 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select st.usalote valor from st where st.ref = '324.1518.00.1'
20230427@175125.3591 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1518.00.1'
20230427@175125.3745 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.3759 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.3770 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.3783 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.3789 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select sestamp valor from se where ref ='324.1518.00.1' and lote = '100820'
20230427@175125.3807 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.3819 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.3844 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.3856 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa95454644aa80d5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa66146644aa80d26' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175125.4136 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.4152 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.4157 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa95454644aa80d5d','aut644aa66146644aa80d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.4162 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.4165 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20230427@175125.4195 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20230427@175125.4206 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.4219 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.4229 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.4241 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.4246 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20230427@175125.4256 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.4266 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.4278 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.4287 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa13198644aa80d68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644aa66146644aa80d26' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230427@175125.4569 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.4583 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.4587 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa13198644aa80d68','aut644aa66146644aa80d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.4592 7r4ag9tnu6s0mb6ffg6dnm7797 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa66146644aa80d26','','wait',39,'ari17112337378,753000005')
20230427@175125.4608 7r4ag9tnu6s0mb6ffg6dnm7797 Query : use flama_phc
20230427@175125.4612 7r4ag9tnu6s0mb6ffg6dnm7797 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175125.4625 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='87';
20230427@175125.4648 7r4ag9tnu6s0mb6ffg6dnm7797 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='87';
20230427@175125.4658 7r4ag9tnu6s0mb6ffg6dnm7797 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='87';
20230427@175125.4668 7r4ag9tnu6s0mb6ffg6dnm7797 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='87';
20230427@175125.5055 m8ur0l27rgv7pm5jik7308v8ek Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175125.5068 m8ur0l27rgv7pm5jik7308v8ek Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175125.5083 m8ur0l27rgv7pm5jik7308v8ek Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='88';
20230427@175125.5121 m8ur0l27rgv7pm5jik7308v8ek Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='88';
20230427@175125.5132 m8ur0l27rgv7pm5jik7308v8ek Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='88';
20230427@175125.5143 m8ur0l27rgv7pm5jik7308v8ek Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='88';
20230427@175125.5153 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.5157 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175125.5176 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.5179 m8ur0l27rgv7pm5jik7308v8ek Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20230427@175125.5251 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1896.00.1'
20230427@175125.5407 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1896.00.1' and bi.lordem =1
20230427@175125.5732 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1896.00.1'
20230427@175125.5745 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1896.00.1' and bi.lordem =2
20230427@175125.6070 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20230427@175125.6082 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1803.00.1' and bi.lordem =3
20230427@175125.6405 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20230427@175125.6417 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 4 and bi.ref ='324.1803.00.1' and bi.lordem =4
20230427@175125.6758 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.6763 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175125.6777 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.6781 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175125.6792 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.6795 m8ur0l27rgv7pm5jik7308v8ek Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175125.6807 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175125.6824 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.6833 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 ~inactivo valor from cl where no = '102068' and estab = 0 order by inactivo desc
20230427@175125.6975 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.6979 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175125.6991 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.6994 m8ur0l27rgv7pm5jik7308v8ek Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175125.7008 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.7011 m8ur0l27rgv7pm5jik7308v8ek Query : select szadrsstamp valor from szadrs where szadrsdesc='magalhÃes & vinha, lda.'
20230427@175125.7025 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.7029 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from td where ndoc = 39
20230427@175125.7040 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175125.7053 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175125.7069 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175125.7081 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175125.7095 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175125.7100 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175125.7107 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175125.7150 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175125.7160 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175125.7208 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa59785644aa80dad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.7417 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175125.8098 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175125.8103 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa59785644aa80dad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.8114 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175125.8127 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175125.8141 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175125.8151 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa59785644aa80dad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40,102068,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175125.8448 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.8452 m8ur0l27rgv7pm5jik7308v8ek Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20230427@175125.8464 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1896.00.1'
20230427@175125.8621 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.8635 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.8645 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.8658 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.8663 m8ur0l27rgv7pm5jik7308v8ek Query : select sestamp valor from se where ref ='324.1896.00.1' and lote = 'r2101190100a'
20230427@175125.8674 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.8684 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.8695 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.8706 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa67117644aa80dd4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11 ,'aut644aa59785644aa80dad' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175125.8970 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.8985 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.8989 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa67117644aa80dd4','aut644aa59785644aa80dad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.8994 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.8997 m8ur0l27rgv7pm5jik7308v8ek Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20230427@175125.9007 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1896.00.1'
20230427@175125.9019 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.9031 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.9041 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.9053 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.9057 m8ur0l27rgv7pm5jik7308v8ek Query : select sestamp valor from se where ref ='324.1896.00.1' and lote = 'r2101190100a'
20230427@175125.9068 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.9077 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.9089 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.9098 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa80941644aa80ddd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa59785644aa80dad' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175125.9364 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.9379 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.9383 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa80941644aa80ddd','aut644aa59785644aa80dad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.9387 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.9390 m8ur0l27rgv7pm5jik7308v8ek Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20230427@175125.9400 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20230427@175125.9411 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.9424 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.9434 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.9445 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.9449 m8ur0l27rgv7pm5jik7308v8ek Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2200669200a'
20230427@175125.9459 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.9468 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.9479 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.9489 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa94685644aa80de7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',34 ,'aut644aa59785644aa80dad' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230427@175125.9763 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.9781 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175125.9785 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa94685644aa80de7','aut644aa59785644aa80dad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175125.9789 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175125.9792 m8ur0l27rgv7pm5jik7308v8ek Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20230427@175125.9802 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20230427@175125.9813 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.9825 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175125.9834 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175125.9846 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175125.9850 m8ur0l27rgv7pm5jik7308v8ek Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2200669200a'
20230427@175125.9859 m8ur0l27rgv7pm5jik7308v8ek Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175125.9869 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175125.9881 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175125.9890 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa99954644aa80df0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644aa59785644aa80dad' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175126.1540 m8ur0l27rgv7pm5jik7308v8ek Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.1690 m8ur0l27rgv7pm5jik7308v8ek Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175126.1740 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa99954644aa80df0','aut644aa59785644aa80dad' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.1790 m8ur0l27rgv7pm5jik7308v8ek Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa59785644aa80dad','','wait',39,'ari17112337378,753000005')
20230427@175126.1960 m8ur0l27rgv7pm5jik7308v8ek Query : use flama_phc
20230427@175126.1990 m8ur0l27rgv7pm5jik7308v8ek Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175126.2110 m8ur0l27rgv7pm5jik7308v8ek Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='88';
20230427@175126.2210 m8ur0l27rgv7pm5jik7308v8ek Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='88';
20230427@175126.2300 m8ur0l27rgv7pm5jik7308v8ek Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='88';
20230427@175126.2390 m8ur0l27rgv7pm5jik7308v8ek Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='88';
20230427@175126.5920 857qvulq6a6igu90km9nn5dhuq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175126.6050 857qvulq6a6igu90km9nn5dhuq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175126.6180 857qvulq6a6igu90km9nn5dhuq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='89';
20230427@175126.6530 857qvulq6a6igu90km9nn5dhuq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='89';
20230427@175126.6630 857qvulq6a6igu90km9nn5dhuq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='89';
20230427@175126.6740 857qvulq6a6igu90km9nn5dhuq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='89';
20230427@175126.6830 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.6870 857qvulq6a6igu90km9nn5dhuq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175126.6980 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.7010 857qvulq6a6igu90km9nn5dhuq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4801
20230427@175126.7830 857qvulq6a6igu90km9nn5dhuq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230427@175126.9330 857qvulq6a6igu90km9nn5dhuq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1642.00.1' and bi.lordem =1
20230427@175126.1246 857qvulq6a6igu90km9nn5dhuq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230427@175126.1397 857qvulq6a6igu90km9nn5dhuq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.1690.00.1' and bi.lordem =2
20230427@175126.1715 857qvulq6a6igu90km9nn5dhuq 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'
20230427@175126.2659 857qvulq6a6igu90km9nn5dhuq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 5 and bi.ref ='324.2066.00.1' and bi.lordem =3
20230427@175126.2981 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.2986 857qvulq6a6igu90km9nn5dhuq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175126.3001 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3005 857qvulq6a6igu90km9nn5dhuq Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175126.3016 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3020 857qvulq6a6igu90km9nn5dhuq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175126.3032 857qvulq6a6igu90km9nn5dhuq Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175126.3047 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3050 857qvulq6a6igu90km9nn5dhuq Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20230427@175126.3154 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3157 857qvulq6a6igu90km9nn5dhuq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175126.3169 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3172 857qvulq6a6igu90km9nn5dhuq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175126.3183 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3186 857qvulq6a6igu90km9nn5dhuq Query : select szadrsstamp valor from szadrs where szadrsdesc='102253 - armazem central'
20230427@175126.3200 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3203 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from td where ndoc = 39
20230427@175126.3214 857qvulq6a6igu90km9nn5dhuq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175126.3225 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175126.3238 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175126.3248 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175126.3261 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175126.3265 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175126.3271 857qvulq6a6igu90km9nn5dhuq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175126.3312 857qvulq6a6igu90km9nn5dhuq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175126.3323 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175126.3329 857qvulq6a6igu90km9nn5dhuq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa54217644aa80e4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.3335 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175126.3359 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175126.3364 857qvulq6a6igu90km9nn5dhuq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa54217644aa80e4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.3368 857qvulq6a6igu90km9nn5dhuq Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175126.3380 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175126.3393 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175126.3404 857qvulq6a6igu90km9nn5dhuq Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa54217644aa80e4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',41,102253,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175126.3691 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.3696 857qvulq6a6igu90km9nn5dhuq Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230427@175126.3708 857qvulq6a6igu90km9nn5dhuq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.1'
20230427@175126.3854 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.3869 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175126.3880 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.3894 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175126.3899 857qvulq6a6igu90km9nn5dhuq Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230427@175126.3911 857qvulq6a6igu90km9nn5dhuq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175126.3923 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.3937 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175126.3948 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa33067644aa80e5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11 ,'aut644aa54217644aa80e4f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175126.4222 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.4238 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175126.4242 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa33067644aa80e5f','aut644aa54217644aa80e4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.4247 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.4251 857qvulq6a6igu90km9nn5dhuq Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230427@175126.4264 857qvulq6a6igu90km9nn5dhuq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1690.00.1'
20230427@175126.4414 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.4428 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175126.4439 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.4452 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175126.4456 857qvulq6a6igu90km9nn5dhuq Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100755200a'
20230427@175126.4469 857qvulq6a6igu90km9nn5dhuq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175126.4480 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.4495 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175126.4507 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa33301644aa80e6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644aa54217644aa80e4f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175126.4751 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.4766 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175126.4775 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa33301644aa80e6d','aut644aa54217644aa80e4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.4780 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.4795 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175126.4807 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.4819 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175126.4823 857qvulq6a6igu90km9nn5dhuq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175126.4833 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.4845 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175126.4855 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa49040644aa80e76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa54217644aa80e4f' ,0,0 ,2,23.00,30000,?,?,?)
20230427@175126.5099 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.5115 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175126.5122 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa49040644aa80e76','aut644aa54217644aa80e4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.5127 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.5131 857qvulq6a6igu90km9nn5dhuq Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20230427@175126.5142 857qvulq6a6igu90km9nn5dhuq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20230427@175126.5292 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.5307 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175126.5318 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.5331 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175126.5336 857qvulq6a6igu90km9nn5dhuq Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2100893200a'
20230427@175126.5348 857qvulq6a6igu90km9nn5dhuq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175126.5358 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.5371 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175126.5382 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa71885644aa80e82',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644aa54217644aa80e4f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230427@175126.5630 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.5645 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175126.5649 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa71885644aa80e82','aut644aa54217644aa80e4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.5655 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.5669 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175126.5679 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.5692 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175126.5697 857qvulq6a6igu90km9nn5dhuq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175126.5708 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175126.5722 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175126.5733 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa52043644aa80e8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa54217644aa80e4f' ,0,0 ,2,23.00,60000,?,?,?)
20230427@175126.5972 857qvulq6a6igu90km9nn5dhuq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175126.5989 857qvulq6a6igu90km9nn5dhuq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175126.5993 857qvulq6a6igu90km9nn5dhuq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa52043644aa80e8b','aut644aa54217644aa80e4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175126.5998 857qvulq6a6igu90km9nn5dhuq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa54217644aa80e4f','','wait',39,'ari17112337378,753000005')
20230427@175126.6014 857qvulq6a6igu90km9nn5dhuq Query : use flama_phc
20230427@175126.6017 857qvulq6a6igu90km9nn5dhuq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175126.6031 857qvulq6a6igu90km9nn5dhuq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='89';
20230427@175126.6042 857qvulq6a6igu90km9nn5dhuq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='89';
20230427@175126.6053 857qvulq6a6igu90km9nn5dhuq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='89';
20230427@175126.6063 857qvulq6a6igu90km9nn5dhuq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='89';
20230427@175126.6425 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175126.6438 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175126.6453 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='90';
20230427@175126.6489 l47vnfa5ehvj9gadjjhbfqo0q2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='90';
20230427@175126.6500 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='90';
20230427@175126.6511 l47vnfa5ehvj9gadjjhbfqo0q2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='90';
20230427@175126.6521 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175126.6524 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175126.6536 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175126.6539 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2459
20230427@175126.6572 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175126.6585 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.4840.00.1' and bi.lordem =1
20230427@175126.6961 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175126.7119 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.1646.00.1' and bi.lordem =2
20230427@175126.7508 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1613.00.1'
20230427@175126.7679 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.1613.00.1' and bi.lordem =3
20230427@175126.8719 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20230427@175126.8894 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.1684.00.1' and bi.lordem =4
20230427@175126.9246 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175126.9258 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='304.421.00.04' and bi.lordem =5
20230427@175126.9574 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175126.9585 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.2221.00.1' and bi.lordem =6
20230427@175126.9908 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20230427@175127.5700 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.4421.00.1' and bi.lordem =7
20230427@175127.3790 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20230427@175127.3910 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.719.00.01' and bi.lordem =8
20230427@175127.8010 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175127.9650 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.736.00.01' and bi.lordem =9
20230427@175127.1293 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1518.00.1'
20230427@175127.1306 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.1518.00.1' and bi.lordem =10
20230427@175127.1631 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1547.00.1'
20230427@175127.1801 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.1547.00.1' and bi.lordem =11
20230427@175127.2305 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175127.2382 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.1705.00.1' and bi.lordem =12
20230427@175127.2707 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175127.2857 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.4963.00.1' and bi.lordem =13
20230427@175127.3172 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175127.3338 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.4964.00.1' and bi.lordem =14
20230427@175127.3655 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20230427@175127.3669 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.499.00.01' and bi.lordem =15
20230427@175127.4191 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20230427@175127.4354 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.948.00.01' and bi.lordem =16
20230427@175127.4683 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175127.4836 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.958.00.01' and bi.lordem =17
20230427@175127.5172 l47vnfa5ehvj9gadjjhbfqo0q2 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'
20230427@175127.5342 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 2 and bi.ref ='324.969.00.01' and bi.lordem =18
20230427@175127.5684 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.5687 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175127.5701 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.5704 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175127.5714 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.5717 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175127.5727 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175127.6011 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.6015 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230427@175127.6029 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.6032 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175127.6044 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.6048 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175127.6059 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.6062 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a.'
20230427@175127.6075 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.6079 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from td where ndoc = 39
20230427@175127.6089 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175127.6102 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175127.6116 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175127.6127 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175127.6140 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175127.6145 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175127.6151 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175127.6191 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175127.6200 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175127.6206 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175127.6210 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175127.6222 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175127.6225 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa03320644aa80f96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175127.6229 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175127.6239 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175127.6250 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175127.6259 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa03320644aa80f96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42,200500,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175127.6575 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.6579 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20230427@175127.6589 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20230427@175127.6604 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.6617 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175127.6626 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.6641 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175127.6645 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2101353200a'
20230427@175127.6662 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175127.6675 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.6686 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175127.6695 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa47131644aa80fa2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175127.6941 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.6956 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175127.6960 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa47131644aa80fa2','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175127.6965 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.6968 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20230427@175127.6980 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20230427@175127.8028 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.8042 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175127.8051 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.8064 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175127.8068 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2101259200a'
20230427@175127.8078 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175127.8087 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.8217 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175127.8371 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa90735644aa80fc5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175127.8630 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.8644 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175127.8648 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa90735644aa80fc5','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175127.8652 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.8655 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.1613.00.1'
20230427@175127.8666 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1613.00.1'
20230427@175127.8813 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.8825 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175127.8834 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.8847 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175127.8851 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.1613.00.1' and lote = 'r2100539100a'
20230427@175127.8861 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175127.8870 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.8881 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175127.8890 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa07782644aa80fd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230427@175127.9135 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.9149 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175127.9153 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa07782644aa80fd8','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175127.9157 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.9160 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20230427@175127.9170 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20230427@175127.9180 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.9191 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175127.9201 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.9212 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175127.9216 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2100682100a'
20230427@175127.9227 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175127.9240 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.9256 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175127.9266 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa11700644aa80fe1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',120 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230427@175127.9551 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.9578 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175127.9582 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa11700644aa80fe1','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175127.9586 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175127.9589 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230427@175127.9599 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20230427@175127.9609 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.9622 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175127.9631 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.9642 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175127.9647 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230427@175127.9656 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175127.9665 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.9683 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175127.9696 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa28556644aa80feb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230427@175127.9953 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175127.9968 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175127.9972 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa28556644aa80feb','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175127.9976 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175127.9988 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175127.9998 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.9000 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.1200 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.2200 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.3300 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.4200 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa82656644aa81000',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,60000,?,?,?)
20230427@175128.3120 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.3280 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175128.3330 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa82656644aa81000','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.3380 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175128.3420 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20230427@175128.3560 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20230427@175128.3690 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.3850 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175128.3960 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.4090 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.4140 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2101297200a'
20230427@175128.4240 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.4340 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.4550 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.4700 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa42296644aa8100a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230427@175128.7390 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.7530 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175128.7580 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa42296644aa8100a','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.7660 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175128.7690 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20230427@175128.7800 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20230427@175128.9350 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.9530 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175128.9650 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.9810 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.9870 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20230427@175128.1000 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.1010 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.1026 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.1036 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa49231644aa81018',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',81 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20230427@175128.1316 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.1331 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175128.1335 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa49231644aa81018','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.1347 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175128.1350 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20230427@175128.1360 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.719.00.01'
20230427@175128.1372 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.1384 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175128.1394 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.1407 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.1411 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2100602100a'
20230427@175128.1420 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.1429 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.1441 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.1450 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa51420644aa81022',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20230427@175128.1717 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.1737 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175128.1741 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa51420644aa81022','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.1746 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.1758 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175128.1768 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.1779 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.1783 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.1792 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.1803 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.1813 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644aa36783644aa8102b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,110000,?,?,?)
20230427@175128.2142 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.2157 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175128.2162 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa36783644aa8102b','aut644aa03320644aa80f96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.2166 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175128.2169 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20230427@175128.2179 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20230427@175128.2343 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.2357 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175128.2367 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.2379 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.2382 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select sestamp valor from se where ref ='324.736.00.01' and lote = '12/20'
20230427@175128.2388 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.2397 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.2409 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.2419 l47vnfa5ehvj9gadjjhbfqo0q2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa92673644aa8103a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644aa03320644aa80f96' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20230427@175128.2673 l47vnfa5ehvj9gadjjhbfqo0q2 Query : use flama_phc
20230427@175128.2677 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230427@175128.2690 l47vnfa5ehvj9gadjjhbfqo0q2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='90';
20230427@175128.2703 l47vnfa5ehvj9gadjjhbfqo0q2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='90';
20230427@175128.3766 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230427@175128.3782 u45uvnsp9kl5c2tecv7jqcv59h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230427@175128.3795 u45uvnsp9kl5c2tecv7jqcv59h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='91';
20230427@175128.3835 u45uvnsp9kl5c2tecv7jqcv59h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='91';
20230427@175128.3846 u45uvnsp9kl5c2tecv7jqcv59h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='91';
20230427@175128.3856 u45uvnsp9kl5c2tecv7jqcv59h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='91';
20230427@175128.3868 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.3871 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@175128.3883 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.3886 u45uvnsp9kl5c2tecv7jqcv59h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230427@175128.3918 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1534.00.1'
20230427@175128.4074 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 4 and bi.ref ='324.1534.00.1' and bi.lordem =1
20230427@175128.4391 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1528.00.1'
20230427@175128.4545 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2012 and bo.obrano = 4 and bi.ref ='324.1528.00.1' and bi.lordem =2
20230427@175128.4949 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.4954 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230427@175128.4966 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.4969 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 1 valor from td where td.ndoc = 39
20230427@175128.4980 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.4983 u45uvnsp9kl5c2tecv7jqcv59h Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@175128.4993 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230427@175128.5009 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.5012 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230427@175128.5022 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.5025 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230427@175128.5039 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.5042 u45uvnsp9kl5c2tecv7jqcv59h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@175128.5053 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.5055 u45uvnsp9kl5c2tecv7jqcv59h Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230427@175128.5067 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.5070 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from td where ndoc = 39
20230427@175128.5080 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230427@175128.5091 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175128.5105 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230427@175128.5115 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175128.5129 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230427@175128.5133 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175128.5139 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175128.5179 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230427@175128.5189 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230427@175128.5194 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa29861644aa8107d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.5200 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230427@175128.5212 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230427@175128.5216 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa29861644aa8107d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.5221 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 fno valor from wsft039data order by fno desc
20230427@175128.5231 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230427@175128.5242 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230427@175128.5252 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644aa29861644aa8107d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42,100810,0,'2023-04-27',39,'euro',0,0,2023 ,'20230427','1821',?,?,?)
20230427@175128.5558 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.5563 u45uvnsp9kl5c2tecv7jqcv59h Query : select st.usalote valor from st where st.ref = '324.1534.00.1'
20230427@175128.5576 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1534.00.1'
20230427@175128.5732 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.5746 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175128.5756 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.5769 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.5773 u45uvnsp9kl5c2tecv7jqcv59h Query : select sestamp valor from se where ref ='324.1534.00.1' and lote = 'r2001620100a'
20230427@175128.5784 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.5794 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.5807 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.5818 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa39744644aa8108d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644aa29861644aa8107d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230427@175128.6082 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.6099 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175128.6104 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa39744644aa8108d','aut644aa29861644aa8107d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.6108 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.6112 u45uvnsp9kl5c2tecv7jqcv59h Query : select st.usalote valor from st where st.ref = '324.1528.00.1'
20230427@175128.6129 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1528.00.1'
20230427@175128.6283 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.6296 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230427@175128.6307 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.6319 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230427@175128.6323 u45uvnsp9kl5c2tecv7jqcv59h Query : select sestamp valor from se where ref ='324.1528.00.1' and lote = 'r2200263100a'
20230427@175128.6333 u45uvnsp9kl5c2tecv7jqcv59h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@175128.6345 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230427@175128.6357 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230427@175128.6368 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644aa13516644aa8109a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644aa29861644aa8107d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230427@175128.6620 u45uvnsp9kl5c2tecv7jqcv59h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230427@175128.6635 u45uvnsp9kl5c2tecv7jqcv59h Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230427@175128.6640 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644aa13516644aa8109a','aut644aa29861644aa8107d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230427@175128.6645 u45uvnsp9kl5c2tecv7jqcv59h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644aa29861644aa8107d','','wait',39,'ari17112337378,753000005')
20230427@175128.6663 u45uvnsp9kl5c2tecv7jqcv59h Query : use flama_phc
20230427@175128.6666 u45uvnsp9kl5c2tecv7jqcv59h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230427@175128.6677 u45uvnsp9kl5c2tecv7jqcv59h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='91';
20230427@175128.6689 u45uvnsp9kl5c2tecv7jqcv59h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='91';
20230427@175128.6739 u45uvnsp9kl5c2tecv7jqcv59h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='91';
20230427@175128.6779 u45uvnsp9kl5c2tecv7jqcv59h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='91';

20230427@192127.1229 9kapvg5k5mlfn0oeqfnbv0hlra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='92';
20230427@192127.1241 9kapvg5k5mlfn0oeqfnbv0hlra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='92';
20230427@192127.1250 9kapvg5k5mlfn0oeqfnbv0hlra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='92';
20230427@192127.1260 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.1263 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230427@192127.1275 9kapvg5k5mlfn0oeqfnbv0hlra Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20230427@192127.1352 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1816.00.1'
20230427@192127.1483 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.1487 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 1 valor from ts where ts.ndos = 5
20230427@192127.1564 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.1567 9kapvg5k5mlfn0oeqfnbv0hlra Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230427@192127.1577 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20230427@192127.2217 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.2221 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20230427@192127.2317 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.2320 9kapvg5k5mlfn0oeqfnbv0hlra Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230427@192127.2331 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.2334 9kapvg5k5mlfn0oeqfnbv0hlra Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20230427@192127.2346 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.2349 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from ts where ndos = 5
20230427@192127.2444 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230427@192127.2743 9kapvg5k5mlfn0oeqfnbv0hlra Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20230427@192127.2786 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230427@192127.3043 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230427@192127.3297 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20230427@192127.3428 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230427@192127.3546 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230427@192127.3637 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.3641 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20230427@192127.3721 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230427@192127.3728 9kapvg5k5mlfn0oeqfnbv0hlra Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644ab55931644abd2758',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20230427@192127.3862 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230427@192127.3869 9kapvg5k5mlfn0oeqfnbv0hlra Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut644ab55931644abd2758','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20230427','19:51',?,?)
20230427@192127.4202 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230427@192127.5132 9kapvg5k5mlfn0oeqfnbv0hlra Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20230427@192127.5176 9kapvg5k5mlfn0oeqfnbv0hlra Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut644ab55931644abd2758','trf entre armazéns a','2023-04-27',5,158,?,?,?,?,?,?,?,?,2023, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20230427@192127.5731 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.5735 9kapvg5k5mlfn0oeqfnbv0hlra Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230427@192127.5747 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20230427@192127.5904 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230427@192127.6192 9kapvg5k5mlfn0oeqfnbv0hlra Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230427@192127.6240 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230427@192127.6496 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230427@192127.6509 9kapvg5k5mlfn0oeqfnbv0hlra Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230427@192127.6522 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230427@192127.6528 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230427@192127.6538 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230427@192127.6550 9kapvg5k5mlfn0oeqfnbv0hlra Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230427@192127.6585 9kapvg5k5mlfn0oeqfnbv0hlra Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut644ab03821644abd279f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut644ab55931644abd2758'
20230427@192127.7084 9kapvg5k5mlfn0oeqfnbv0hlra Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230427@192127.7092 9kapvg5k5mlfn0oeqfnbv0hlra Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut644ab03821644abd279f','aut644ab55931644abd2758',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut644ab55931644abd2758'
20230427@192127.7326 9kapvg5k5mlfn0oeqfnbv0hlra Query : use flama_phc
20230427@192127.7330 9kapvg5k5mlfn0oeqfnbv0hlra Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -150
20230427@192127.7368 9kapvg5k5mlfn0oeqfnbv0hlra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='92';
20230427@192127.7380 9kapvg5k5mlfn0oeqfnbv0hlra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='92';

20230428@170617.4686 756tv3849cpmrtjjn5qgs85j17 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='93';
20230428@170617.4709 756tv3849cpmrtjjn5qgs85j17 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='93';
20230428@170617.4723 756tv3849cpmrtjjn5qgs85j17 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='93';
20230428@170617.4733 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.4736 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170617.4799 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.4803 756tv3849cpmrtjjn5qgs85j17 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230428@170617.4876 756tv3849cpmrtjjn5qgs85j17 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'
20230428@170617.4990 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 8 and bi.ref ='324.4902.00.1' and bi.lordem =1
20230428@170617.5341 756tv3849cpmrtjjn5qgs85j17 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'
20230428@170617.5451 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 8 and bi.ref ='324.4906.00.1' and bi.lordem =2
20230428@170617.5803 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.5807 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170617.5953 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.5957 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170617.6033 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.6036 756tv3849cpmrtjjn5qgs85j17 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170617.6075 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230428@170617.6174 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.6178 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230428@170617.6264 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.6268 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170617.6331 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.6335 756tv3849cpmrtjjn5qgs85j17 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170617.6376 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.6380 756tv3849cpmrtjjn5qgs85j17 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230428@170617.6394 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170617.6397 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from td where ndoc = 39
20230428@170617.6475 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170617.6533 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170617.6877 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170617.6924 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170617.7238 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170617.7266 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170617.7681 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170617.8190 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170617.8602 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170617.8686 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be38630644beef9bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170618.2059 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170618.2075 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170618.2101 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be38630644beef9bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170618.2612 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170618.2701 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170618.2715 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170618.2751 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be38630644beef9bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',43,100810,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170618.4090 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170618.4121 756tv3849cpmrtjjn5qgs85j17 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20230428@170618.4411 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20230428@170618.4529 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.4825 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170618.4866 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170618.5517 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170618.5703 756tv3849cpmrtjjn5qgs85j17 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2200756100a'
20230428@170618.6149 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170618.6189 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.6203 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170618.6231 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be00576644beefa97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',200 ,'aut644be38630644beef9bb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170618.6803 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170618.6819 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170618.6842 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be00576644beefa97','aut644be38630644beef9bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170618.6930 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.6945 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170618.6954 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170618.7008 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170618.7012 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170618.7022 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.7081 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170618.7093 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be22438644beefaab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be38630644beef9bb' ,0,0 ,2,23.00,20000,?,?,?)
20230428@170618.7368 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170618.7384 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170618.7389 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be22438644beefaab','aut644be38630644beef9bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170618.7393 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170618.7396 756tv3849cpmrtjjn5qgs85j17 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20230428@170618.7408 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20230428@170618.7546 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.7559 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170618.7569 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170618.7581 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170618.7585 756tv3849cpmrtjjn5qgs85j17 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2200756100a'
20230428@170618.7590 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170618.7600 756tv3849cpmrtjjn5qgs85j17 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.7612 756tv3849cpmrtjjn5qgs85j17 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170618.7621 756tv3849cpmrtjjn5qgs85j17 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be08342644beefab9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32 ,'aut644be38630644beef9bb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230428@170618.7902 756tv3849cpmrtjjn5qgs85j17 Query : use flama_phc
20230428@170618.7906 756tv3849cpmrtjjn5qgs85j17 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230428@170618.7968 756tv3849cpmrtjjn5qgs85j17 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='93';
20230428@170618.7980 756tv3849cpmrtjjn5qgs85j17 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='93';
20230428@170618.8308 087p6i81vk50vlf7b8uba4aa18 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230428@170618.8324 087p6i81vk50vlf7b8uba4aa18 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230428@170618.8338 087p6i81vk50vlf7b8uba4aa18 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='94';
20230428@170618.8383 087p6i81vk50vlf7b8uba4aa18 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='94';
20230428@170618.8395 087p6i81vk50vlf7b8uba4aa18 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='94';
20230428@170618.8405 087p6i81vk50vlf7b8uba4aa18 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='94';
20230428@170618.8416 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.8419 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230428@170618.8431 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.8434 087p6i81vk50vlf7b8uba4aa18 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20230428@170618.8502 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20230428@170618.8598 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2011 and bo.obrano = 2 and bi.ref ='324.1824.00.1' and bi.lordem =1
20230428@170618.8939 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.8943 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230428@170618.8956 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.8959 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 1 valor from td where td.ndoc = 39
20230428@170618.8969 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.8972 087p6i81vk50vlf7b8uba4aa18 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230428@170618.8983 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20230428@170618.9006 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.9009 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20230428@170618.9094 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.9097 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230428@170618.9108 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.9111 087p6i81vk50vlf7b8uba4aa18 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230428@170618.9122 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.9125 087p6i81vk50vlf7b8uba4aa18 Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20230428@170618.9138 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.9141 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from td where ndoc = 39
20230428@170618.9150 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230428@170618.9162 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170618.9177 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230428@170618.9187 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170618.9201 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230428@170618.9207 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170618.9214 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170618.9259 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230428@170618.9269 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230428@170618.9275 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be40879644beefae0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170618.9288 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230428@170618.9302 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230428@170618.9307 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be40879644beefae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170618.9331 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 fno valor from wsft039data order by fno desc
20230428@170618.9342 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230428@170618.9356 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230428@170618.9366 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,encomenda ) values ('aut644be40879644beefae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',43,101846,0,'2023-04-28',39,'euro',0,0,2023 ,'20230428','1736',?,?,?)
20230428@170618.9673 087p6i81vk50vlf7b8uba4aa18 Query : use flama_phc
20230428@170618.9678 087p6i81vk50vlf7b8uba4aa18 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230428@170618.9690 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20230428@170618.9801 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.9816 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170618.9828 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170618.9841 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170618.9846 087p6i81vk50vlf7b8uba4aa18 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230428@170618.9877 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170618.9887 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170618.9901 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170618.9929 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644be14577644beefaf1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644be40879644beefae0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230428@170619.2270 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.2420 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170619.2460 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be14577644beefaf1','aut644be40879644beefae0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230428@170619.2570 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.2700 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230428@170619.2790 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.2900 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230428@170619.2940 087p6i81vk50vlf7b8uba4aa18 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230428@170619.3060 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230428@170619.3250 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230428@170619.3360 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644be98663644beefb07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644be40879644beefae0' ,0,0 ,2,23.00,20000,?,?,?)
20230428@170619.6360 087p6i81vk50vlf7b8uba4aa18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230428@170619.6510 087p6i81vk50vlf7b8uba4aa18 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230428@170619.6560 087p6i81vk50vlf7b8uba4aa18 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644be98663644beefb07','aut644be40879644beefae0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
